wir haben damit unsere User ihre Beiträge nach dem Posting nur noch 1 Stunde editieren können folgendes Snippes verwendet:
Code: Alles auswählen
##############################################################
## MOD Title: Edit post - time limit
## MOD Author: easygo < webmaster@net4seven.de >
## MOD Description: This hack allows you to set a time limit for editing own messages. Default Value: 7200 sec (2 hours)
## MOD Version: 1.07
##
## Installation Level: easy
## Installation Time: 1 minute
## Files To Edit: 1
## viewtopic.php
##
##############################################################
## For security purposes, please check: http://www.net4seven.de/
## for the latest version of this MOD. Downloading this MOD from other
## sites could cause malicious code to enter into your forums.
##############################################################
## Before adding this MOD to your forums, you should back up all files related to this MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
if ( ( $userdata['user_id'] == $poster_id && $is_auth['auth_edit'] ) || $is_auth['auth_mod'] )
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( ( $userdata['user_id'] == $poster_id && $is_auth['auth_edit'] && $postrow[$i]['post_time'] + 7200 > time() ) || $is_auth['auth_mod'] )
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Code: Alles auswählen
if ( ( $userdata['user_id'] == $poster_id && $is_auth['auth_edit'] && $postrow[$i]['post_time'] + 3600 > time() ) || $is_auth['auth_mod'] )
Dies berichten uns verschiedene User und dies auch nur temporär.
Wer hat eine Idee wo wir ansetzten müssen oder wo besteht der Bug von unserer Seite? Wir tappen total im dunkeln

Gruß Elektron