PDA

View Full Version : disabling editing post after closing threads


Keta
06-28-2002, 08:30 PM
is there already a hack for this? i can't seem to find it i did search!! is it some way to disable editing a post after closing a thread

scsa20
06-28-2002, 09:42 PM
once you close a thread, the users can't edit the post automactly

Keta
06-28-2002, 11:26 PM
seem not to be working on my forum

Xenon
06-29-2002, 12:31 PM
you should find these lines in your editpost.php:if (!ismoderator($threadinfo[forumid],"caneditposts")) { // check for moderator
if (!$threadinfo[open]) {
eval("standardredirect(\"".gettemplate("redirect_threadclosed")."\",\"showthread.php?s=$session[sessionhash]&threadid=$threadinfo[threadid]\");");
exit;
}

if you can find this, it should work.
but only users cannot edit posts anymore, a moderator can always edit posts in closed threads.