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
  #12  
Old 04-22-2007, 08:39 AM
WhaLberg's Avatar
WhaLberg WhaLberg is offline
 
Join Date: Nov 2006
Location: Dersaadet
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tebrik ediyorum kardeşim. Muhteşem diye oyladım.

Congratulations brother. Rated 'Excellent'.
Reply With Quote
  #13  
Old 04-22-2007, 08:42 AM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shokmuzik.com View Post
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>
Thats what I thought but then I seen the two 1000's thank you sir. Wonderful hack
Reply With Quote
  #14  
Old 11-03-2007, 08:02 AM
shokmuzik.com shokmuzik.com is offline
 
Join Date: Apr 2007
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<i>Update: XML-file for Template Modification System uploaded.</i>
Reply With Quote
  #15  
Old 11-04-2007, 10:39 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the TMS xml
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 02:33 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.03789 seconds
  • Memory Usage 2,246KB
  • Queries Executed 19 (?)
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
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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