Advertisement:

Author Topic: Moderation for Admins?  (Read 2441 times)

Offline InternetMafia

  • Jr. Member
  • **
  • Posts: 100
  • Gender: Male
    • Deviant-Mafia
Moderation for Admins?
« on: December 12, 2008, 03:17:30 PM »
When I updated to 2.0 Beta 4 from 1.1.7, whenever an administrator posts they have to approve the post.

I have searched and searched on how to turn it off but cant find it anywhere.

FYI, regular members and mods can post with no issues
Its better to be dead and cool than alive and uncool.

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,866
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • https://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: Moderation for Admins?
« Reply #1 on: December 12, 2008, 06:58:38 PM »
They are members of the Administrator group correct?

I can't figure out what would be causing that, as allowedTo() should return true for admins regardless of what permission we're checking.
Michael Eshom
Cincy Space - now open!

Offline InternetMafia

  • Jr. Member
  • **
  • Posts: 100
  • Gender: Male
    • Deviant-Mafia
Re: Moderation for Admins?
« Reply #2 on: December 12, 2008, 07:59:34 PM »
Yes, they are members of the Administration group
Its better to be dead and cool than alive and uncool.

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,866
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • https://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: Moderation for Admins?
« Reply #3 on: December 12, 2008, 09:42:35 PM »
I'm not sure what the issue is then.

This line of code in the allowedTo() function should prevent that from happening:
Code: [Select]
// Administrators are supermen :P.
if ($user_info['is_admin'])
return true;
Michael Eshom
Cincy Space - now open!

Offline InternetMafia

  • Jr. Member
  • **
  • Posts: 100
  • Gender: Male
    • Deviant-Mafia
Re: Moderation for Admins?
« Reply #4 on: December 12, 2008, 09:44:33 PM »
Excuse me for being a dummy, but could you tell me where to find that code so I can check and see if it is there.
Its better to be dead and cool than alive and uncool.

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,866
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • https://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: Moderation for Admins?
« Reply #5 on: December 12, 2008, 09:48:44 PM »
Sources/Security.php, lines 768-770.
Michael Eshom
Cincy Space - now open!