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.

How can the "Online" icon be moved to profile / avatar?

View previous topic View next topic Go down

Solved How can the "Online" icon be moved to profile / avatar?

Post by CruizingComet on September 11th 2011, 10:20 pm

Can anyone please tell us how we get over the following

We have our side profiles / avatars on the left side, but the Online icon shows on the far right of each post, (as in pic below)
can we move this to the left with the avatar? if so how please?



Many Thanks

CruizingComet
Forumember

Posts : 157
Reputation : 1
Language : English

Back to top Go down

Solved Re: How can the "Online" icon be moved to profile / avatar?

Post by Vanilla990 on September 11th 2011, 11:37 pm

You can yes.

For PHP BB2 You can go into "Admin Panel > Display > Templates - general > viewtopic_body" and then change

Code:

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

To

Code:

<span class="postdetails poster-profile">
            {postrow.displayed.POSTER_RANK}<br />
            {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br />
{postrow.displayed.ONLINE_IMG}<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>

That will put the online image just under the users avatar. You could then change the image to something like If you wanted to make it look a little more tidy.

Vanilla990
Forumember

Male Posts : 69
Reputation : 7
Language : English
Location : England

http://www.rsglobalchat.com

Back to top Go down

Solved Re: How can the "Online" icon be moved to profile / avatar?

Post by CruizingComet on September 11th 2011, 11:41 pm

Thanks for taking the time to reply

Were using phpBB3 can this still be done?

CruizingComet
Forumember

Posts : 157
Reputation : 1
Language : English

Back to top Go down

Solved Re: How can the "Online" icon be moved to profile / avatar?

Post by Vanilla990 on September 11th 2011, 11:44 pm

No sorry. As PHP BB3 doesn't have access to template changing, you will not be able to do this Sad

For future reference, it would be helpful if you could add your forum link and your forum version in the "Profile" section in the navigation just to make getting the correct answers easier.

Vanilla990
Forumember

Male Posts : 69
Reputation : 7
Language : English
Location : England

http://www.rsglobalchat.com

Back to top Go down

Solved Re: How can the "Online" icon be moved to profile / avatar?

Post by CruizingComet on September 12th 2011, 1:06 am

Thanks did put phpBB3 in my profile

So its stuck on the right, really? no way at all to change?

CruizingComet
Forumember

Posts : 157
Reputation : 1
Language : English

Back to top Go down

Solved Re: How can the "Online" icon be moved to profile / avatar?

Post by Guest on September 12th 2011, 1:36 am

OF COURSE you can change the location of the online indicator!!! It's nothing more than CSS. For a phpBB3 board, add this to your CSS, and you should have what you want.

Code:
.online {background-image:none;}
.online .postprofile dt {margin-bottom: 3px; padding-bottom: 17px; background-image: url(http://illiweb.com/fa/subsilver/icon_online_en.gif); background-position: 0% 100%; background-repeat: no-repeat;}
Please note that by doing this, the online indicator image can only be changed in the CSS. The online indicator icon in ACP Pics Management will be ignored.

Guest
Guest


Back to top Go down

Solved Re: How can the "Online" icon be moved to profile / avatar?

Post by CruizingComet on September 12th 2011, 3:09 pm

Thanks will give it a try and get back to you, lets hope it works Smile

CruizingComet
Forumember

Posts : 157
Reputation : 1
Language : English

Back to top Go down

Solved Re: How can the "Online" icon be moved to profile / avatar?

Post by CruizingComet on September 12th 2011, 3:19 pm

Excellent, thank you! It's now beneath the avatar, looks so much better. I don't understand why forumotion doesn't have it set like this by default, it just seems like every little thing you want to do, involves asking questions and trying to source code? Not having a pop at forumotion, just gets frustrating at times Smile

CruizingComet
Forumember

Posts : 157
Reputation : 1
Language : English

Back to top Go down

Solved Re: How can the "Online" icon be moved to profile / avatar?

Post by Base on September 12th 2011, 5:47 pm

Posting consecutively is not tolerated unless separated by 24 hours since the last post. In future, please use the edit button. Wink

Solved => Locked and Archived

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

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