Advertisement:

Author Topic: Moving avatar  (Read 4081 times)

Offline Prosperous

  • Jr. Member
  • **
  • Posts: 105
  • Gender: Male
    • Turt
Moving avatar
« on: May 14, 2008, 11:53:57 AM »
Hey there everyone. Not 100% sure whether this is the right board to add this topic, so please move it if needed.

I want to know how to move where the avatar is displayed now to a higher area, maybe just above where a person's username is displayed in posts?

Thanks a lot! ;D
PorkoWogVisit UsContact

Looking for or in need of free or paid hosting?
Please contact me now or visit the link above for my very own hosting service.

Offline ONLiNEZONE

  • Semi-Newbie
  • *
  • Posts: 65
  • Gender: Male
  • Manchester United, Who else?
Re: Moving avatar
« Reply #1 on: May 14, 2008, 12:46:02 PM »
Hey there everyone. Not 100% sure whether this is the right board to add this topic, so please move it if needed.

I want to know how to move where the avatar is displayed now to a higher area, maybe just above where a person's username is displayed in posts?

Thanks a lot! ;D

Hi,

You will need to do alterations to the coding for the BoardIndex.php I think.
Regards,
Mark.

50 | 100 | 150 | 200 | 250 | 300...

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: Moving avatar
« Reply #2 on: May 14, 2008, 12:55:53 PM »
The file to edit is actually
Themes/default/Display.template.php

Offline ONLiNEZONE

  • Semi-Newbie
  • *
  • Posts: 65
  • Gender: Male
  • Manchester United, Who else?
Re: Moving avatar
« Reply #3 on: May 14, 2008, 02:21:39 PM »
The file to edit is actually
Themes/default/Display.template.php

Lol, Sorry :(
Regards,
Mark.

50 | 100 | 150 | 200 | 250 | 300...

Offline Prosperous

  • Jr. Member
  • **
  • Posts: 105
  • Gender: Male
    • Turt
Re: Moving avatar
« Reply #4 on: May 14, 2008, 08:43:23 PM »
The file to edit is actually
Themes/default/Display.template.php

Do you know what particular code I must edit in order to move the avatar up more?
PorkoWogVisit UsContact

Looking for or in need of free or paid hosting?
Please contact me now or visit the link above for my very own hosting service.

Offline Prosperous

  • Jr. Member
  • **
  • Posts: 105
  • Gender: Male
    • Turt
Re: Moving avatar
« Reply #5 on: May 16, 2008, 12:04:15 PM »
If anyone knows, you are welcome to answer as well. I need to get this sorted soon as clients on my forum have requested it. :)
PorkoWogVisit UsContact

Looking for or in need of free or paid hosting?
Please contact me now or visit the link above for my very own hosting service.

Offline NickC

  • Jr. Member
  • **
  • Posts: 295
  • Gender: Male
  • I don't know why, but there it is.
    • tapfs.com
Re: Moving avatar
« Reply #6 on: May 16, 2008, 01:10:45 PM »
Open Display.template.php in a text editor and search for "avatars". The block of code you need to move is:

Code: [Select]
// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'], '</div><br />';

Put it wherever you want in the list of items that starts with the comment "// Show information about the poster of this message".

Offline Prosperous

  • Jr. Member
  • **
  • Posts: 105
  • Gender: Male
    • Turt
Re: Moving avatar
« Reply #7 on: May 18, 2008, 12:12:56 PM »
I have successfully edited the 'Display.template.php' file and everything is working as it should be. Opened up my eyes to this file, where I am likely make a couple more adjustments in the future.

Thanks very much NickC! 8)
PorkoWogVisit UsContact

Looking for or in need of free or paid hosting?
Please contact me now or visit the link above for my very own hosting service.