News:

Join the Facebook Fan Page.

Main Menu

Hiding membergroup name?

Started by Arex, May 22, 2010, 11:32:30 AM

Previous topic - Next topic

Arex

Hi, I currently have a set up where members are assigned into membergroups; each of which has a badge (star) with the membergroup name in. Due to the fact that the badge is already displaying the group name, I was wondering if there was a way of disabling the display of the group name above the badge in forum posts....

Thanks for any help!

Jakob Fel

I don't know about that. That is a good idea, but like I said, I don't know if you could do that. I know that it is possible, but I don't know if an SMF user could.
Freelance writer and advocate for security, privacy & DRM-free distribution
Support and Community Management at SMFNew Free Forum Hosting

Yahmez

I believe there is a mod for this, but you can also edit the membergroup name to be blank for each membergroup. That is how I accomplished this a while back. Another option might be to make the membergroups secondary, instead of primary.

Arex

Themes/yourtheme/display.template.php

// Show the member's primary group (like 'Administrator') if they have one.
if (!empty($message['member']['group']))
echo '
<li class="membergroup">', $message['member']['group'], '</li>';


Just commented that out (instead of permanently deleting it incase I need it later) and it did the trick! Seems there's no way of disabling it through the administration center.

Advertisement: