Back to vBulletin 3.6 Template Modifications

register_rules timer
Mod Version: 1.00, by shokmuzik.com

This modification is in the archives.
vB Version: 3.6.8 Rating: (3 votes - 5.00 average) Installs: 17
Released: 21 Apr 2007 Last Update: 03 Nov 2007 Downloads: 48
Not Supported Template Edits Auto-Template  

  • 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!

Download

This modification is archived, downloads are still allowed.

File Type: %1$s templateedits-registerrulestimer.xml (1.7 KB, 42 downloads)

Screenshots

Click image for larger version
Name:	reg.jpg
Views:	453
Size:	33.9 KB
ID:	63460  


vblts.ru supports vBulletin®, 2022-2024