Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Topic started by: DeadMetal on May 20, 2004, 11:24:42 AM

Title: Remove membergroup indication
Post by: DeadMetal on May 20, 2004, 11:24:42 AM
Hi,

I want to remove the text which says in which (post-based) membergroup a moderator of admin is, in messages and in his/her profile.
Is there an option for this or how can I edit the code to do this?

I have a new moderator with only a couple of posts yet and it looks stupid to see 'Newbie' under his 5 moderator stars  ;)
Of yourse I don't want to remove this indication for regular members.
Title: Re: Remove membergroup indication
Post by: Jack.R.Abbit™ on May 20, 2004, 11:45:08 AM
Admin > Current Theme's Settings > Hide post group titles for grouped members?  [X]
Title: Re: Remove membergroup indication
Post by: Oldiesmann on May 20, 2004, 11:46:55 AM
Open up Themes\default\Display.template.php

find:
if ($message['member']['post_group'] != '')

replace:
if ($message['member']['post_group'] != '' && $message['member']['group'] != 'Administrator' && $message['member']['group'] != 'Global Moderator' && $message['member']['group'] != 'Moderator')

It won't show the post group in the profile if the user is a member of a primary group (ie Administrator or Global Moderator).
Title: Re: Remove membergroup indication
Post by: Oldiesmann on May 20, 2004, 11:47:42 AM
Jack - you're too fast! I didn't even know that option was there... Ignore my previous post. :P
Title: Re: Remove membergroup indication
Post by: DeadMetal on May 20, 2004, 01:12:27 PM
Strange, I don't see that option. (I use the Dutch version but can't find anything that looks like a translation of that sentence). I use the Classic theme, but I guess that doesn't have anything to do with it.

Perhaps one of you guys can attach a screenshot?
Title: Re: Remove membergroup indication
Post by: Jack.R.Abbit™ on May 20, 2004, 01:30:14 PM
The text appears to be untranslated so if it exists... you should see the english text.  However, it may not be in the Classic theme.  It also may not even be in your version, as I believe it is a relatively new feature... perhaps unreleased yet.  Sorry to have given you dodgy info.
Title: Re: Remove membergroup indication
Post by: DeadMetal on May 20, 2004, 02:32:16 PM
Then I guess it isn't in my version (beta 5) yet, thanks for the help.

I won't ignore your post Oldiesmann, thanks  ;D ;)
Title: Re: Remove membergroup indication
Post by: Oldiesmann on May 20, 2004, 02:39:42 PM
You're welcome. The latest version is Beta 5 Public, and I'm pretty sure that option isn't there... :)
Title: Re: Remove membergroup indication
Post by: DeadMetal on May 20, 2004, 02:54:15 PM
Great it works ;D
Title: Re: Remove membergroup indication
Post by: Oldiesmann on May 20, 2004, 03:03:04 PM
Good! It's amazing how simple these things are :)
Title: Re: Remove membergroup indication
Post by: Ben_S on May 20, 2004, 04:21:26 PM
Quote from: Oldiesmann on May 20, 2004, 02:39:42 PM
You're welcome. The latest version is Beta 5 Public, and I'm pretty sure that option isn't there... :)

It's not, it appeared in a cvs ver about 3 days ago ;).