Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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.
 



 
Edited by Zuker, Sun 22 Apr, 2007 17:32: edited topic title & moved to "how to"
Corporacion-UmbrellaSend private messageSend e-mail to user  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: How To Avoid The Mods Modify Post Of Admins 
 
I've got this working on my site.  

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');
      }

 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Avoid Moderators Edit Post Of Admins 
 
great work Zuker...

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

thx
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How To Avoid Moderators Edit Post Of Admins 
 
Doed Zuker, thank you very much.


CU.
 



 
Corporacion-UmbrellaSend private messageSend e-mail to user  
Back to topPage bottom
Reply with quote Download Post 
Post 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.
 




____________
| Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
 
ChaoticSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron