News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

How to move avatar under username on threads?

Started by Quelley, January 16, 2016, 07:32:51 AM

Previous topic - Next topic

Quelley

Hi all,

I was wondering how I can move user's avatar right under the username on threads, now there's a userbar & rank between.

Sir Osis of Liver

Just move the avatar code up, like this -

Display.template.php



// Show a link to the member's profile.
echo '
', $message['member']['link'], '
</h4>
<ul class="reset smalltext" id="msg_', $message['id'], '_extra_info">';

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


// Show the member's custom title, if they have one.



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

                                     - R. Waters

Advertisement: