The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
in the rules section and before someone agrees to the rules, the AGREE button can't be clicked till after 30 seconds. to force them to read the rules.
any other thoughts? |
#2
|
||||
|
||||
There's probably a Java script for this... I guess.
|
#3
|
|||
|
|||
Ahm... ok....
u need to edit your signupadult and signupadult templates find line starts with: Code:
<form Code:
<form action="register.php" method="post" name=register> find line: Code:
<input type="submit" class="bginput" value="Agree"> Code:
<input type="submit" name="Submit" class="bginput" value="Agree"> Code:
$footer Code:
<script> document.forms.register.Submit.disabled =true; window.setTimeout("Timer()", 15000); function Timer() { document.forms.register.Submit.disabled =false; }; </script> Demo here |
#4
|
||||
|
||||
Nice... 15 sec is a bit too long tho, I think 10 is better.
Good job! |
#5
|
|||
|
|||
to make 10 sec delay replace 15000 with 10000
|
#6
|
||||
|
||||
Yeah I figured that out myself.
|
#7
|
|||
|
|||
great idea... makes them atleast... wait.. if they still are hard headed enough not to read the agreement
|
#8
|
|||
|
|||
improved it a bit:
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> |
#9
|
||||
|
||||
Can you get a demo? I'd like to see this in action.
|
#10
|
|||
|
|||
Fly: cant u imagine it?
BradC: respect... i hadn`t need that feature |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|