Jump to content

(NB40) Secondary Group Icons


newbie LAC

Recommended Posts

  • 2 months later...
  • 1 month later...
  • 1 month later...
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
Link to comment
Share on other sites

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})?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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