News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Moving Avatar and Custom Profile Areas

Started by Melissa524, July 16, 2010, 12:33:40 PM

Previous topic - Next topic

Melissa524

Is there a way, or a mod, that will allow me to move the avatar so that it is above the membergroup and custom title area.  Also, is there anyway to reorder the custom profile areas?

Thanks for all the help in advance.
In case, I forget to say.  I am using 2.0.2

Adish - (F.L.A.M.E.R)

You can try alter the position of codes in Display.template.php

That should allow you to change the location.

About the reordering the custom profile areas, I am looking into it.

Melissa524

How would you alter the Display.template.php?  I am a newbie here so I am not sure how to do that.
In case, I forget to say.  I am using 2.0.2

cicka

Find this code and comment it out

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


And add  the same code you just comment it out below this other code


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

Melissa524

In case, I forget to say.  I am using 2.0.2

Kill Em All

Put "//" before each line of code. Without the quotes.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Melissa524

Thanks.  It took me a second to understand, but that worked like a charm.
In case, I forget to say.  I am using 2.0.2

Kill Em All

No problem. :)

I am going to mark the topic solved, please feel free to unmark it solved if you have further questions. :)


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

cicka


Advertisement: