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

2 posters

Go down

Solved Online Status Question

Post by Enalahs89 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
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 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Online Status Question

Post by Enalahs89 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
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 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Online Status Question

Post by Enalahs89 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
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 September 13th 2015, 10:36 pm

You're welcome ^^

Topic archived

Have a great day. Smile
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top


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