The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How to move username, and rank above avatar?

View previous topic View next topic Go down

Solved How to move username, and rank above avatar?

Post by PlatinumWata on June 17th 2011, 8:41 pm

Hello guys,

I want to put a username, and rank above the avatars. However, I want a rank image to be displayed under avatar. I know this can be done, but how?

PlatinumWata
Forumember

Male Posts : 443
Reputation : 0
Language : English
Location : United States (born from England)

Back to top Go down

Solved Re: How to move username, and rank above avatar?

Post by Nera. on June 17th 2011, 11:12 pm

Hi,

PunBB?
You want to have it like this?
1. Name
2. Rank
3. Avatar
4. Rank

Go to viewtopic_body template, copy this
Code:
{postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}

Paste it above this
Code:
      <div class="user-basic-info">


This one is for letter rank => {postrow.displayed.POSTER_RANK_NEW}
This one for image rank => {postrow.displayed.RANK_IMAGE}

Rearange it as you want it. If you want only image above grab only image variable and delete if from below if you don't wont it below. Save and publish template.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: How to move username, and rank above avatar?

Post by PlatinumWata on June 18th 2011, 12:21 am

Yea, something like that.

I want it like:

1. Name
2. Rank
3. Avatar.
4. Picture Rank

Do I still do the same thing as you mentioned?

PlatinumWata
Forumember

Male Posts : 443
Reputation : 0
Language : English
Location : United States (born from England)

Back to top Go down

Solved Re: How to move username, and rank above avatar?

Post by Russel on June 18th 2011, 12:30 am

Yes, you should exactly do what Nera mentioned above Smile

Russel
Active Poster

Male Posts : 1400
Reputation : 235
Language : English, Filipino
Location : Philippines

http://help.forumotion.com/forum

Back to top Go down

Solved Re: How to move username, and rank above avatar?

Post by Nera. on June 18th 2011, 12:42 am

@PlatinumWata wrote:
Do I still do the same thing as you mentioned?

Find this one
Code:
{postrow.displayed.POSTER_RANK_NEW}
Delete it from her first place and paste above this
Code:
<div class="user-basic-info">

Save + Publish

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: How to move username, and rank above avatar?

Post by PlatinumWata on June 18th 2011, 12:51 am

Worked like a charm (as I see in preview)

How do I publish it? And for some reason the picture image is not displaying.

PlatinumWata
Forumember

Male Posts : 443
Reputation : 0
Language : English
Location : United States (born from England)

Back to top Go down

Solved Re: How to move username, and rank above avatar?

Post by Nera. on June 18th 2011, 12:58 am

There should be no reason for that. See => PunBB http://i.imm.io/6yqL.png

That part in your templates should look like this after you change places.
Code:
                  <div class="user">
                     <div class="user-ident">
                        <h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
{postrow.displayed.POSTER_RANK_NEW}
                        <div class="user-basic-info">
                           {postrow.displayed.POSTER_AVATAR}

                           {postrow.displayed.RANK_IMAGE}
                        </div>
                     </div>

You publish it by clicking the green cross.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: How to move username, and rank above avatar?

Post by PlatinumWata on June 18th 2011, 1:01 am

Mine looks like this: Is this correct?

Code:
<div class="postbody"{postrow.displayed.THANK_BGCOLOR}>
                  <div class="user">
                     <div class="user-ident">
                        <h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
                                                                {postrow.displayed.POSTER_RANK_NEW}
                        <div class="user-basic-info">
                           {postrow.displayed.POSTER_AVATAR}<br />
                           {postrow.displayed.RANK_IMAGE}
                        </div>


PlatinumWata
Forumember

Male Posts : 443
Reputation : 0
Language : English
Location : United States (born from England)

Back to top Go down

Solved Re: How to move username, and rank above avatar?

Post by Nera. on June 18th 2011, 1:03 am

Yes it is and all is OK when I use yours.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: How to move username, and rank above avatar?

Post by PlatinumWata on June 18th 2011, 1:06 am

It worked now!

Thanks for your help! Do you have MSN mate?

Also, is their anyway I can have rank image alone without a rank text?

PlatinumWata
Forumember

Male Posts : 443
Reputation : 0
Language : English
Location : United States (born from England)

Back to top Go down

Solved Re: How to move username, and rank above avatar?

Post by Nera. on June 18th 2011, 1:15 am

I don't use MSN.

Just delete the variable
Code:
{postrow.displayed.POSTER_RANK_NEW}
It will delete all only written ranks.

Or you can also use &nbsp*; to in ranks names. Leave out the star.

I have to go now, by Hello

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: How to move username, and rank above avatar?

Post by PlatinumWata on June 18th 2011, 1:20 am

Cool, thanks.

PlatinumWata
Forumember

Male Posts : 443
Reputation : 0
Language : English
Location : United States (born from England)

Back to top Go down

Solved Re: How to move username, and rank above avatar?

Post by Nera. on June 18th 2011, 1:21 am

You welcome.

Solved ~ Locked

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum