dubbelpost verwijderaar
Forumregels
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.

dubbelpost verwijderaar
halow, is er ook een mod die de post verwijdert als je een dubbelpost hebt gedaan dus als je twee x dezelfde topic hebt geplaats in een flora
- desert spider
- Berichten: 1101
- Lid geworden op: 08 feb 2004, 18:51
hum.... bij mij welRobinforum schreef:die onderste werkt bij mij niet, dan krijg ik een error

Code: Selecteer alles
#################################################################
## Mod Title: Submit once
## Mod Version: 1.0.0
## Author: Matt Ratcliff <mattratcliff@psanime.com>
## Description: This prevents users from double posting
##
##
## Installation Level: easy
## Installation Time: ~1 Minutes
## Files To Edit: 2
## templates/****/overall_header.tpl
## templates/****/posting_body.tpl
##
#################################################################
## Authors Notes:
##
## For any concerns please contact me at http://www.psanime.com
##
## Thanks goes to Ptirhiik at http://rpgnet.clanmckeen.com/demo/
##
## For encouragment
#################################################################
## This MOD is released under the GPL License.
## Intellectual Property is retained by the MOD Author(s) listed above
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
##
## Revision History:
##
## V1.0.0
## -Released
##
#################################################################
#
#-----[ OPEN ]--------------------------------------------
#
templates/****/overall_header.tpl
#
#-----[ FIND ]--------------------------------------------
#
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
#
#-----[ AFTER, ADD ]--------------------------------------
#
<script type="text/javascript">
function checksubmit(submitbtn){
submitbtn.form.submit()
checksubmit=blocksubmit
return false
}
</script>
#
#-----[ OPEN ]--------------------------------------------
#
templates/****/posting_body.tpl
#
#-----[ FIND ]--------------------------------------
#
<td class="catBottom" colspan="2" align="center" height="28"> {S_HIDDEN_FORM_FIELDS}<input type="submit" tabindex="5" name="preview" class="mainoption" value="{L_PREVIEW}" /> <input type="submit" accesskey="s" tabindex="6" name="post" class="mainoption" value="{L_SUBMIT}" /></td>
#
#-----[ IN-LINE FIND ]----------------------------
#
value="{L_SUBMIT}"
#
#-----[ AFTER, ADD ]------------------------------
# This can be applied to any submit button on any page
onClick="return checksubmit(this)"
#
#EOM
#