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

   Making sure people can click the Submit only once to Del.icio.us Add to del.icio.us
  Digg Making sure people can click the Submit only once Digg it
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: 25434
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


Who's Online
0 Registered (), 37 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by AllenAyres
Today at 01:36 PM
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
Kevs, pisa666, ghengis317, NitroX, Dogan
13346 Registered Users
Top Posters Last 30 Days
AllenAyres 11
blaaskaak 7
Ian_W 4
tackaberry 4
Mike L_dup1 4
Gizmo 4
Chris Bale 4

 

 

 
fusionbb message board php hacks