Link to the mod (https://custom.simplemachines.org/index.php?mod=2485)
This mod removes the Member Group title below the user name on topic view. This is useful on forums when you use member group stars/icons that contain the membergroup title or description in them. In which case the text above the star/icon become redundant.
To enable/disable: Configuration > Modification Settings > Miscellaneous > Display Membergroup Titles on Posts
Awesome! I have seen this requested many times. Thanks
Does not work on SMF 2.0 RC2?
I installed fine on mine, but it just keep displaying the titles.
wonderful! were you reading my mind?
This may answer my current problems too.
HOWEVER
Does it affect the membergroups in the Users online?
How would it affect the postcount groups?
Edit:
Postcount Groups are NOT affected. Nor is the membergroup list in Users Online.
Quote from: Sakae on March 27, 2010, 07:14:06 PM
Does not work on SMF 2.0 RC2?
This small mod was written for and tested only on RC3. Sorry.
Quote from: Brack1 on March 28, 2010, 04:46:23 PM
How would it affect the postcount groups?
Edit:
Postcount Groups are NOT affected. Nor is the membergroup list in Users Online.
I didn't think about hiding the title for post count based groups. I also see that the group title is displayed when viewing private messages.
I am brand new to this sort of thing. I'll see about getting these features added to a future version. :)
Hey bud
The mod is a good one believe me.
I asked about the post counts because I still want them to show.
Good job.
Hey guys.
Is there anyway this can be extended to a persons pm?
Quote from: Brack1 on March 30, 2010, 05:16:31 PM
Hey guys.
Is there anyway this can be extended to a persons pm?
Yes I would like to extend the functionality. I know Labradoodle has a few things he is working on currently. I haven't had any time to study up and do it on my own. But I would like to include that in the next release. Perhaps not until SMF goes gold however.
Exactly what I was looking for !
Nice mod :)
thanks :)
congrats, good mod.
easy way without using mod is to go to display template.php of your theme and remove this code.
// Show the member's primary group (like 'Administrator') if they have one.
if (!empty($modSettings['enable_membergroup_display']) && (!empty($message['member']['group'])))
echo '
<li class="memdisplay">', $message['member']['group'], '</li>';
my reasons is that if we keep installing all the mods we like/need.
we will have over 100 mods in a few weeks and thats bad news for forum perfomance.
Easy and simple, thanks.
Thanks
I Really Need That
Now I Can Use Administrator Image/Badge Instead Of Text "Administrator"
Same For Other Regular Groups
Again Thanks
Could you update this so it will work with SMF 2.0 Gold?
Quote from: rica.carv on July 12, 2011, 06:07:01 PM
Well, i've been working on this today, and come up with a modification to an existing mod that does this and a few more, in v2.0....
Have a look....
It gave me a lot of errors before installation, it doesn't seem to like my theme very much. I would rather just use the mod on this thread.
Quote from: npiccoli on July 12, 2011, 06:13:59 PM
Quote from: rica.carv on July 12, 2011, 06:07:01 PM
Well, i've been working on this today, and come up with a modification to an existing mod that does this and a few more, in v2.0....
Have a look....
It gave me a lot of errors before installation, it doesn't seem to like my theme very much. I would rather just use the mod on this thread.
It currently only works on the default SMF standard theme.....
Even the original mod it's based also works only with the default theme....
Maybe if i can see your theme, i can change it to work with it....
Quote from: rica.carv on July 13, 2011, 05:00:49 AM
Quote from: npiccoli on July 12, 2011, 06:13:59 PM
Quote from: rica.carv on July 12, 2011, 06:07:01 PM
Well, i've been working on this today, and come up with a modification to an existing mod that does this and a few more, in v2.0....
Have a look....
It gave me a lot of errors before installation, it doesn't seem to like my theme very much. I would rather just use the mod on this thread.
It currently only works on the default SMF standard theme.....
Even the original mod it's based also works only with the default theme....
Maybe if i can see your theme, i can change it to work with it....
Sure. I'm using laGusta from Dzinerstudio.
EDIT: I was able to follow the manual installation instructions for SMF RC3 to get this working with SMF 2.0. I would recommend that if people would like to install this mod that they should simply follow the manual installation instructions.
Works for me through emulating 2.0 RC3.
Hello:
These are my notes on how to make this mod with with 1.1.16. Feel free to make a mod of this or update the existing one. Just don't forget to give me credit.
./Sources/ModSettings.phpFind:
Quotefunction ModifyBasicSettings()
{
global $txt, $scripturl, $context, $settings, $sc, $modSettings;
$config_vars = array(
After Add:
Quote// Hide Membergroup
array('check', 'enable_membergroup_display'),
./Themes/default/Display.template.phpFind:
Quote// Show the member's primary group (like 'Administrator') if they have one.
if (isset($message['member']['group']) && $message['member']['group'] != '')
Replace with:
Quote// Show the member's primary group (like 'Administrator') if they have one.
if (!empty($modSettings['enable_membergroup_display']) && (!empty($message['member']['group'])))
./Themes/default/languages/Modifications.english.phpFind:
Quote?>
Add Before:
Quote// MarcusJ's Hide Membergroup Titles Mod.
$txt['enable_membergroup_display'] = 'Display Membergroup Titles on Posts';
Notes: In the 1.1.16 control panel this option is found here -
Admin > Configuration> Features and Options > Under the Basic Features
When I installed my code the option was set to hide already. Just go into the control panel and check to box and save. This should make the membergroups show up again.
Enjoy
This is posted as is no support as I'm just a poor coder and not good enough to give support or make a mod.
Is there an ETA for updating the MOD to hide the groups from PM's as well?
how to removed post based group tiltles from posts, profile, messages as well ????
This is the best MOD too. :)
Quote from: OnlineFunCorner on March 01, 2013, 03:18:43 AM
how to removed post based group tiltles from posts, profile, messages as well ????
same question, and how i can hide membergroup titles in personal messages?
Quote from: Snoopix on July 06, 2013, 08:03:46 PM
same question, and how i can hide membergroup titles in personal messages?
Go to /Themes/default/PersonalMessage.template.php
// Show the member's primary group (like 'Administrator') if they have one.
if (isset($message['member']['group']) && $message['member']['group'] != '')
echo '
<li class="membergroup">', $message['member']['group'], '</li>';
Replace:
/*// Show the member's primary group (like 'Administrator') if they have one.
if (isset($message['member']['group']) && $message['member']['group'] != '')
echo '
<li class="membergroup">', $message['member']['group'], '</li>';*/
Any chance of this getting updated for 2.0.7?
Thanks!