Welcome, Guest. Please Login or Register.
November 18, 2024, 09:49:43 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Limiting moderator powers? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Limiting moderator powers?  (Read 651 times)
Raspberry
Noobie
*
Posts: 22


I'm a llama!

Limiting moderator powers?
« on: May 27, 2003, 08:04:49 AM »
Reply with quote

Is there a mod that limit global moderator powers? I want to remove the 'remove post and/or topic' features for all moderators, or make a new member group that takes away these functions.
Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:Limiting moderator powers?
« Reply #1 on: May 27, 2003, 08:39:36 AM »
Reply with quote

Quote from: Raspberry on May 27, 2003, 08:04:49 AM
I want to remove the 'remove post and/or topic' features for all moderators,

Why do you want to remove those features. What for are people moderators then?
Logged

[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Limiting moderator powers?
« Reply #2 on: May 27, 2003, 08:40:28 AM »
Reply with quote

As a VERY dirty fix:

RemoveThread.php, find:
   if (!(in_array($username, $moderators) || $settings[7] == 'Administrator' || $settings[7] == 'Global Moderator'))
      fatal_error("$txt[73]");


Replace:
   if ($settings[7] != 'Administrator')
      fatal_error("$txt[73]");


ModifyMessage.php, find:
   if ($row['ID_MEMBER'] != $ID_MEMBER && $settings[7] != 'Administrator' && $settings[7] != 'Global Moderator' && !in_array($username, $moderators))
      fatal_error($txt[67]);


Replace:
   if ($row['ID_MEMBER'] != $ID_MEMBER && $settings[7] != 'Administrator' && $settings[7] != 'Global Moderator' && !in_array($username, $moderators))
      fatal_error($txt[67]);
  if ($deletepost && $row['ID_MEMBER'] != $ID_MEMBER && $settings[7] != 'Administrator')
     fatal_error($txt[67]);


The buttons will still be there, but they won't work.

-[Unknown]
Logged
Raspberry
Noobie
*
Posts: 22


I'm a llama!

Re:Limiting moderator powers?
« Reply #3 on: May 27, 2003, 08:55:17 AM »
Reply with quote

User-moderated board. A little experiment I want to run.

Quote from: andrea on May 27, 2003, 08:39:36 AM
Quote from: Raspberry on May 27, 2003, 08:04:49 AM
I want to remove the 'remove post and/or topic' features for all moderators,

Why do you want to remove those features. What for are people moderators then?
Logged
Raspberry
Noobie
*
Posts: 22


I'm a llama!

Re:Limiting moderator powers?
« Reply #4 on: May 27, 2003, 08:56:26 AM »
Reply with quote

Cheers [Unknown]. Will test it out.

Logged
Raspberry
Noobie
*
Posts: 22


I'm a llama!

Re:Limiting moderator powers?
« Reply #5 on: May 27, 2003, 09:06:53 AM »
Reply with quote

Cheers. It works. Would be much appreciated if anyone ever came up with a mod to decide what powers a moderator would have, or allow new user groups to be created, and choose their permissions.
« Last Edit: May 27, 2003, 10:37:14 AM by Raspberry » Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Limiting moderator powers?
« Reply #6 on: May 27, 2003, 09:28:59 AM »
Reply with quote

Hehehehehe...

Wait for 1.6.0.  (if I have my way.)

-[Unknown]
Logged
oldiesmann
YaBB God
*****
Posts: 577


Jesus died for your sins... Have you thanked him?

oldiesmann@oldiesmann.us WWW
Re:Limiting moderator powers?
« Reply #7 on: May 29, 2003, 01:59:54 PM »
Reply with quote

The Global Moderator Center Mod kind of gives you the options as to what they can do, but I don't think deleting/editing posts is one of those options...
Logged

"I've sinned greatly, but Christ's for real, baby
It's a wonder He saved me and just didn't hate me
So won't you tell Him "Save me"
Please stand up, please stand up, please stand up..." - J. Jackson (More Info)
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Limiting moderator powers? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.058 seconds with 21 queries.