View Full Version : disabling editing post after closing threads
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
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.