Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Is Bot: Registration Time Check Details »»
Is Bot: Registration Time Check
Version: 1.0.0, by calorie calorie is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Anti-Spam Options - Version: 3.6.8 Rating:
Released: 12-29-2006 Last Update: Never Installs: 735
Uses Plugins Template Edits
 
No support by the author.

This mod calculates the time it takes to go between these two pages:
  • /forum/register.php?do=register
  • /forum/register.php?do=addmember
The point is to try and prevent bots from registering at your forum when the time between the two pages is humanly impossible, assuming that humans actually take the time to complete the registration page.

Should a user be blocked from registering at your forum, an email will be sent to your vB webmasteremail address and the user will see the vB noregister phrase message, so no screenshot is necessary.

Download Now

File Type: zip isbot.zip (1.7 KB, 4054 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #342  
Old 08-07-2010, 07:18 PM
Fred. Fred. is offline
 
Join Date: Jul 2005
Location: Belgium
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
It works fine on vb 4 now.
ok, thanks
Reply With Quote
  #343  
Old 08-12-2010, 10:39 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just noticed something with this mod for vb 4. According to the instructions, we need to add this to the register template:

Code:
<input type="hidden" name="isbot_time1" value="$isbot_time1" />

But for vb 4 it would need to be:

Code:
<input type="hidden" name="isbot_time1" value="{vb:raw isbot_time1}" />

Do we needs to preRegister the isbot_time1 variable in the code for the register template?
Reply With Quote
  #344  
Old 08-16-2010, 10:54 AM
RonJH RonJH is offline
 
Join Date: Nov 2004
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
Try:

Code:
vbmail('yourname@yoursite.com', $isbot_subject, $isbot_message, true);

Replacing yourname@yoursite.com with your own email address.
That worked, thank you.
Reply With Quote
  #345  
Old 08-23-2010, 10:38 AM
skyyjet skyyjet is offline
 
Join Date: Aug 2007
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can we do something so that it shows spammers IP in email it sents to admin?
Reply With Quote
  #346  
Old 08-27-2010, 04:35 AM
SnakeV SnakeV is offline
 
Join Date: Jun 2008
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is possible to modify this plugin to work with newthread pages instead of register?
It should calculate the time between these pages:
newthread.php?do=newthread
newthread.php?do=postthread

I tried changing the plugin hook to newthread_form_start and newthread_form_complete but it don't work, any ideas?

Thanks
Reply With Quote
  #347  
Old 11-02-2010, 04:34 PM
aldamon aldamon is offline
 
Join Date: Oct 2001
Location: Durham, NC
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So reading this, is the mod v4.x compatible or not?

Quote:
Originally Posted by Boofo View Post
I just noticed something with this mod for vb 4. According to the instructions, we need to add this to the register template:

Code:
<input type="hidden" name="isbot_time1" value="$isbot_time1" />

But for vb 4 it would need to be:

Code:
<input type="hidden" name="isbot_time1" value="{vb:raw isbot_time1}" />

Do we needs to preRegister the isbot_time1 variable in the code for the register template?
Reply With Quote
  #348  
Old 12-04-2010, 03:09 PM
vinzphua vinzphua is offline
 
Join Date: Feb 2005
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The mod is NOT compatible with vb4 out of the box, but there is a few simple change you can make to make it work.

1. Install as instructed, except add this line to the register template instead:
PHP Code:
<input type="hidden" name="isbot_time1" value="{vb:raw isbot_time1}" /> 
2. Go to Admin CP -> Plugins & Products -> Plugin Manager.
3. Look for the register_form_complete hook for the isBot product and click Edit.
4. In the Plugin PHP Code text box, add the following line below the only line of code there.
PHP Code:
vB_Template::preRegister('register',array('isbot_time1' => $isbot_time1)); 
5. Click Save and you're done.

Now you just have to wait for a bot to come along to test it.
Reply With Quote
  #349  
Old 12-04-2010, 03:28 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vinzphua View Post
The mod is NOT compatible with vb4 out of the box, but there is a simple change you can make to make it work.

1. Install as instructed.
2. Go to Admin CP -> Plugins & Products -> Plugin Manager.
3. Look for the register_form_complete hook for the isBot product and click Edit.
4. In the Plugin PHP Code text box, add the following line below the only line of code there.
Code:
vB_Template::preRegister('register',array('isbot_time1' => $isbot_time1));
5. Click Save and you're done.

Now you just have to wait for a bot to come along to test it.
I added it to both hooks as I wasn't sure which one to add it to. It works but I'm not sure which hook is making it work.

You also need to do the value="{vb:raw isbot_time1}" in the template for vb 4.
Reply With Quote
  #350  
Old 12-05-2010, 01:35 PM
vinzphua vinzphua is offline
 
Join Date: Feb 2005
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
I added it to both hooks as I wasn't sure which one to add it to. It works but I'm not sure which hook is making it work.
Just the "register_form_complete" is enough.

Quote:
Originally Posted by Boofo View Post
You also need to do the value="{vb:raw isbot_time1}" in the template for vb 4.
You're right. I forgot to mention that. I've corrected my post above. Thanks.
Reply With Quote
  #351  
Old 12-06-2010, 02:02 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vinzphua View Post
Just the "register_form_complete" is enough.
I thought you had to pre-register the variable, to make it viable for that hook, if you used it in another hook, too. The pre-register stuff is still new to me.

Quote:
Originally Posted by vinzphua View Post
You're right. I forgot to mention that. I've corrected my post above. Thanks.
No problem.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:34 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05264 seconds
  • Memory Usage 2,349KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (2)bbcode_php
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete