The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

online button

3 posters

Go down

online button Empty online button

Post by Team101 November 5th 2009, 1:28 am

Hello.
How do I get the online button to apear above the avatar on phpbb2 version forums?
Team101
Team101
Forumember

Male Posts : 245
Reputation : 0
Language : english

http://forumosion.forumotion.com

Back to top Go down

online button Empty Re: online button

Post by HavocPkz November 5th 2009, 3:59 am

Bump.
Because I want to know this too.
avatar
HavocPkz
Forumember

Male Posts : 87
Reputation : 0
Language : English
Location : Virginia

http://fablepkz.darkbb.com

Back to top Go down

online button Empty Re: online button

Post by Team101 November 5th 2009, 1:16 pm

Any help here?
Team101
Team101
Forumember

Male Posts : 245
Reputation : 0
Language : english

http://forumosion.forumotion.com

Back to top Go down

online button Empty Re: online button

Post by ankillien November 5th 2009, 2:11 pm

Hello,

For that, you need to edit the viewtopic_body template under General.

Scroll down and find out this part...

Code:
<td valign="middle">
                  {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field -->
{postrow.displayed.ONLINE_IMG}

Notice the {postrow.displayed.ONLINE_IMG}. That desplays online image.

Now, you have to cut that part and paste it right after this part...

Code:
<!-- BEGIN postrow -->
   <!-- BEGIN displayed -->
   <tr class="post">

      <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">

Once you've done it, put a <br /> tag after it.
Save > Publish > Tell me if it works Razz


Hope this helps Very Happy
ankillien
ankillien
Energetic

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

Back to top Go down

online button Empty Re: online button

Post by Team101 November 5th 2009, 4:00 pm

Thanks alot I even cut the online by itself and put it where you told me then I went back and cut the remaining items from here
Code:
{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field -->

and put it after this
Code:
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}

And the rest of the items are now under the profile box but I am not sure if it is the right place.It is showing but I dont know if it is causing problem elsewhere that I havent seen.
Team101
Team101
Forumember

Male Posts : 245
Reputation : 0
Language : english

http://forumosion.forumotion.com

Back to top Go down

Back to top

- Similar topics

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