https://www.icyphoenix.com/viewtopic.php?f=30&t=1706&p=12591#p12591
-----------------------------------
Zuker
Sun 22 Apr, 2007 17:31

Re: How To Avoid The Mods Modify Post Of Admins
-----------------------------------
I've got this working on my site.  :mricy: 

[b]OPEN posting.php[/b]

FIND (partial line match)

[code linenumbers=false]$select_sql = ( !$submit ) ? ', t.topic_title[/code]

IN-LINE FIND

[code linenumbers=false], u.user_id[/code]

IN-LINE AFTER, ADD

[code linenumbers=false]
, u.user_level[/code]

FIND

[code linenumbers=false]		$post_data['poster_id'] = $post_info['poster_id'];[/code]


AFTER, ADD

[code linenumbers=false]		if ( $post_info['user_level'] == ADMIN && $userdata['user_level'] != ADMIN )
      {
         message_die(GENERAL_ERROR, 'You can not edit an Administrator's post');
      }[/code]


