Author |
Topic  |
|
slemieux
Junior Member
 
USA
234 Posts |
Posted - 04 January 2001 : 11:46:04
|
Got this off www.dynamicdrive.com to try to cut down on duplicate posts. Thought it might be useful for someone.
In Post.asp Find: <form action="post_info.asp" method="post" name="PostTopic">
Replace with this: <script>
/* Submit Once form validation- © Dynamic Drive (www.dynamicdrive.com) For full source code, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com */
function submitonce(theform){ //if IE 4+ or NS 6+ if (document.all||document.getElementById){ for (i=0;i<theform.length;i++){ var tempobj=theform.elements[i] if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset") //disable em tempobj.disabled=true } } } </script> <form action="post_info.asp" method="post" name="PostTopic" onSubmit="submitonce(this)">
Scott LeMieux Ready... Fire... Aim!! <img src="http://www.thepercussionist.com/adf/dance2.gif" border=0>
Edited by - slemieux on 04 January 2001 11:47:29 |
|
Capt_Dunzell
Junior Member
 
USA
160 Posts |
Posted - 04 January 2001 : 12:38:22
|
Is there a way to make this similar to the flood control of the UBB.
I would very much like to see or figure out how to do this. In the UBB the flood control only applies to members. Moderators and Administrators are not affected by it. I ran a UBB for a friends site for a while, and it came in very handy at times to not be bound by it when you had members causing problems.
http://www.dunzellsden.com/forum/ |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 05 January 2001 : 00:01:48
|
Hey Slemieux, Da_Stimulator had posted this already: http://forum.snitz.com/forum/link.asp?TOPIC_ID=1788
But the post needs to be fixed cause of the javascript.
<center><font color=green>*----*----*----*----*----*----*----*----* <font size=2>"To Get To Heaven, It's Who You Know That Counts."</font id=size2> *----*----*----*----*----*----*----*----*</font id=green></center> |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 05 January 2001 : 00:24:49
|
The code at that post has been fixed. |
 |
|
HuwR
Forum Admin
    
United Kingdom
20587 Posts |
|
slemieux
Junior Member
 
USA
234 Posts |
Posted - 05 January 2001 : 16:20:37
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> Hey Slemieux, Da_Stimulator had posted this already: http://forum.snitz.com/forum/link.asp?TOPIC_ID=1788 <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
lol I must have been asleep <img src=icon_smile.gif border=0 align=middle>
Scott LeMieux Ready... Fire... Aim!! <img src="http://www.thepercussionist.com/adf/dance2.gif" border=0> |
 |
|
|
Topic  |
|