News:

Wondering if this will always be free?  See why free is better.

Main Menu

Conceal member group title on topic view

Started by MarcusJ, December 09, 2009, 06:46:52 AM

Previous topic - Next topic

MarcusJ

I know you can hide post based member groups on topic view.  What I'd like to do is remove all member groups from being listed on topic view.  We use icons which have the member group in the icon.

Is anyone willing and able to help me know the best way to do this?

H

Sorry for the slow response

You can edit the Display.template.php to do this. Are you using the default theme?
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

MarcusJ

Yes I am.  SMF2.0 RC2 with Curve. 

Cheers. :)

H

Sorry for the slow response. Try finding and removing these (remember to take a backup!)

// 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>';


// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
echo '
<li class="postgroup">', $message['member']['post_group'], '</li>';


-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

MarcusJ

Thank you for the response.  Please don't worry about a 'slow response'.  I'm grateful for your help, and I've been busy with a new job.  Not time to play with forums until the weekend. :)

I'll give this a shot on Saturday night.  Thank you!

MarcusJ

Yes that did it.  Thank you for your help!

Kill Em All

Glad you got it working. Please feel free to mark this solved. :)


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Advertisement: