Jump to content
WebFlake
  • 0

IPB Secondary User Group Icons


randomuser256

Question

Hey, I'm trying to add secondary user group icons in to the postContainer. I'm not sure how I would go about doing something like this.

I don't want to use a plugin, mainly because the format I have now wont work with the plugins that are out there.

This is the code for the primary group icon:

{{if \IPS\Member\Group::load( $comment->author()->member_group_id )->g_icon }}
                  <li class='ipsResponsive_hidePhone'><img src='{file="$comment->author()->group['g_icon']" extension="core_Theme"}' alt='' class='cAuthorGroupIcon'></li>
              {{endif}}
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...