Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Minimum Registration Time V0.1.1 for Y2.5/2.5.2 (Read 4970 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Minimum Registration Time V0.1.1 for Y2.5/2.5.2
Dec 6th, 2012 at 3:17am
Print Post  
Minimum Registration Time

Description:
-----------------
This Mod will allow you to set a minimum amount of time which must be spent on the registration page. This should stop spambots which fill in the form in a time which is humanly impossible.

Screenshots:
------------------
Admin Center - Anti-spam Settings:


Error message:


Zip Package:
-----------------
minimum_registration_time_01.mod

Installation:
----------------
1) Modify YaBB files using BoardMod or manually.
2) Upload modified files to your server in ASCII mode.
3) Go to Admin Center - Antispam Settings and hit 'Save' to enable the feature.

Files to edit:
-----------------
Admin/ModList.pl
Admin/NewSettings.pl
Admin/Settings_Antispam.pl
Languages/English/Admin.lng
Languages/English/Register.lng
Sources/Register.pl

Mod History:
----------------
V0.1 - First release - 6th December 2012
V0.1.1 - Fixed problem with disabling the mod by setting a value of 0 - 10th December 2012
« Last Edit: Dec 10th, 2012 at 4:49pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
Derek Bullock
Full Member
***
Offline


I love Camp Oven Cooking

Posts: 184
Location: Brisbane
Joined: Nov 9th, 2007
Gender: Male
Re: Minimum Registration Time V0.1 for YaBB 2.5/2.5.2
Reply #1 - Dec 7th, 2012 at 7:27am
Print Post  
Installed. Will watch error log for results.

Thanks
  

Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Minimum Registration Time V0.1 for YaBB 2.5/2.5.2
Reply #2 - Dec 7th, 2012 at 2:16pm
Print Post  
Okay, thanks Derek! Smiley
  
Back to top
 
IP Logged
 
westwegoman
New Member
*
Offline


I Love YaBB 2!

Posts: 46
Location: Westwego, La.
Joined: Feb 10th, 2012
Gender: Male
Re: Minimum Registration Time V0.1 for YaBB 2.5/2.5.2
Reply #3 - Dec 10th, 2012 at 5:24am
Print Post  
Hey derek,
It does not appear to want to take a set point of "0" to disable.

When I put a value of 0 and then save, the value of 15 re-appears after saving.
  


If they're big enough to hook, they're big enough to cook!!!!
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Minimum Registration Time V0.1.1 for Y2.5/2.5.2
Reply #4 - Dec 10th, 2012 at 4:54pm
Print Post  
Oops! Thanks Merv!

Fixed now - V0.1.1 attached to the first post.

If you don't want to install the mod again, then in Settings_Antispam.pl find:

Code
Select All
$min_reg_time ||= 15; 


And replace with:

Code
Select All
$min_reg_time = 15 if $min_reg_time eq ''; 

  
Back to top
 
IP Logged
 
westwegoman
New Member
*
Offline


I Love YaBB 2!

Posts: 46
Location: Westwego, La.
Joined: Feb 10th, 2012
Gender: Male
Re: Minimum Registration Time V0.1.1 for Y2.5/2.5.2
Reply #5 - Dec 10th, 2012 at 5:23pm
Print Post  
That solved it. Thanks.
  


If they're big enough to hook, they're big enough to cook!!!!
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Minimum Registration Time V0.1.1 for Y2.5/2.5.2
Reply #6 - Dec 10th, 2012 at 5:27pm
Print Post  
Great! No problem. Smiley
  
Back to top
 
IP Logged
 
Derek Bullock
Full Member
***
Offline


I love Camp Oven Cooking

Posts: 184
Location: Brisbane
Joined: Nov 9th, 2007
Gender: Male
Re: Minimum Registration Time V0.1.1 for Y2.5/2.5.2
Reply #7 - Dec 13th, 2012 at 3:13pm
Print Post  
Updated.  Many errors in error log as below

Quote:
Your registration has been blocked due to security reasons. Please go back and try again.
  

Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Minimum Registration Time V0.1.1 for Y2.5/2.5.2
Reply #8 - Dec 13th, 2012 at 7:29pm
Print Post  
Thanks, Derek. I'm just hoping that they don't suss it out, but I think I can stop them from getting around it anyway - I'll have an update once I've done more testing.
  
Back to top
 
IP Logged
 
pyragony
Junior Member
**
Offline


abgeschlafft und ausgebufft

Posts: 85
Location: Eichenau
Joined: Apr 26th, 2008
Gender: Male
Re: Minimum Registration Time V0.1.1 for Y2.5/2.5.2
Reply #9 - Dec 18th, 2012 at 4:27pm
Print Post  
Code
Select All
<edit file>
Languages/German/Admin.lng
</edit file>

<search for>
);

%floodtxt = (
</search for>

<add before>
'min_reg_time' => 'Kürzeste Zeit in Sekunden, die auf der Registrierungsseite aufgewendet werden muss:<br /><span class="small">Dies soll Spambots, die automatisch das Anmeldeformular ausfüllen in einer Zeit, die menschlich unmöglich ist, stoppen:<br />Stellen Sie auf 0 zum deaktivieren.</span>',
</add before>

<edit file>
Languages/German/Register.lng
</edit file>

<search for>
'wrong_char' => 'Dieses Zeichen im Passwort ist ungültig',
</search for>

<add after>
'error_min_reg_time' => 'Ihre Registrierung wurde aus Sicherheitsgründen blockiert. Bitte gehen Sie zurück und versuchen Sie es erneut.',
</add after> 






Code
Select All
<edit file>
Languages/German_Du/Admin.lng
</edit file>

<search for>
);

%floodtxt = (
</search for>

<add before>
'min_reg_time' => 'Kürzeste Zeit in Sekunden, die auf der Registrierungsseite aufgewendet werden muss:<br /><span class="small">Dies soll Spambots, die automatisch das Anmeldeformular ausfüllen in einer Zeit, die menschlich unmöglich ist, stoppen:<br />Stelle auf 0 zum deaktivieren.</span>',
</add before>

<edit file>
Languages/German_Du/Register.lng
</edit file>

<search for>
'wrong_char' => 'Dieses Zeichen im Passwort ist ungültig',
</search for>

<add after>
'error_min_reg_time' => 'Deine Registrierung wurde aus Sicherheitsgründen blockiert. Bitte gehe zurück und versuche es erneut.',
</add after> 

  

Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Minimum Registration Time V0.1.1 for Y2.5/2.5.2
Reply #10 - Dec 18th, 2012 at 7:43pm
Print Post  
Thanks again, pyragony. I'll add them next time it needs updating.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint