online button

Post new topic   Reply to topic

View previous topic View next topic Go down

online button

Post by Team101 on November 4th 2009, 8:28 pm

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

Team101
Forumotion Member

Male
Posts: 236
Language: english
Country:
Join date: 2009-05-22

http://forumosion.forumotion.com

Back to top Go down

Re: online button

Post by HavocPkz on November 4th 2009, 10:59 pm

Bump.
Because I want to know this too.

HavocPkz
Forumotion Member

Male
Posts: 60
Age: 17
Language: English
Location: Virginia
Country:
Join date: 2009-09-17

http://havocpkz.darkbb.com

Back to top Go down

Re: online button

Post by Team101 on November 5th 2009, 8:16 am

Any help here?

Team101
Forumotion Member

Male
Posts: 236
Language: english
Country:
Join date: 2009-05-22

http://forumosion.forumotion.com

Back to top Go down

Re: online button

Post by ankillien on November 5th 2009, 9:11 am

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
Support Moderator
Support Moderator

Posts: 2516
Language: English, HTML, CSS, JScript
Location: home.php?id=bedroom
Country:
Join date: 2008-07-13

Back to top Go down

Re: online button

Post by Team101 on November 5th 2009, 11:00 am

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
Forumotion Member

Male
Posts: 236
Language: english
Country:
Join date: 2009-05-22

http://forumosion.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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