hi, i am new to SMF and i need to change to positioned the Avatar so it will look like this:
Username
AVATAR
rank
Star
Posts
Karma:+0/-0
[applaud][smite]
i've tried moving around the :
// 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>';
but still no luck
btw i am using SMF 2.0.6 and an Epic theme by crip
Many thanks for your help ;)
NB: sorry to forgot adding [help] in the topics
Hi, welcome.
Adding "help" is not really mandatory, this is a support board so the "I need help" part is already implicit ;)
As for your problem, to where exactly did you move that bit and how does your Display.template.php file looks after the edit?
Do you use a custom theme? if you do you need to do the edit on its own Display.template.php file.
hi, i've put it it above and after
// Show information about the poster of this message.
yes i am using a custom theme called Epic by Crip, but it doesn't have it's own display.template.php file so i am guessing i should edit the default theme, it changed, but not at the way that i want it to be
so i am still a bit confused about it
ps: pardon my english, it's not my main language :-\
Yep, if a theme doesn't have a specific file, the template system will use the one from the default theme.
Inside the posters info there is an if statment for people who no longer have an active account and thus they are marked as guest, perhaps you moved the avatar block over there.
Can you please attach your current Display.template.php file here to take a look at it.
sure, here's the file:
Try this
WOW !!! Thanks Diego !!! that is exactly what i want
and thanks for Suki too :)