Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
register_rules timer Details »»
register_rules timer
Version: 1.00, by shokmuzik.com shokmuzik.com is offline
Developer Last Online: Jul 2011 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.8 Rating:
Released: 04-20-2007 Last Update: 11-02-2007 Installs: 17
Template Edits Auto-Templates
 
No support by the author.

  • DESCRIPTION:
    This adds a timer to the register_rules.


  • HOW TO INSTALL:

    If you have the Template Modification System installed import the attached templateedits-registerrulestimer.xml. DONE!

    Otherwise follow these steps!

    1. OPEN TEMPLATE register_rules:
    2. FIND:
      HTML Code:
      <form action="register.php?do=register" method="post">
    3. REPLACE with:
      HTML Code:
      <form action="register.php?do=register" name="registerfield" method="post">
    4. FIND:
      HTML Code:
      <input type="submit" class="button" value="$vbphrase[register]" accesskey="s" />
    5. REPLACE with:
      HTML Code:
      <input type="submit" name="registertimer" class="button" value="$vbphrase[register]" accesskey="s" />
    6. FIND:
      HTML Code:
      $footer
    7. REPLACE with:
      HTML Code:
      $footer
      
      <script type="text/javascript">
      <!--
      var secs = 10;var wait = secs * 1000;document.registerfield.registertimer.disabled=true;for(i=1;i<=secs;i++) {window.setTimeout("update(" + i + ")", i * 1000);}window.setTimeout("timer()", wait);function update(num) {if(num == (wait/1000)) {document.registerfield.registertimer.value = "$vbphrase[register]";}else {printnr = (wait/1000)-num;document.registerfield.registertimer.value = "$vbphrase[register](" + printnr + ")";}}function timer(){document.registerfield.registertimer.disabled=false;}
      //-->
      </script>



    DONE!

Show Your Support

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

Comments
  #2  
Old 04-21-2007, 03:53 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow this is cool, Will look into the mod
Reply With Quote
  #3  
Old 04-21-2007, 06:07 PM
elmati elmati is offline
 
Join Date: Mar 2007
Location: Argentina
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how much effective could be this?
Reply With Quote
  #4  
Old 04-21-2007, 06:41 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by elmati View Post
how much effective could be this?
It would cause a few people to actually read it.
Reply With Quote
  #5  
Old 04-21-2007, 06:45 PM
Mackenzie s Mackenzie s is offline
 
Join Date: Feb 2007
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice tweak. Very nice. I added my forum rules in the rule section, so now the new members will actually be forced to read it before registering. I set the time to 60 seconds, since they are rather long.

Thank you very much.
Reply With Quote
  #6  
Old 04-22-2007, 02:41 AM
elmati elmati is offline
 
Join Date: Mar 2007
Location: Argentina
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*clicks install

thx!
Reply With Quote
  #7  
Old 04-22-2007, 03:00 AM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOW i've been waiting for something like this... Where do you change the time limit or better yet how?
Reply With Quote
  #8  
Old 04-22-2007, 03:41 AM
shokmuzik.com shokmuzik.com is offline
 
Join Date: Apr 2007
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
$footer

<script type="text/javascript">
<!--
var secs = 10;var wait = secs * 1000;document.registerfield.registertimer.disabled=true;for(i=1;i<=secs;i++) {window.setTimeout("update(" + i + ")", i * 1000);}window.setTimeout("timer()", wait);function update(num) {if(num == (wait/1000)) {document.registerfield.registertimer.value = "$vbphrase[register]";}else {printnr = (wait/1000)-num;document.registerfield.registertimer.value = "$vbphrase[register](" + printnr + ")";}}function timer(){document.registerfield.registertimer.disabled=false;}
//-->
</script>
Reply With Quote
  #9  
Old 04-22-2007, 06:06 AM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice
/me rates 5
Reply With Quote
  #10  
Old 04-22-2007, 06:51 AM
Coux Coux is offline
 
Join Date: Mar 2007
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged..
Reply With Quote
Reply

Thread Tools

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 03:08 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.04699 seconds
  • Memory Usage 2,292KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_code
  • (6)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete