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.

Online Status Question

View previous topic View next topic Go down

Solved Online Status Question

Post by Enalahs89 on September 13th 2015, 3:52 pm

So, I was looking at this tutorial. It says it's only for phpbb3 and invision.

I tried it on my forum (phpbb2) and it seems to work fine... except for always showing people offline even when they're online. Is there a way to change the code or something to make it work for phpbb2?


Last edited by Enalahs89 on September 13th 2015, 10:30 pm; edited 1 time in total

Enalahs89
Forumember

Female Posts : 54
Reputation : 5
Language : English
Location : In your dreams

http://astariel.userboard.net

Back to top Go down

Solved Re: Online Status Question

Post by Ange Tuteur on September 13th 2015, 9:00 pm

Hi @Enalahs89,

This should be possible. Try going to Display > Templates > General and edit the viewtopic_body template. Edit

Find :
Code:
class="post post--{postrow.displayed.U_POST_ID}"

and replace it by :
Code:
class="post {postrow.displayed.ONLINE_IMG_NEW} post--{postrow.displayed.U_POST_ID}"

Then save and publish the template. Add

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Online Status Question

Post by Enalahs89 on September 13th 2015, 9:34 pm

Well that worked except now it's showing both Online and offline for my status when I'm online. Confused

http://prntscr.com/8fyrkm

Enalahs89
Forumember

Female Posts : 54
Reputation : 5
Language : English
Location : In your dreams

http://astariel.userboard.net

Back to top Go down

Solved Re: Online Status Question

Post by Ange Tuteur on September 13th 2015, 10:21 pm

In the CSS, it looks like you modified this value to "inline" ( it means it's displayed ) :
Code:
.post.online #is_off.user_status{ display:inline }

Change inline to none and it should disappear on posts where the user is online. Smile

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Online Status Question

Post by Enalahs89 on September 13th 2015, 10:30 pm

Oops. I must have forgotten to change it back once I got done messing around with it when I was trying to fix it to work in phpbb2 lol

Thank you, Ange!

Marked solved and ready for archive C:

Oh! One more question. Does this feature not work when added to profiles too? Cause on the profiles it says "Online Offline"

Enalahs89
Forumember

Female Posts : 54
Reputation : 5
Language : English
Location : In your dreams

http://astariel.userboard.net

Back to top Go down

Solved Re: Online Status Question

Post by Ange Tuteur on September 13th 2015, 10:36 pm

You're welcome ^^

Topic archived

Have a great day. Smile

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.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