This section contains detailed articles elaborating on some of the common issues phpBB users encounter while using the product. Articles submitted by members of the community are checked for accuracy by the relevant phpBB Team. If you do not find the answer to your question here, we recommend looking through the Support Section as well as using the Site Wide Search.

How to : show icon on friends mini-profile

Description: How to show a icon on your friends mini-profile beside their posts.

In Categories:

Link to this article: Select All
[url=https://www.phpbb.com/support/docs/en/3.0/kb/article/how-to-show-icon-on-friends-mini-profile/]Knowledge Base - How to : show icon on friends mini-profile[/url]

This Article will show you how to place a icon under a users rank if the user is on your friends list.

You can use any image you like, just save it to your /styles/prosilver/imageset/ directory.

Open up styles/prosilver/template/viewtopic_body.html and find :

Code: Select all

         <!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->


after-add

Code: Select all

      <!-- IF postrow.S_FRIEND --> <dd><img src="{T_IMAGESET_PATH}/friend.gif" /></dd> <!-- ENDIF -->


You can place that code where ever you desire between <!-- BEGIN postrow --> and <!-- END postrow -->