vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   [Request] - Accept Rules Countdown (https://vborg.vbsupport.ru/showthread.php?t=46493)

Dean C 12-08-2002 06:26 PM

[Request] - Accept Rules Countdown
 
I saw this when i logged out the other day and tried to re-register here at vbulletin.org

When you click register it goes to the rules page as normal

The "Accept" button is inactive for 10 seconds so the users in theory have to read the rules.

Any ideas on how to do this :D

Thanks in Advance

- miSt

Xenon 12-08-2002 06:47 PM

it's just a template thing *move*

from what i've seen in the sourcecode
Code:

<script>
        secs = 10; // Number of secs to delay
        wait = secs * 1000;
        document.forms.register.Submit.disabled =true;
        for(i=1;i<=(wait/1000);i++) {
                window.setTimeout("doUpdate(" + i + ")", i * 1000);
        }
        window.setTimeout("Timer()", wait);

        function doUpdate(num) {
                if(num == (wait/1000)) {
                        document.forms.register.Submit.value = "Agree";
                } else {
                        wut = (wait/1000)-num;
                        document.forms.register.Submit.value = "Agree (" + wut + ")";
                }
        }

        function Timer() {
                document.forms.register.Submit.disabled =false;
        }
        </script>


squawell 12-08-2002 08:01 PM

i saw that for long time ago....someone already posted...

but i cant find that post.....

Dean C 12-09-2002 04:01 PM

Geez i thought this was javascript hehe

- miSt

Dean C 12-12-2002 06:06 PM

I tried inserting this into the registeradult template and making sure i wasn't a coppa user and the countdown didn't work

Do i have to add anything to the buttons code?

- miSt

Xenon 12-12-2002 06:57 PM

hmm, look on the sourcode of the registerpage here ;)

maybe chen can have a look here and show the template to us ;)

squawell 12-13-2002 01:16 AM

hello guys i find that link maybe u want to take look

https://vborg.vbsupport.ru/showthrea...312#post177312

Dean C 12-13-2002 03:06 PM

Alleluia

Why couldn't i find this hehe

Thanks

- miSt


All times are GMT. The time now is 10:00 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.01146 seconds
  • Memory Usage 1,723KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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