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.

Is it possible to move the rank image to the left of the username?

View previous topic View next topic Go down

Is it possible to move the rank image to the left of the username?

Post by IP on August 29th 2011, 9:31 pm

As the title says, I'm curious to see if it's possible to move the rank image that by default appears under forum rank.

But, see, in my forum, I'm finding it rather unpleasant the idea of a rectangular rank image, so instead, I had the idea of using crowns instead, which are small 20x20 (or so) pixel images that I wish to have to the left of the username instead of under the username.

Like so:


I know that it has to do with HTML, because I managed to move the stars (by default the rank images were stars), above the forum rank.

My forum is built on PHPBB2. Link is http://aimgames.forummotion.com if it helps in any way..

~InhumanPwnage

IP
Forumember

Male Posts : 39
Reputation : 1
Language : English, Maltese
Location : Malta

http://aimgames.forummotion.com/

Back to top Go down

Re: Is it possible to move the rank image to the left of the username?

Post by Ayax on August 30th 2011, 1:40 am

Hi
ADD CSS
PA>Display>Colors>CSS
Code:
.name strong a[href="/u#number of user"]{
padding-left: 13px;
background: url(URL) no-repeat left;}

PA>Display>Templates>viewtopic_body
Look for this piece
Code:
<span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
            <span class="postdetails poster-profile">
            {postrow.displayed.POSTER_RANK}<br />
            {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />
replace
Code:
<span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_RANK}{postrow.displayed.POSTER_NAME}</strong></span><br />
            <span class="postdetails poster-profile">
            <br />
            {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />

Ayax
New Member

Posts : 6
Reputation : 0
Language : Spanish,English

http://asistencia.foroactivo.com

Back to top Go down

Re: Is it possible to move the rank image to the left of the username?

Post by IP on August 31st 2011, 8:33 pm

Thanks for the reply Ayax. Will try it out right now!

Will edit this post with the result in a bit.

IP
Forumember

Male Posts : 39
Reputation : 1
Language : English, Maltese
Location : Malta

http://aimgames.forummotion.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