Jump to content

Group Icon Image Please consider


Woodsman

Recommended Posts

This theme design issue has been plaguing me for some time now and it is turning into an obsession.

In 3.x We could call up a team icon per skin theme as so.

group_icon_image.thumb.png.9c21c69f75c1a

How do I go about creating a field in 4.0.x?

As of this moment it can't be done.

group_icon_image_4-0.thumb.png.7333954f0

Yes I can add this to the phtml template as so.

html - forums - front - topics - postContainer.phtml
Add after
<li class='ipsResponsive_hidePhone'><img src='{file="$comment->author()->group['g_icon']" extension="core_Theme"}' alt='' class='cAuthorGroupIcon'></li>
{{endif}}
at or near line 39.

<li class='{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )" raw="true"}'></li>

But I have discovered that this is an impractical method and not the way to go for production themes.

I have tried this also as a profile field as

background-image: url( {resource="team_icons/admin.png" app="core" location="custom"} );

But for every attempt I get an error that it is invalid.

So please bring this back....

For this I promise not to pick on Lindy's love for Chevy's....

OK that may be stretching it a bit on keeping that one. But I did type it without laughing.............................................................(much)

Thanks-

The Woodsman

 

 

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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