![]() |
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? |
There's probably a Java script for this... I guess.
|
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> Demo here |
Nice... 15 sec is a bit too long tho, I think 10 is better.
Good job! :) |
to make 10 sec delay replace 15000 with 10000
|
Yeah I figured that out myself. :)
|
great idea... makes them atleast... wait.. if they still are hard headed enough not to read the agreement :)
|
improved it a bit:
Code:
<script> |
Can you get a demo? I'd like to see this in action. :)
|
Fly: cant u imagine it? :D :D :D
BradC: respect... i hadn`t need that feature |
Sorry, my imagination is very limited. :D
|
Thank you guys :)
|
Which instance of 1000 do you replace with 1500, or whatever value you want for the seconds? I replaced all of them with 3000, and it slowed down the seconds, to where 3 seconds elapsed for every second that it counted. I also want to change the button to read "I Agree." Where do I put that in? Can someone highlight the part of the code I need to change to change the number of seconds, and the part I should change to make it read "I Agree"
|
Help Please!
|
Quote:
document.forms.register.Submit.disabled =true; window.setTimeout("Timer()", 15000); function Timer() { document.forms.register.Submit.disabled =false; }; <script> i think the 15000 is u looking for~~ u can change 15000 u want it to be~~~ i do it like that~~ |
brill
thanks |
I meant which instance of 10 do you replace with 15 in the following code, and also where do I put the "I Agree" label?
Code:
<script> |
Bump!
|
Quote:
Code:
secs = 10; // Number of secs to delay Code:
document.forms.register.Submit.value = "Agree"; Code:
document.forms.register.Submit.value = "Agree (" + wut + ")"; If you haven't yet tried, you should try playing around with the code if things aren't exactly the way you like 'em. Look for clues. Like, for your question, you'd look for lines in the code that clue you in -- and you'd find the line "secs = 10; // Number of secs to delay" So change the number and see what happens. Or if you want to change "Agree" to "I Agree", just change the instances in the code where you see "Agree". On a short (and relatively simple) script such as this, you can't go wrong, and even if you screw something up, all you have to do is cut and paste and go back and fix it. |
I guess you saw the demo because it has been put into use on the register page for vB.org. :)
Quote:
|
What about adding an error message if the button is clicked before the alloted time, stating "If you're clicking that fast, you haven't read the terms!" ?
|
would someone release this, so that I could ckick the button that says I have installed it?
|
question, where do you add this:
Code:
<script> [edit] nevermind, i figured it out, heh, just read the first post again lol |
Is there anything like this for vBulletin 4? I used this about 8 years ago in 3 and I liked it.
|
No one is going to read the rules anyway, timer or not.
|
Quote:
|
Looking at this again, since the VB4 rules are displayed on the same page as other registration information, putting in a 30 second delay isn't very useful because it will take someone 30 seconds to fill in their username, password, email, and any other info.
On VB3 the rules were on their own page, there was nothing else to do but read them. |
All times are GMT. The time now is 04:46 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|