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.

Username below avatar.

View previous topic View next topic Go down

Username below avatar.

Post by DK on July 28th 2012, 7:43 pm

Forum Version PunBB.
http://www.webpagescreenshot.info/i/225489-728201284245pm.png
I want my username to be below the avatar.

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Re: Username below avatar.

Post by ankillien on July 29th 2012, 4:27 am

Hi,

First add this code in the CSS...

Code:
.pun .user-ident .username{position:static;}

Now go to Admin CP > Display > Templates > viewtopic_body and find this part...

Code:
<h4 class="username">{postrow.displayed.POSTER_NAME}</h4>

Cut it from there are paste it right after...

Code:
<div class="user-basic-info">
{postrow.displayed.POSTER_AVATAR}

Save and publish.

Hope it helps Very Happy

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Re: Username below avatar.

Post by DK on July 29th 2012, 6:55 am

When you say cut it. Do you mean delete this part :
Code:
    <h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
Cause I did that and it didn't work.

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Re: Username below avatar.

Post by ankillien on July 29th 2012, 7:45 am

Delete it from there and add it after this part...

Code:
    <div class="user-basic-info">
    {postrow.displayed.POSTER_AVATAR}

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Re: Username below avatar.

Post by DK on July 29th 2012, 2:33 pm

I tried this on another forum.

Result :

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Re: Username below avatar.

Post by ankillien on July 29th 2012, 2:44 pm

You are probably making some mistake. I tried it again and works fine for me. Have you made any other changes in that template? If not, the process I suggested should work.

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Re: Username below avatar.

Post by DK on July 29th 2012, 3:09 pm

@ankillien wrote:You are probably making some mistake. I tried it again and works fine for me. Have you made any other changes in that template? If not, the process I suggested should work.
It's a new forum. I recently added it.
This is my result now.

DK
Forumember

Male Posts : 609
Reputation : 13
Language : English

http://ourworldhub.forumotion.com/forum

Back to top Go down

Re: Username below avatar.

Post by ankillien on July 29th 2012, 5:41 pm

Can you give me the founder account access so I can check the issue myself?

ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

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