Jump to content

(NB40) Secondary Group Icons

Featured Replies

  • Author

Hello,

  On 10/24/2020 at 4:30 PM, Adam.M said:

I have a specific group that I want displayed but only visible to admin and moderators. Is this possible?

You can edit the templates

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

Find 

{{if isset($memberGroups[$grOther]) and $icon = $memberGroups[$grOther]->g_icon}}

Add below

			{{if $grOther == X and !(\IPS\Member::loggedIn()->isAdmin() or \IPS\Member::loggedIn()->modPermissions() !== false)}}
				{{continue;}}
			{{endif}}

X is specific group ID

Edited by newbie LAC

  • Replies 313
  • Views 33.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • newbie LAC
    newbie LAC

    If the member have 3 secondary groups (superuser, moderator, supermoderator) icons will be shown like superuser moderator supermoderator I can add new global setting for sorting groups

  • newbie LAC
    newbie LAC

    I uploaded new version Try it Also I added settings

  • newbie LAC
    newbie LAC

    Is that what you want?

Posted Images

  On 10/25/2020 at 4:19 AM, newbie LAC said:

{{if $grOther == X and !(\IPS\Member::loggedIn()->isAdmin() or \IPS\Member::loggedIn()->modPermissions() !== false)}} {{continue;}} {{endif}}

thank you 🙂 
 

Turns out I have more than one group that I want to show only to mods/admins. 

what is the correct formatting? I tried this:

 

{{if $grOther == (26 or 27and !(\IPS\Member::loggedIn()->isAdmin() or \IPS\Member::loggedIn()->modPermissions() !== false)}} {{continue;}} {{endif}}

 

  • Author

Hello,

  On 10/26/2020 at 1:48 PM, Adam.M said:

thank you 🙂 
 

Turns out I have more than one group that I want to show only to mods/admins. 

what is the correct formatting? I tried this:

 


{{if $grOther == (26 or 27and !(\IPS\Member::loggedIn()->isAdmin() or \IPS\Member::loggedIn()->modPermissions() !== false)}} {{continue;}} {{endif}}

 

 

{{if \in_array($grOther, array(26, 27)) and !(\IPS\Member::loggedIn()->isAdmin() or \IPS\Member::loggedIn()->modPermissions() !== false)}} {{continue;}} {{endif}}

Edited by newbie LAC

  • 3 months later...

I could use some help here if someone is willing. 

Updated and changed over to a theme that worked for us, Dreadnaught by Taman on here. It'll show groups such as moderator and admin, but absolutely won't show any of the other groups that we have. When I switched to another theme, there they are!

Any ideas on what/where to edit as I would love to have this work as our community members enjoy their 'badges'. 

  • 2 weeks later...

Hello,

How to display group badges BELOW the number of posts and reputation?

Currently badges are displayed under the primary member group name like this.
image.png.daa069d892837f0a6bb351cc5b3f613c.png

 

I want it to display in this order
AVATAR PIC
Administrator
Reputation
Number of Posts
Group Badges

Please help, thanks

  • 1 month later...

 -edit

Edited by Junior Space Force

  • 3 months later...

Will this be updated for 4.6?

  • 3 weeks later...
  • 5 months later...

I just purchased this and was wondering if you can send me the .xml for version 1.0.10 as I cannot install it through marketplace for some reason.

  • 9 months later...

I am running this with IPB v4.7.2.1 and it's working just fine. However, when I go to upgrade to v4.7.4, I get a message saying that this plugin is NOT compatible with 4.7.4.

Suggestions?

Update: the incompatibility warning in the update process appears to have been a false one. This plugin is still working post-update to 4.7.4.

Edited by Heavy Harmonies

  • 8 months later...

Will this plugin ever be available to buy again? 

I'd like this, but cannot get it through AdminCP. @newbie LAC

  On 8/12/2023 at 9:32 PM, StreamGro said:

Will this plugin ever be available to buy again? 

I'd like this, but cannot get it through AdminCP. @newbie LAC

The developer is not around anymore (at least for now?). Unless they renew their license, their modifications won't be available for purchase.

 

For more details, check the topic linked in the reply above.

Recently Browsing 0

  • No registered users viewing this page.