Avatar and rang in center

Go down

Solved Avatar and rang in center

Post by stelis on November 6th 2011, 1:36 pm

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 November 6th 2011, 1:44 pm

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 November 6th 2011, 4:17 pm

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 November 6th 2011, 4:25 pm

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 November 6th 2011, 4:31 pm

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 November 6th 2011, 4:33 pm

You are welcome. Wink

Guest
Guest


Back to top Go down

Solved Re: Avatar and rang in center

Post by Sanket on November 6th 2011, 7: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

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum