Jump to content

(NB40) Secondary Group Icons


Recommended Posts

Posted
30 minutes ago, fix3r said:

Issue seems to only be on mobile browser (im using Safari not sure about others)

I answered in PM.

I use ipsResponsive_hidePhone class. Read more

If you want to show icons add in custom.css

.nbSecGroupIconsProfile.ipsResponsive_hidePhone {
	display: block !important;
}

 

  • 2 months later...
  • 1 month later...
Posted

Hello,

13 hours ago, Maxtor said:

in this example you have primary, secondary and the 3rd ? 

Primary group is Administrators

Secondary groups are Member and Moderators

  • 1 month later...
Posted (edited)
17 hours ago, newbie LAC said:

.nbSecGroupIconsProfile {
    display: inline;
}

 

But this don't work it wont resize on profile why?

.nbSecGroupIconsPost,.cAuthorGroupIcon,.nbSecGroupIconsProfile {
    display: inline;
    height: 30px;
    width: 30px;
}

511902059_ScreenShot2018-12-29at7_46_17PM.thumb.png.82eb5e34aef09072fd3fb420c1d7e3b2.thumb.png.d0074f56311324c204cc8ffed120eac4.png

Edited by fix3r
Posted

Hello,

4 minutes ago, IgorPec said:

 How to?

Edit the templates

core - global - plugins - nbSecGroupIconsProfile
core - global - plugins - nbSecGroupIconsPost

You can check the group ID ($grOther) and add the link

 

34 minutes ago, IgorPec said:

One small feature request ... I want to have custom links on those badges?

Only links? Without any replacements (like {member_url}, {member_id})?

Posted (edited)
2 minutes ago, newbie LAC said:

Only links? Without any replacements (like {member_url}, {member_id})?

Yes. The idea is to lead them to the subscription page. URL per group would be perfect.

Edited by IgorPec
Posted

One problem. I want to use this plugin without showing group names, but when I disable this line in a template

<li>{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="false"}</li>

secondary group icons are also gone. Can't find anything useful in a forum docs. Any hint how to deal with this? Masking with CSS is not valid option.

Posted
2 minutes ago, IgorPec said:

 


<li>{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="false"}</li>

 

change to 

<li></li>

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...