vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Anti-Spam Options - Register Rules Timer (https://vborg.vbsupport.ru/showthread.php?t=256026)

ForumsMods 12-27-2010 10:00 PM

Register Rules Timer
 
1 Attachment(s)
Register Rules Timer

Description:
This adds a timer to the Register Rules.

Installation:
  1. Import "product-register_rules_timer.xml" as a product, overwrite if it's already installed
Where to set option:
Settings-> Options-> User Registration Options-> Enable Register Rules Timer
Settings-> Options-> User Registration Options-> Register Rules Time

Languages:
- English

History:
28-12-10: v4.0 First Release

This hack is created for your use free of charge. No payment is requested. However, if you would like to donate money for the work I put in to this hack, a donation would show your appreciation.

OldSchoolDSL 12-28-2010 02:37 AM

Not 100% it could be a good idea to add a timer.

Anything that makes it harder to join.... Some members may type and read faster. Other's just will not read the rules no matter how much time they have.

I can see how this may help prevent spam bots though

OldSchoolDSL 12-28-2010 03:37 AM

Quote:

Originally Posted by OldSchoolDSL (Post 2139943)
Not 100% it could be a good idea to add a timer.

Anything that makes it harder to join.... Some members may type and read faster. Other's just will not read the rules no matter how much time they have.

I can see how this may help prevent spam bots though

Installed to help fight spam. But I did setup for 30 seconds, rather then the default 60.

4.1 PL2

Works. :)

Baf_Jams 12-28-2010 10:17 AM

Installed Thnx
I have left the default 60 secs in place cause it will take about that length of time to fill in the registration form :)

Modena 01-06-2012 10:59 AM

4.1.9, this is working, but it is causing js errors on other pages;

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)
Timestamp: Fri, 6 Jan 2012 11:58:22 UTC


Message: 'document.register.registertimer' is null or not an object
Line: 1984
Char: 5
Code: 0
URI: http://***.***.***/forums/forum.php



it seems the js function is included in all templates, why not just the regsister template?

Modena 01-06-2012 11:10 AM

I wrapped the js in an if to stop it whining;

var register_regex = new RegExp("register.php");
if(document.URL.match(register_regex))
{
// register_timer function here
}

Scyther 01-07-2012 12:14 PM

i like this.
Thanks, Marked installed


All times are GMT. The time now is 02:35 AM.

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.00979 seconds
  • Memory Usage 1,724KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete