Using a Captcha Mod with easyUCP

Forum_easyUCP_Desc

Using a Captcha Mod with easyUCP

Beitragvon jeepguy_1980 » 22. Aug 2007 05:51

Is there any anti-spam bot mod that will work with easyUCP? My forum is being attacked constantly and all of the captcha mods I have found edit large portions of the registration fields that have been commented out by the easyUCP mod.

One mod that I would really like to try is this one: http://www.phpbb.com/community/viewtopi ... &sk=t&sd=a

But I haven't found a single mod that doesn't interfere with easyUCP.


Thank you,

Lassen
jeepguy_1980
 
Beiträge: 13
Registriert: 19. Jul 2007 02:34

Beitragvon AmigaLink » 22. Aug 2007 07:30

Hello

I dont know the "Photo-Recognition Visual Confirmation" but you can install all CAPTCHA MODs to the easyUCP.
The registration fields that have been commented out are moved to an other place in the code. Few hires are easily changed but in particular its the same code. :)

By the way. Do you know my AVC?
Thats an powerfull CAPTCHA and very easy to install. :mrgreen:

Zugefügt nach 6 Minute(n):

I'll take a look at the "Photo-Recognition" now and there should be no problem to install. Possibly even together with my AVC.

Zugefügt nach weiteren 12 Minute(n):

Uff - the MOD shows 20 pictures. :shock:
Dateianhänge
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon jeepguy_1980 » 22. Aug 2007 23:34

I looked at your mod, and it too seemed to affect the commented lines. That was before I realized that the lines had been moved.

The reason the photo recognition mod uses so many pictures is that it asks the user to select all of the pictures from a specific category, rather than force the user to decipher the difficult text captchas.

I just have way too many spammers attacking my forum, so I'll look at your AVC mod too.
jeepguy_1980
 
Beiträge: 13
Registriert: 19. Jul 2007 02:34

Beitragvon AmigaLink » 23. Aug 2007 00:11

Yes I have understood which the MOD does. But 20 pictures seems to be me a little much. :roll:

I just have way too many spammers attacking my forum, so I'll look at your AVC mod too.
With yours registration you saw the AVC in action. ;)
And I have no spam here. :twisted:

The Photo-Recognition is a nice idea. I only find 20 pictures really exaggerated!

Zugefügt nach 3 Minute(n):

Ah - Here is a code to define how much pictures should shown. 8)
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon jeepguy_1980 » 23. Aug 2007 00:17

You're right. I looked at yours again and it's not bad. I'll give it a try and see how well it works.

With either mod (AVC or Photo Recognition) you need to replace this
Code: Alles auswählen
      // Generate the required confirmation code
      // NB 0 (zero) could get confused with O (the letter) so we make change it
      $code = dss_rand();
      $code = substr(str_replace('0', 'Z', strtoupper(base_convert($code, 16, 35))), 2, 6);


I am not sure what the equivalent code is in the easyUCP mod.

Should I try the Photo Recognition mod I also have to replace the following in (ucercp_register.php).
Code: Alles auswählen
      $confirm_image = '<img src="' . append_sid("profile.$phpEx?mode=confirm&amp;id=$confirm_id") . '" alt="" title="" />';
      $s_hidden_fields .= '<input type="hidden" name="confirm_id" value="' . $confirm_id . '" />';

      $template->assign_block_vars('switch_confirm', array());


What is the equivalent code for this?
jeepguy_1980
 
Beiträge: 13
Registriert: 19. Jul 2007 02:34

Beitragvon AmigaLink » 23. Aug 2007 11:51

The first code has no changes and is only moved by the easyUCP.

The second code looks like this:
Code: Alles auswählen
         $confirm_image = (@extension_loaded('zlib')) ? '<img src="' . append_sid("profile.$phpEx?mode=confirm&amp;id=$confirm_id") . '" alt="" title="" />' : '<img src="' . append_sid("profile.$phpEx?mode=confirm&amp;id=$confirm_id&amp;c=1") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&amp;id=$confirm_id&amp;c=2") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&amp;id=$confirm_id&amp;c=3") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&amp;id=$confirm_id&amp;c=4") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&amp;id=$confirm_id&amp;c=5") . '" alt="" title="" /><img src="' . append_sid("profile.$phpEx?mode=confirm&amp;id=$confirm_id&amp;c=6") . '" alt="" title="" />';
         $s_hidden_fields .= '<input type="hidden" name="confirm_id" value="' . $confirm_id . '" />';

         $template->assign_block_vars('switch_ucp_require.switch_confirm', array());
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon jeepguy_1980 » 23. Aug 2007 16:05

Are you sure the first code has only been moved? Because I cannot find it anywhere. Attached is a copy of my usercp_register.php
Dateianhänge
usercp_register.zip
(11.87 KiB) 1707-mal heruntergeladen
jeepguy_1980
 
Beiträge: 13
Registriert: 19. Jul 2007 02:34

Beitragvon AmigaLink » 23. Aug 2007 18:05

Oh you have an very old code at this place.
Take the attached file. It works perfect and you have no problems to install one of the both CAPCHA MODs. :)
Dateianhänge
fixed_usercp_register.zip
(11.84 KiB) 1714-mal heruntergeladen
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon jeepguy_1980 » 25. Aug 2007 00:46

Thanks.

That worked for AVC. It would not work for the Photo Recognition Mod. I got one spam bot already, but I had turned the settings down a bit so humans could read it.

I turned them back up and so far, no spam.
jeepguy_1980
 
Beiträge: 13
Registriert: 19. Jul 2007 02:34

Beitragvon AmigaLink » 25. Aug 2007 02:07

Use a translation tool to take a look at this -> http://www.amigalink.de/viewtopic.php?t=588

That is very helpfully by configure the AVC. :)
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW


Zurück zu easy UCP



Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 7 Gäste

cron