Jump to content

(NB40) Secondary Group Icons


Recommended Posts

  • 1 month later...
29 минут назад, новичок лак сказал:

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

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

 

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

Edited by VladislavD
Link to comment
  • 2 weeks later...
  • 1 month later...

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';

 

Link to comment
  • 3 weeks later...
  • 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
Link to comment
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"}

 

Link to comment
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.

Link to comment
  • Recently Browsing   0 members

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