Welcome, Guest. Please Login or Register.
April 27, 2025, 03:42:21 PM
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  |  Completed mods  |  [Done 1.4.0][Code] Global Moderators can no longer see Administor forums « previous next »
Pages: 1 [2] Reply Ignore Print
Author Topic: [Done 1.4.0][Code] Global Moderators can no longer see Administor forums  (Read 3551 times)
1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Done 1.4.0][Code] Global Moderators can no longer see Administor forums
« Reply #15 on: October 16, 2002, 12:59:47 PM »
Reply with quote

If somebody can give me a legitimate good reason for admins fearing so greatly that global mods can see their posts, I'll start to come up with ideas to fix this ;D
Logged
UNICRON
Noobie
*
Posts: 19


Re:[Done 1.4.0][Code] Global Moderators can no longer see Administor forums
« Reply #16 on: October 27, 2002, 04:19:28 PM »
Reply with quote

Right, If you look at the 10 most recent posts of an admin as a global mod, you see stuff in the admin only forum. I'll fix today. Sorry I haven't been around. I've been busy.

Legitimate reason for needing it.

One the site that I admin there are many Forum/Global Mods and we have several forums for them. There are three admins and we want to have a forum away from the mods (we have dozens of mods). Sometimes we discuss mod issues there and that isn't for mods to read. Also the mod forums are too busy for admin only stuff.

www.wilderssecurity.com
Logged
UNICRON
Noobie
*
Posts: 19


Re:[Done 1.4.0][Code] Global Moderators can no longer see Administor forums
« Reply #17 on: October 27, 2002, 05:22:05 PM »
Reply with quote

I edited the profile.php page in the userrecentposts() function. I removed the reference to the global mods as shown on the second to last line of this snippet. The last half of the line is commented out and the closing bracket added after the admin reference so that the $permit flag is not set for global mods. Now global mods cannot see admin only forums, but they can still see admin posts in mod only forums via the "show last  10 posts"  feature of the profile page.

function usersrecentposts (){
   global $userid,$viewscount,$censored,$user,$membergroups,$settings,$username,$yyitle,$txt,$enable_ubbc;
   global $cgi,$img,$imagesdir,$enable_notification,$maxmessagedisplay,$color,$scripturl,$menusep,$db_prefix;
   $display = $viewscount;
   if (!is_numeric($display)){fatal_error($txt[337]);}

   $request = mysql_query("SELECT realName FROM {$db_prefix}members WHERE ID_MEMBER=$userid LIMIT 1");
   list($realName) = mysql_fetch_row($request);

   $permit = 0;
   if ($settings[7]=='Administrator')    /* || $settings[7]=='Global Moderator')  */

Logged
Surfy
Sr. Member
****
Posts: 458


I'm a llama!

Re:[Done 1.4.0][Code] Global Moderators can no longer see Administor forums
« Reply #18 on: October 28, 2002, 11:23:53 AM »
Reply with quote

then the global mod could read all!!

He can only say "show all posts" of an admin, and then he see every Post in the Admin Board...

Surfy  :-[
Logged
UNICRON
Noobie
*
Posts: 19


Re:[Done 1.4.0][Code] Global Moderators can no longer see Administor forums
« Reply #19 on: October 28, 2002, 02:40:59 PM »
Reply with quote

I think you are mistaken Surfy, the flag set by the code I altered will not be set for a global moderator viwing the posts now.

This edit and the ones before it keep a global mod from seeing admin posts and links but won't stop them from guessing threadIDs. Also if a global mod posted in a n admin section before, you'll need to delete those posts since the posts of a global mod can stiff be viewed normally.

I will be locking up the admin section better during christmas, when this semester is over. Currently I have to trust my mods a bit. Most have no idea a threadID could be guesses or don't care. They are not in the habbit of thrying to hack our board.
Logged
Bradley
Noobie
*
Posts: 17


A Self Portrait!

ICQ - 134536518bradley@leafsforever.ca WWW
Re:[Done 1.4.0][Code] Global Moderators can no longer see Administor forums
« Reply #20 on: October 29, 2002, 09:47:54 PM »
Reply with quote

Quote from: 1979Z28 on October 16, 2002, 12:59:47 PMIf somebody can give me a legitimate good reason for admins fearing so greatly that global mods can see their posts, I'll start to come up with ideas to fix this ;D

Everyone deserves their privacy.
Logged

Dataforce
Full Member
***
Posts: 171


Data-Host.co.uk

Re:[Done 1.4.0][Code] Global Moderators can no longer see Administor forums
« Reply #21 on: March 25, 2003, 05:15:10 PM »
Reply with quote

Hmm, a Yabb Pak or BoardMOD file would be nicer...
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.4.0][Code] Global Moderators can no longer see Administor forums
« Reply #22 on: March 25, 2003, 05:31:04 PM »
Reply with quote

Quote from: Dataforce on March 25, 2003, 05:15:10 PM
Hmm, a Yabb Pak or BoardMOD file would be nicer...

Look for Big P's version for 1.5.x.

-[Unknown]
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:[Done 1.4.0][Code] Global Moderators can no longer see Administor forums
« Reply #23 on: April 01, 2003, 07:46:44 PM »
Reply with quote

I'm looking for 1.5.1 copy as well :)
Logged

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


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.4.0][Code] Global Moderators can no longer see Administor forums
« Reply #24 on: April 01, 2003, 08:17:38 PM »
Reply with quote

Here's a link:

http://www.yabbse.org/community/index.php?board=158;action=display;threadid=19565

-[Unknown]
Logged
Pages: 1 [2] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.4.0][Code] Global Moderators can no longer see Administor forums « 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 2.404 seconds with 19 queries.