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.

Avatar and rang in center

View previous topic View next topic Go down

Solved Avatar and rang in center

Post by stelis on Sun Nov 06, 2011 6:36 am

What is the code that avatar and rank be in center? My forum version is phpBB2

stelis
Forumember

Posts : 46
Reputation : 1
Language : Lithuania

Back to top Go down

Solved Re: Avatar and rang in center

Post by Guest on Sun Nov 06, 2011 6:44 am

Go to Admin Panel => Display => Templates => General => viewtopic_body Edit => Find:
Code:
      <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
         <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 />
            <!-- 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}
         </span><br />
         <img src="http://illiweb.com/fa/empty.gif" alt="" style="width:150px;height:1px" />
      </td>
and replace to:
Code:
      <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
         <span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
            <span class="postdetails poster-profile">
                                  <center>{postrow.displayed.POSTER_RANK}</center><br />
            <center>{postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}</center><br /><br />
            <!-- 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}
         </span><br />
         <img src="http://illiweb.com/fa/empty.gif" alt="" style="width:150px;height:1px" />
      </td>

Save and publish. Wink

Guest
Guest


Back to top Go down

Solved Re: Avatar and rang in center

Post by stelis on Sun Nov 06, 2011 9:17 am

Thank you very much.
And that's another problem: I want username be in center too.

stelis
Forumember

Posts : 46
Reputation : 1
Language : Lithuania

Back to top Go down

Solved Re: Avatar and rang in center

Post by Guest on Sun Nov 06, 2011 9:25 am

Well, replace:
Code:
      <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
        <span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
            <span class="postdetails poster-profile">
                                  <center>{postrow.displayed.POSTER_RANK}</center><br />
            <center>{postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}</center><br /><br />
            <!-- 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}
        </span><br />
        <img src="http://illiweb.com/fa/empty.gif" alt="" style="width:150px;height:1px" />
      </td>

to this:
Code:
      <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
        <center><span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span></center><br />
            <span class="postdetails poster-profile">
                                  <center>{postrow.displayed.POSTER_RANK}</center><br />
            <center>{postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}</center><br /><br />
            <!-- 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}
        </span><br />
        <img src="http://illiweb.com/fa/empty.gif" alt="" style="width:150px;height:1px" />
      </td>

Guest
Guest


Back to top Go down

Solved Re: Avatar and rang in center

Post by stelis on Sun Nov 06, 2011 9:31 am

thank you.

stelis
Forumember

Posts : 46
Reputation : 1
Language : Lithuania

Back to top Go down

Solved Re: Avatar and rang in center

Post by Guest on Sun Nov 06, 2011 9:33 am

You are welcome. Wink

Guest
Guest


Back to top Go down

Solved Re: Avatar and rang in center

Post by Sanket on Sun Nov 06, 2011 12:27 pm

Since this thread appears to be solved, I will archive this thread.


Sanket Smile

avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2828
Language : English
Location : Mumbai

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