[6.0x] No Double Posts - 04/13/2001 3:49 PM
Here is a quick method of stopping those double posts, that always seem to happen.
Tested on v6.01 to v6.04
edited to use public_common.pl, thanks to freakscene for reminding me
################
# In public_common.pl
#
# find:
return null;
}
//-->
#####
# and add immediately below:
########################
# in
# public_edit_post.pl
# public_new_topic_form.pl
# public_new_reply_form.pl
#
# find:
METHOD="POST" ACTION="$vars_config{CGIURL}/ultimatebb.cgi"
#####
# add this into that section
onSubmit="submitonce(this)"
#####
# so it looks like this
METHOD="POST" onSubmit="submitonce(this)" ACTION="$vars_config{CGIURL}/ultimatebb.cgi"
#######################################
save and upload, flush the cache and no more double posts, replies & edits
Magnum
Tested on v6.01 to v6.04
edited to use public_common.pl, thanks to freakscene for reminding me
################
# In public_common.pl
#
# find:
return null;
}
//-->
#####
# and add immediately below:
########################
# in
# public_edit_post.pl
# public_new_topic_form.pl
# public_new_reply_form.pl
#
# find:
METHOD="POST" ACTION="$vars_config{CGIURL}/ultimatebb.cgi"
#####
# add this into that section
onSubmit="submitonce(this)"
#####
# so it looks like this
METHOD="POST" onSubmit="submitonce(this)" ACTION="$vars_config{CGIURL}/ultimatebb.cgi"
#######################################
save and upload, flush the cache and no more double posts, replies & edits
Magnum