Jump to content

(NB40) Secondary Group Icons

Featured Replies

On 1/3/2019 at 12:49 PM, newbie LAC said:

Ok. I'll add new settings for next release

That was super fast. Thank you! 

  • 1 month later...
  • Replies 313
  • Views 32k
  • 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

Hello, how to make icons appear on a mobile device?

  • Author
1 minute ago, VladislavD said:

Hello, how to make icons appear on a mobile device?

Hello,

Add in custom.css

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

 

5 minutes ago, newbie LAC said:

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

The profile is super !! and in the posts?

  • Author

This doesn't work in posts.

Where (place) do you want to show icons?

Edited by newbie LAC

29 минут назад, новичок лак сказал:

Должна работать в обоих направлениях.

Не могли бы вы дать мне ссылку?

 

иконки социальных сетей для тестирования

Edited by VladislavD

  • Author

This doesn't work in posts.

Where (after name/after date) do you want to show icons in the post?

7 minutes ago, newbie LAC said:

Where (after name/after date) do you want to show icons in the post?

 

img-2019-02-15-15-43-55.png

  • 2 weeks later...

Hi,

is this compatible with 4.4?

Thanks

  • Author

Hello,

14 hours ago, Unlucky said:

is this compatible with 4.4?

Yes

  • 1 month later...

The problem I am having is when I edit the plugin and change a setting then hit save it reverts back to default do you know why this is happening?

  • Author

Hello,

8 hours ago, Ben Kingsley said:

The problem I am having is when I edit the plugin and change a setting then hit save it reverts back to default do you know why this is happening?

1. sgrs.thumb.jpg.7cf87bce714e2496d1522d8355129359.jpg

2. Run sql-query (ACP - Support - SQL Toolbox) and show me result

SELECT * FROM core_sys_conf_settings WHERE conf_key='nb_sec_gr_icons_post_groups';

 

  • 3 weeks later...

It wont save what i change. 

  • Author

Hello,

50 minutes ago, Motra said:

It wont save what i change. 

What do you mean?

  • Author
1 hour ago, Motra said:

It wont save what i change. 

Not all settings were imported.

I've reinstalled the plugin.

  • 7 months later...

@newbie LAC i don't work on version 4.4.9

 

in my:

postContainer

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

I have it like that:

{expression="str_replace(array('lkgroup_'), array('lkgroup_block_'), \IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName)" raw="true"}

do you need to change something in the code or not?

 

Because nothing is displayed.

1.png.84dce0e269520e7e7fd69c2c44ffd918.png2.png.6717187518f79578a3e1f9c9e7239463.png

3.thumb.png.9d14cabe42302b44aaba1f88337c5a89.png

 

Edited by Paweł Mysłek

  • Author

Hello,

16 hours ago, Paweł Mysłek said:

i don't work on version 4.4.9

Have you configure the settings on the 1st tab?

@newbie LAC

But now I see that it adds as they are Group graphics.

And my ranks are formatted Formatting prefix.

Can it be done so that it takes the format prefix instead of the Graphics group?

  • Author
3 hours ago, Paweł Mysłek said:

Can it be done so that it takes the format prefix instead of the Graphics group?

Posts.

Open the template core - global - plugins - nbSecGroupIconsPost

Find and remove 

 and $icon = $memberGroups[$grOther]->g_icon

Find 

<img src='{file="$icon" extension="core_Theme"}' alt='{expression="$memberGroups[$grOther]->name"}' class='cAuthorGroupIcon'>

change to 

{expression="$memberGroups[$grOther]->formattedName" raw="true"}

Profiles.

Open the template core - global - plugins - nbSecGroupIconsProfile

Find and remove 

 and $icon = $memberGroups[$grOther]->g_icon

Find

<img src='{file="$icon" extension="core_Theme"}' alt='{expression="$memberGroups[$grOther]->name"}'>

change to 

{expression="$memberGroups[$grOther]->formattedName" raw="true"}

 

1 hour ago, newbie LAC said:

Posts.

Open the template core - global - plugins - nbSecGroupIconsPost

Find and remove 


 and $icon = $memberGroups[$grOther]->g_icon

Find 


<img src='{file="$icon" extension="core_Theme"}' alt='{expression="$memberGroups[$grOther]->name"}' class='cAuthorGroupIcon'>

change to 


{expression="$memberGroups[$grOther]->formattedName" raw="true"}

Profiles.

Open the template core - global - plugins - nbSecGroupIconsProfile

Find and remove 


 and $icon = $memberGroups[$grOther]->g_icon

Find


<img src='{file="$icon" extension="core_Theme"}' alt='{expression="$memberGroups[$grOther]->name"}'>

change to 


{expression="$memberGroups[$grOther]->formattedName" raw="true"}

 

I did so and nothing. Displays only the main range.

  • Author
16 hours ago, Paweł Mysłek said:

I did so and nothing. Displays only the main range.

Are icons/groups displayed on the default theme?

Recently Browsing 0

  • No registered users viewing this page.