|
|
Joined: Jun 2000
Posts: 190
Enthusiast
|
Enthusiast
Joined: Jun 2000
Posts: 190 |
One of my Moderators pointed out to me that the mod icon [] http://www.the-highway.com/forum/images/mod.gif[/] is no longer being displayed by their usernames. However, the admin.gif [] http://www.the-highway.com/forum/images/adm.gif[/] is displayed for Administrators. The actual mod.gif is in the /forum/images directory as it should be. Can someone tell me what file(s) I should look at which controls the display of this icon? I suspect that some hack I installed failed to include whatever was there originally. Thanks, Jeff
Artificial Intelligence is no match for natural stupidity!
|
|
|
|
Joined: Aug 2004
Posts: 173
Member
|
Member
Joined: Aug 2004
Posts: 173 |
I think it is in showflat.php, have a quick look in there
|
|
|
|
Joined: Jun 2000
Posts: 190
Enthusiast
|
Enthusiast
Joined: Jun 2000
Posts: 190 |
The only thing that showed up with a search for "mod.gif" is this section (same for showthreaded.php as well): // We need to know if this was made by an admin or moderator <br /> $postrow[$i]['UserStatus'] = ""; <br /> if ($PostStatus == "Administrator") { <br /> $postrow[$i]['UserStatus'] = "<img src=\"{$config['images']}/adm.gif\" alt=\"{$ubbt_lang['USER_ADMIN']}\" border=\"0\" />"; <br /> } <br /> elseif ( ($PostStatus == "Moderator") && (stristr($modcheck,",$usernum,")) ) { <br /> $postrow[$i]['UserStatus'] = "<img src=\"{$config['images']}/mod.gif\" alt=\"{$ubbt_lang['USER_MOD']}\" border=\"0\" />"; <br /> } Of course, I have no idea if there is something wrong with this section of code or not. [] http://www.the-highway.com/Smileys/giggle.gif[/]
Artificial Intelligence is no match for natural stupidity!
|
|
|
|
Joined: Aug 2004
Posts: 173
Member
|
Member
Joined: Aug 2004
Posts: 173 |
Well this is what it says in my showflat // We need to know if this was made by an admin or moderator <br /> $postrow[$i]['UserStatus'] = ""; <br /> if ($PostStatus == "Administrator") { <br /> $postrow[$i]['UserStatus'] = "<img src=\"{$config['images']}/adm.gif\" alt=\"{$ubbt_lang['USER_ADMIN']}\" border=\"0\" />"; <br /> } <br /> elseif ( ($PostStatus == "Moderator") && (stristr($modcheck,",$usernum,")) ) { <br /> $postrow[$i]['UserStatus'] = "<img src=\"{$config['images']}/mod.gif\" alt=\"{$ubbt_lang['USER_MOD']}\" border=\"0\" />"; <br /> } Looks the same to me.
|
|
|
|
Joined: Jul 2001
Posts: 808
Coder
|
Coder
Joined: Jul 2001
Posts: 808 |
He is mod but maybe he look at posts in a group where he isnt a mod. In this groups his 'M' is supressed. If he post in his mod group witch he moderate he see a 'M'.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|