News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Ranks stars under the avatar.

Started by ole2329, May 03, 2017, 09:58:27 AM

Previous topic - Next topic

ole2329

how to put rank stars under the avatar pls?


Sir Osis of Liver

Display.template.php



// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
echo '
<li class="postgroup">', $message['member']['post_group'], '</li>';

// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<li class="avatar">
<a href="', $scripturl, '?action=profile;u=', $message['member']['id'], '">
', $message['member']['avatar']['image'], '
</a>
</li>';

echo '
<li class="stars">', $message['member']['group_stars'], '</li>';


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters


Advertisement: