ElkArte Community

Elk Development => Feature Discussion => Topic started by: Jorin on February 24, 2017, 12:57:53 am

Title: Don't show user group name when using icons
Post by: Jorin on February 24, 2017, 12:57:53 am
As you can see here (http://forum-alternative-antriebe.de/index.php/topic,6553.0.html), I use some small coloured icons for the user groups of my board. My question is, is there a way to hide the user group name under these icons?

Second question: When a user is a board moderator, the normal member group icon is shown instead of the board mod icon in boards where he is board mod. Oh my, does anyone understand what I mean?  :D 
Here's an example (http://forum-alternative-antriebe.de/index.php/topic,1509.msg105751.html#msg105751). The user hungryeinstein is board mod in this board, but the board mod icon is not shown, just the one for normal users. I think when the user has a special position in this board the icon for this group should be shown. Hm, maybe this is more of a support question?
Title: Re: Don't show user group name when using icons
Post by: emanuele on February 26, 2017, 01:34:08 pm
I missed that, sorry! :-[

1) In GenericMessages.template.php, the lines are:
		// Show the member's primary group (like 'Administrator') if they have one.
if (!empty($message['member']['group']))
$poster_div .= '
<li class="listlevel1 membergroup">' . $message['member']['group'] . '</li>';
removing them will hide the name.

2) As you can see here (http://www.elkarte.net/community/index.php?topic=4309.0), the local moderator badge is shown, because this is the usual behaviour. Your example, though, is a "global moderator", this and administrator are the only two exceptions to the rule and are two groups that have precedence over "local moderator".
Title: Re: Don't show user group name when using icons
Post by: Jorin on February 26, 2017, 04:21:08 pm
For 2: Bad example. hungryeinstein is now global mod and no longer board mod. I changed his status this weekend, sorry.

The topic is not solved.
Title: Re: Don't show user group name when using icons
Post by: emanuele on February 26, 2017, 04:34:32 pm
Which one is not solved? ;)
Title: Re: Don't show user group name when using icons
Post by: Jorin on February 26, 2017, 04:56:40 pm
Hm... You are right. It seems it is working on my forum too.  :-[

Is it possible only the user hungryeinstein had the problem when he was only board mod? Don't know... Sorry.
Title: Re: Don't show user group name when using icons
Post by: emanuele on February 28, 2017, 11:23:40 am
Dunno, seems strange that only one user has the problem.
Title: Re: Don't show user group name when using icons
Post by: Jorin on March 01, 2017, 01:29:53 am
Strange things are happening in my forum. Sometimes likes are shown double in the list and then they unexpectedly disappear.  :o
Title: Re: Don't show user group name when using icons
Post by: ahrasis on March 01, 2017, 05:11:15 am
ElkArte supernatural thingy?