• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

If thread locked, disable edit?

#1
Hi,

I've got a forum section where people report cheaters in my clan's servers, I want to archive threads and make it so the user who posted it can't edit it (essentially to stop deletion of attachments). I need to make sure the files/thread stays as it is when it gets locked.

Is there anyway to do this? (I need users to be able to edit while open as well)
 

Jake Bunce

XenForo moderator
Staff member
#2
It already does that. Users are not allowed to edit a post in a locked thread unless they are a moderator and have permission to unlock the thread.

XenForo_Model_Post::canEditPost
 
#3
It already does that. Users are not allowed to edit a post in a locked thread unless they are a moderator and have permission to unlock the thread.

XenForo_Model_Post::canEditPost
Oh... didn't even think it was there as default!
Thanks for answering my stupid question then :p