Advertisement:

Author Topic: Remove membergroup indication  (Read 6983 times)

Offline DeadMetal

  • Jr. Member
  • **
  • Posts: 122
  • Gender: Male
Remove membergroup indication
« 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.

Offline Jack.R.Abbit™

  • SMF Friend
  • Sophist Member
  • *
  • Posts: 1,282
  • Gender: Male
Re: Remove membergroup indication
« Reply #1 on: May 20, 2004, 11:45:08 AM »
Admin > Current Theme's Settings > Hide post group titles for grouped members?  [X]

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,920
  • 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: Remove membergroup indication
« Reply #2 on: May 20, 2004, 11:46:55 AM »
Open up Themes\default\Display.template.php

find:
Code: [Select]
if ($message['member']['post_group'] != '')
replace:
Code: [Select]
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).
Michael Eshom
Cincy Space - now open!

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,920
  • 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: Remove membergroup indication
« Reply #3 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
Michael Eshom
Cincy Space - now open!

Offline DeadMetal

  • Jr. Member
  • **
  • Posts: 122
  • Gender: Male
Re: Remove membergroup indication
« Reply #4 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?

Offline Jack.R.Abbit™

  • SMF Friend
  • Sophist Member
  • *
  • Posts: 1,282
  • Gender: Male
Re: Remove membergroup indication
« Reply #5 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.

Offline DeadMetal

  • Jr. Member
  • **
  • Posts: 122
  • Gender: Male
Re: Remove membergroup indication
« Reply #6 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 ;)

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,920
  • 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: Remove membergroup indication
« Reply #7 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... :)
Michael Eshom
Cincy Space - now open!

Offline DeadMetal

  • Jr. Member
  • **
  • Posts: 122
  • Gender: Male
Re: Remove membergroup indication
« Reply #8 on: May 20, 2004, 02:54:15 PM »
Great it works ;D

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,920
  • 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: Remove membergroup indication
« Reply #9 on: May 20, 2004, 03:03:04 PM »
Good! It's amazing how simple these things are :)
Michael Eshom
Cincy Space - now open!

Offline Ben_S

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,727
  • xxx
Re: Remove membergroup indication
« Reply #10 on: May 20, 2004, 04:21:26 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 ;).
Liverpool FC Forum with 14 million+ posts.