1 (edited by dean29 2010-12-09 18:35)

Topic: Stopping admins/mods from editing user posts.

Hi,

I am trying to stop admins/mods from editing users posts, I have already figured out how I could do this but I have encountered a problem with this. I would still like mods to be able to edit topic titles.

I have this code for edit.php: http://codepad.org/giaWqk84

However, when I go to edit the topic title and press 'Submit topic' (as an Admin), it returns an error:

Warning! The following errors must be corrected before your message can be posted:

    * You must enter a message.

How can I get it to POST the old variable (message) to the database, but update the topic title?
Perhaps a hidden form? (Unsecure)

Thanks smile
- PunBB 1.3.4