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 problem

View previous topic View next topic Go down

(PunBB) Name under avatar problem

Post by Ahkrir on May 18th 2012, 4:42 pm

Hi,

I've managed to get the user's name under the avatar in PunBB.
The only problem is, is that my custom effects do not apply.

This is how it would normally look like:

Using this code:
Spoiler:
Code:
                            <div class="user">
                     <div class="user-ident">
                        <div class="user-basic-info">
                           {postrow.displayed.POSTER_AVATAR}<br />
                           <h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
                           {postrow.displayed.POSTER_RANK_NEW}{postrow.displayed.RANK_IMAGE}
                        </div>
                     </div>
                     <div class="user-info">
                        {postrow.displayed.ONLINE_IMG}
                        <!-- BEGIN profile_field -->
                        {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
                        <!-- END profile_field -->
                        {postrow.displayed.POSTER_RPG}
                     </div>
                  </div>


Now when I manage to get the name under the avatar I get this:

Using this code:
Spoiler:
Code:
                  <div class="user">
                     <div class="user-ident">
                        <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>
                     </div>
                     <div class="user-info">
                        {postrow.displayed.ONLINE_IMG}
                        <!-- BEGIN profile_field -->
                        {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
                        <!-- END profile_field -->
                        {postrow.displayed.POSTER_RPG}
                     </div>
                  </div>

Is there anything I can do about that, and also the space above the avatar maybe?
I would do pretty much anything to get this fixed :-)

I pretty much know for sure the poster's name needs
<h4 class="username">{postrow.displayed.POSTER_NAME}</h4>
But the problem is, when I add that it will go on top of the avatar again.

In case you need my forum link: http: http://smarterweb.go-board.com/forum

Ahkrir
Forumember

Male Posts : 288
Reputation : 14
Language : English
Location : The Netherlands

http://smarterweb.go-board.com/forum

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