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.

PunBB Name under Avatar

View previous topic View next topic Go down

Solved PunBB Name under Avatar

Post by Legend™ on May 27th 2012, 6:06 pm

Is there a way to put the username under the avatar image in PunBB forums?


Last edited by Legend™ on May 29th 2012, 4:32 pm; edited 1 time in total

Legend™
Forumember

Male Posts : 548
Reputation : 30
Language : Javascript, CSS, English
Location : Omaha

http://webgaming.forumotion.com/forum

Back to top Go down

Solved Re: PunBB Name under Avatar

Post by Legend™ on May 28th 2012, 3:34 pm

Bump

Legend™
Forumember

Male Posts : 548
Reputation : 30
Language : Javascript, CSS, English
Location : Omaha

http://webgaming.forumotion.com/forum

Back to top Go down

Solved Re: PunBB Name under Avatar

Post by Akkii on May 28th 2012, 5:49 pm

In viewtopic_body template , find:
Code:
<div class="user-basic-info">
<h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
{postrow.displayed.POSTER_AVATAR}<br />
{postrow.displayed.POSTER_RANK_NEW}
{postrow.displayed.RANK_IMAGE}
</div>

And change with:
Code:
<div class="user-basic-info">
{postrow.displayed.POSTER_AVATAR}<br />
{postrow.displayed.POSTER_NAME}<br />
{postrow.displayed.POSTER_RANK_NEW}
{postrow.displayed.RANK_IMAGE}
</div>

That should work Smile

Akkii
Forumember

Male Posts : 710
Reputation : 107
Language : English,HTML, CSS,Photoshop,Javascript!
Location : Here on Forumotion!

http://www.csshelp.net

Back to top Go down

Solved Re: PunBB Name under Avatar

Post by Legend™ on May 28th 2012, 6:02 pm

Nope, it now had my username above and below the avatar image.

Legend™
Forumember

Male Posts : 548
Reputation : 30
Language : Javascript, CSS, English
Location : Omaha

http://webgaming.forumotion.com/forum

Back to top Go down

Solved Re: PunBB Name under Avatar

Post by Akkii on May 28th 2012, 6:04 pm

Because you didn't remove one of them , remove one <h4 class="username">{postrow.displayed.POSTER_NAME}</h4> from up , and leave one from down

Akkii
Forumember

Male Posts : 710
Reputation : 107
Language : English,HTML, CSS,Photoshop,Javascript!
Location : Here on Forumotion!

http://www.csshelp.net

Back to top Go down

Solved Re: PunBB Name under Avatar

Post by Nera. on May 29th 2012, 5:10 pm

Last edited by Legend™ on Tue 29 May - 16:32; edited 1 time in total

Marked solved by user.

Topic 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