vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Anti-Spam Options - Is Bot: Registration Time Check (https://vborg.vbsupport.ru/showthread.php?t=135094)

vinzphua 12-06-2010 04:30 AM

Quote:

Originally Posted by Boofo (Post 2129861)
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.

...

Pre-registering is NOT necessary for hooks.

Pre-registering is necessary if you want to write a PHP variable into a template, which is what the isBot code in the register_form_complete hook needs to do.

Pre-registering is NOT necessary for extracting values from the web form, which is the case for the other hook.

Boofo 12-06-2010 04:56 AM

Noted. Thanks.

Boofo 12-06-2010 01:48 PM

Well, it is working fine on 4.0.6:

Quote:

The following user name with email address was blocked by the Is Bot mod: Ebuthmarc - xxxxxxxxxxx@gmail.com (1 seconds transpired) The IP Address is: xxx.xx.xxx.xxxxx

VAG 01-08-2011 07:14 AM

Quote:

Originally Posted by vinzphua (Post 2129233)
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.


Where in the template must I add this line ?
<input type="hidden" name="isbot_time1" value="${vb:raw isbot_time1}" />

vinzphua 01-08-2011 02:29 PM

Follow the instructions that come with the mod. There is only one instruction that requires you to add a line into one of the templates. That would be the place.

VAG 01-09-2011 04:47 AM

Followed all instructions, but the bots keep registering. Driving me nuts.

Boofo 01-09-2011 05:36 AM

What do you have the time to check set at?

bplinson 01-09-2011 05:58 AM

Quote:

Originally Posted by VAG (Post 2146291)
Followed all instructions, but the bots keep registering. Driving me nuts.

Your problem is probably not bots. Humans are now doing the registering. Check this thread out....http://www.vbulletin.com/forum/showt...14#post2098014

VAG 01-09-2011 06:06 AM

Quote:

Originally Posted by Boofo (Post 2146306)
What do you have the time to check set at?

I kept it at default. 15 seconds.

Boofo 01-09-2011 08:35 AM

Try setting it higher. Start with 20 and see if that helps at all.


All times are GMT. The time now is 07:44 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01403 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete