How To Avoid Moderators Edit Post Of Admins


Subject: How To Avoid Moderators Edit Post Of Admins
Hi.

I only want to konw, how to avoid to the Mods edit the post writted by the admins?.

Is only that friends.

Thanks for you'r time in read this message.

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

OPEN posting.php

FIND (partial line match)

Code: [Download] [Hide] [Select]
$select_sql = ( !$submit ) ? ', t.topic_title


IN-LINE FIND

Code: [Download] [Hide] [Select]
, u.user_id


IN-LINE AFTER, ADD

Code: [Download] [Hide] [Select]
, u.user_level


FIND

Code: [Download] [Hide] [Select]
$post_data['poster_id'] = $post_info['poster_id'];



AFTER, ADD

Code: [Download] [Hide] [Select]
if ( $post_info['user_level'] == ADMIN && $userdata['user_level'] != ADMIN )
{
message_die(GENERAL_ERROR, 'You can not edit an Administrator's post');
}

Subject: Re: How To Avoid Moderators Edit Post Of Admins
great work Zuker...

thanks for this... i´ll add this to my site too.

thx

Subject: Re: How To Avoid Moderators Edit Post Of Admins
Doed Zuker, thank you very much.


CU.

Subject: Re: How To Avoid Moderators Edit Post Of Admins
This feature is included in the latest release of Icy Phoenix. (1.3.x)

Moving to Old Docs forum.


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1072s (PHP: 27% SQL: 73%)
SQL queries: 14 - Debug Off - GZIP Enabled