php forum
php mysql forum
php mysql smarty
 
Topic Options
#37541 - 05/02/00 10:05 AM Making sure people can click the Submit only once
hapoel Offline
Junior Member

Registered: 01/22/00
Posts: 1
Well this heck make sure people can click the submit button only once. After clicking it the button become gray so people cannot press it again. The idea of this hack is to eliminate people clicking few times and by that posting the same message twice and over loading the server.

well add this to the header of the page (can be done through the CP)
Code:
code:


and then open posting.cgi and look for the method="POST" in the <form> tag (it should be there a few times)
and add
Code:
code:

just after it so it should look like this

<FORM ACTION="postings.cgi" NAME="REPLIER" METHOD="POST" onSubmit="submitonce(this)">

upload in ASCII and thats it.

Top
#37542 - 05/02/00 11:43 AM Re: Making sure people can click the Submit only once
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25365
Loc: Texas
nice hack... does flood control do mostly the same thing?

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
#37543 - 05/02/00 02:50 PM Re: Making sure people can click the Submit only once
Slasher Offline
Member

Registered: 01/22/00
Posts: 181
Loc: The Netherlands
Yeah, but this is nicer

Top
#37544 - 05/02/00 06:17 PM Re: Making sure people can click the Submit only once
mazmanr Offline
Junior Member

Registered: 03/20/01
Posts: 400
Quote:
quote:


yep.....much better than flood control...nice hack

Top
#37545 - 05/03/00 06:06 AM Re: Making sure people can click the Submit only once
Flix Offline
Member

Registered: 01/10/00
Posts: 33
I pasted the text into my header and inserted the line into postings.cgi (uploading in ASCII of course) and nothing has changed.

I am still using 5.44b. Is this hack not compatible with that version?

Top
#37546 - 05/03/00 07:38 AM Re: Making sure people can click the Submit only once
hapoel Offline
Junior Member

Registered: 01/22/00
Posts: 1
This hack should work with any version I belive that you have to use version 4 or above of the browser, which I assume every one does this days.
Try adding the code to the header of the forums (not that I see any diffrent) rather then the main header.

Top
#37547 - 05/03/00 10:27 AM Re: Making sure people can click the Submit only once
BlueMon Offline
Junior Member

Registered: 04/02/00
Posts: 7
Quote:
quote:



Flood lock will stop any one for posting anywhere with in the certain time. This hack wil make sure that no one doubles or triple posts in on thread at one time. If that is confusing or anything just tell me.

Top
#37548 - 07/24/05 07:47 PM Re: Making sure people can click the Submit only once
OziBen Offline
Junior Member

Registered: 07/08/03
Posts: 28
Loc: Au
Does any one still use this, i just tried it with ubb clasic 6.7 and it worked fine except one bug with the full reply button in the quick reply form.

please advise, as for some reason i have trouble enabling flood control?
_________________________
Tubal ligation can be reversed

Top
#37549 - 07/24/05 07:51 PM Re: Making sure people can click the Submit only once
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
What is the bug exactly?
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top


Top Posters Last 30 Days
AllenAyres 83
Gizmo 28
Zarzal 21
sirdude 19
blaaskaak 14
willing 7
swebs 6
Who's Online
0 Registered (), 46 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
[7.3.x] ubb.links
by AllenAyres
Yesterday at 06:15 PM
Changing currency for subscriptions?
by AllenAyres
Yesterday at 01:15 PM
Protect users emails
by AllenAyres
Yesterday at 11:36 AM
VPS and Newbies
by Gizmo
07/02/08 09:08 PM
Team UBBDev Rides Again!
by AllenAyres
07/02/08 11:38 AM
Drupal / UBB integration module for Drupal
by blaaskaak
06/30/08 01:52 PM
[7.3.x] Scheduled board close for backup
by AllenAyres
06/30/08 12:51 PM
New Mods
Protect users emails
by Basil Fawlty
06/29/08 08:44 AM
[7.3.x] Scheduled board close for backup
by blaaskaak
06/26/08 04:01 AM
[7.3+] CustomTag - Audo Embedding
by Gizmo
06/24/08 07:52 PM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
Newest Members
ryzilla, M4D, Jer, Kanigo2, Bubba
13302 Registered Users

 

 

 
fusionbb message board php hacks