Bug - showing user stars as mods still?

Started by RyanJones, February 25, 2006, 09:01:03 PM

Previous topic - Next topic

RyanJones

Hii all.

It seems that the mod starts are still overwriting the admin and gmod ones on the view pages.

I foundthis as a fix ut not shure how good it is:

Open:Sources/Load.php

Find:

	
	
	
// By popular demand, don't show admins or global moderators as moderators.
	
	
	
if (
$user_profile[$id]['ID_GROUP'] != && $user_profile[$id]['ID_GROUP'] != 2)



Replace with:


	
	
	
// By popular demand, don't show admins or global moderators as moderators.
      
if ($user_profile[$id]['ID_GROUP'] == or $user_profile[$id]['ID_GROUP'] != 2)
        continue;



Can anyone suggest a better fix?

Cheers,

Ryan Jones
RyanJ (Ryan Jones)

Support Web Standards!

Currently working On: Additions to the Karma system.

kegobeer

Can you post a URL that shows this problem?
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

RyanJones

Quote from: kegobeer on February 25, 2006, 09:12:40 PM
Can you post a URL that shows this problem?

Shure: http://standards.spiralmindsinc.com/Forums/index.php/topic,7.new.html#new

It seems that the mod rank is aking presidence oer the amdin one...

Cheers,

Ryan Jones
RyanJ (Ryan Jones)

Support Web Standards!

Currently working On: Additions to the Karma system.

kegobeer

"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

RyanJones

Quote from: kegobeer on February 25, 2006, 09:26:03 PM
What color are your admin stars?

Standard:

Admin => Red
GMod  => Blue
Mod   => Green

Cheers,

Ryan Jones
RyanJ (Ryan Jones)

Support Web Standards!

Currently working On: Additions to the Karma system.

kegobeer

Look in your membergroups table - what file name is in the stars field for that user?
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

Dannii

This isn't a bug, this is how it is supposed to be. Look in the Mambo boards here. Even Orstio, a SMF dev, is shown as a local moderator.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

kegobeer

#7
Quote from: eldacar on February 25, 2006, 09:49:23 PM
This isn't a bug, this is how it is supposed to be. Look in the Mambo boards here. Even Orstio, a SMF dev, is shown as a local moderator.

That doesn't explain why Load.php has this statement:


// By popular demand, don't show admins or global moderators as moderators.


If admins or global mods shouldn't be shown as moderators, their stars shouldn't show as a local mod either.
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

RyanJones

Quote from: eldacar on February 25, 2006, 09:49:23 PM
This isn't a bug, this is how it is supposed to be. Look in the Mambo boards here. Even Orstio, a SMF dev, is shown as a local moderator.

Ah, I see.

Just thought that the admin rank would over power the mod rank becuse of its incresed abilities...

Thanks for the help,

Ryan Jones
RyanJ (Ryan Jones)

Support Web Standards!

Currently working On: Additions to the Karma system.

Advertisement: