Quick Login   
 
Register AdminFusion Tutorials Post Fusion Forum Matrix
 
Go Back AdminFusion » Software & Tech » Software » SMF » Re- ordering infobar - moving the avatar
Reply
 
LinkBack
Old 02-13-2007, 09:46 PM   #1
Veteran
 
DrkSnpr14's Avatar
 
Join Date: Sep 2006
Location: Alberta Canada
Posts: 920
DrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of light
Send a message via MSN to DrkSnpr14
Re- ordering infobar - moving the avatar

I've been trying to get some help at the SMF forums, but they've been useless so far. Everything I've found on the subject doesn't seem to be working. Here's the problem:

I was wondering how, if possible, I might go about moving the avatar position in the infobar from it's current location, to under the username (as shown in the image) I bet it's a simple re ordering of a template somewhere, but I don't know where to start. I'm running SMf 1.1.1, and this theme runs off the default templates.



What I've found so far is that I should just re-order the parts of the display.template.php, which I've done with no result. Anyone here know how I might solve this problem?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
DrkSnpr14 is offline   Reply With Quote
Old 02-13-2007, 10:51 PM   #2
Member
 
Join Date: Apr 2006
Posts: 128
Ben_S has a spectacular aura aboutBen_S has a spectacular aura about
Changing it in Display.template.php is what you need to do, what changes did you make, that should work.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
with 3 million+ posts. Powered by
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Ben_S is offline   Reply With Quote
Old 02-13-2007, 10:58 PM   #3
Veteran
 
DrkSnpr14's Avatar
 
Join Date: Sep 2006
Location: Alberta Canada
Posts: 920
DrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of light
Send a message via MSN to DrkSnpr14
Quote:
Originally Posted by Ben_S View Post
Changing it in Display.template.php is what you need to do, what changes did you make, that should work.
I cut and pasted the definitions in the order I wanted, which is what they told me I should do. I moved all the parts about the avatar up where I want it, but nothing happened. It's ordered like this:

Code:
// Show information about the poster of this message.
      echo '
            <table width="100%" cellpadding="5" cellspacing="0">
               <tr>
                  <td valign="top" width="15%" rowspan="2">
                     <b>', $message['member']['link'], '</b><br />
                     <span class="smalltext">';

      // Show the member's custom title, if they have one.
      if (isset($message['member']['title']) && $message['member']['title'] != '')
         echo '
                        ', $message['member']['title'], '<br />';

      // Show avatars, images, etc.?
         if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
            echo '
                        ', $message['member']['avatar']['image'], '<br />';

      // Show the member's primary group (like 'Administrator') if they have one.
      if (isset($message['member']['group']) && $message['member']['group'] != '')
         echo '
                        ', $message['member']['group'], '<br />';
Unless I've missed something, or have the wrong thing?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
DrkSnpr14 is offline   Reply With Quote
Old 02-14-2007, 12:54 PM   #4
Member
 
Join Date: Apr 2006
Posts: 128
Ben_S has a spectacular aura aboutBen_S has a spectacular aura about
Are you editing the template that relates to your theme?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
with 3 million+ posts. Powered by
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Ben_S is offline   Reply With Quote
Old 02-15-2007, 01:33 AM   #5
Veteran
 
DrkSnpr14's Avatar
 
Join Date: Sep 2006
Location: Alberta Canada
Posts: 920
DrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of light
Send a message via MSN to DrkSnpr14
Quote:
Originally Posted by Ben_S View Post
Are you editing the template that relates to your theme?
The theme I have runs off of the default theme, there is no Display.template.php for it. And I've double checked the default theme as well, and there's not change there either
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
DrkSnpr14 is offline   Reply With Quote
Old 02-20-2007, 10:02 AM   #6
Veteran
 
DrkSnpr14's Avatar
 
Join Date: Sep 2006
Location: Alberta Canada
Posts: 920
DrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of lightDrkSnpr14 is a glorious beacon of light
Send a message via MSN to DrkSnpr14
Well, the problem was myself once again I was editing the wrong templates. I was changing the ones for the classic theme, and not default, so of course nothing was happening I've managed to solve a lot of other problems this way to now, so I'm good

And yes, just confirming, that re arranging the info in the CORRECT index.template.php is the way to do it
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
DrkSnpr14 is offline   Reply With Quote
Old 02-21-2007, 11:59 PM   #7
Member
 
Join Date: Apr 2006
Posts: 128
Ben_S has a spectacular aura aboutBen_S has a spectacular aura about
Thought thats what it had to be. ;D
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
with 3 million+ posts. Powered by
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Ben_S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Who Has The Best Avatar? Toucan42 Off Topic 79 01-31-2007 07:54 PM
Clever avatar site jam Off Topic 5 11-25-2006 03:29 PM
Why did you choose your avatar? Seraph Off Topic 10 04-27-2006 07:56 AM
No Avatar Image For Red Deluxe Eminem Off Topic 4 12-06-2005 05:19 PM
Avatar Packs gprime vBulletin 4 11-24-2005 01:19 AM

AdminFusion

All times are GMT +1. The time now is 06:48 AM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

© 2009 AdminFusion | Advertising Opportunities | Legal | A member of the Crowdgather Forum Community
 
From:
Title:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77