Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I need more info here if you want me to help you figure out why it isn't working for you... What style are you using? Are you using the standard icons in the standard directory? Is the text changing and just not the icon?
Thanks for the reply. The text always displays "online", the image is is "user-online.png." I didn't try to use any custom icons. I'm using the garland theme.
Ok, I'm getting lost. You're saying that it's changing to the online icon and the online text when the user is online. So what, exactly, is the problem here?
The problem is it's *always* displaying the online icon and the online text whether the user is online or *offline*. I was wrong in my original description.
It isn't exactly the opposite, because even though the text said "online" the icon was gray/black (but when I clicked on the image, the file name is "user-online.png." I'll wait 15 minutes and see if the user still appears "online."
It would be better if you used blue_lagoon to troubleshoot this since it has colored icons so there's no mistaking one icon for the other. That's harder to do with the greys of the other styles.
My users online/offline status work perfectly in their advanced user profile author panes. However, in the forum author panes, all users show up "online" all the time. The image displayed had the source:
I was using an Acquia Marina. Switching to Garland did not help. However switching the forum from Boxy Stacked to Naked temporarily solved it. After switching back to Boxy Stacked it stayed working temporarily as well.
Users who were offline appeared offline for a bit, but as soon as they logged back in, they remained "online" permanently thereafter.
I am not sure why this happened as my caching options are standardized. I am using persistent login, but it clearly works for author pane & user profile.
Setting the status back, then, to clean up the queue. If you do end up needing help, just set it active, though I'm not doing much support during the holidays.
Had this issue for a while. I recall checking it once and found that naked/images/user-online.png is the same image as offline.
cp modules/author_pane/images/user-online.png modules/advanced_forum/themes/naked/user-online.png (or similar) fixes it for me.
Talked with Michelle on IRC. Turns out I was not noticing the difference between the lighter "offline" and the darker "online" images. Might be the same for the original issue creator. Its hard to see, but its there. Re-closing.
Comments
Comment #1
michelleI need more info here if you want me to help you figure out why it isn't working for you... What style are you using? Are you using the standard icons in the standard directory? Is the text changing and just not the icon?
Michelle
Comment #2
jptelthorst commentedThanks for the reply. The text always displays "online", the image is is "user-online.png." I didn't try to use any custom icons. I'm using the garland theme.
Comment #3
michelleWhich style are you using? I checked both blue_lagoon and blue_lagoon_stacked and the icon goes from red to green for me when I'm online.
If the words are changing, then it's calculating the status correctly. Did you maybe accidentally delete the green one?
Michelle
Comment #4
michelleEr, wait, I just re-read your reply. You said the icon is "user-online.png" so it sounds like it's working to me...
Michelle
Comment #5
jptelthorst commentedI'm using the "naked" style, although I've tried all of them with the same results.
Comment #6
jptelthorst commentedThe problem is, the users always appear to be "online" even when they aren't.
Comment #7
michelleOk, I'm getting lost. You're saying that it's changing to the online icon and the online text when the user is online. So what, exactly, is the problem here?
Michelle
Comment #8
jptelthorst commentedThe problem is it's *always* displaying the online icon and the online text whether the user is online or *offline*. I was wrong in my original description.
Thanks.
Comment #9
michelleOk, no wonder I'm confused. That's the exact opposite of what you said in the initial post.
So in blue_lagon/blue_lagoon_stacked, the icon is always green, never red, even for people who haven't been logged in for over 15 minutes?
Michelle
Comment #10
jptelthorst commentedIt isn't exactly the opposite, because even though the text said "online" the icon was gray/black (but when I clicked on the image, the file name is "user-online.png." I'll wait 15 minutes and see if the user still appears "online."
Comment #11
michelleIt would be better if you used blue_lagoon to troubleshoot this since it has colored icons so there's no mistaking one icon for the other. That's harder to do with the greys of the other styles.
Michelle
Comment #12
michelleNo further info provided...
Michelle
Comment #13
uomeds commentedI am having this identical problem.
My users online/offline status work perfectly in their advanced user profile author panes. However, in the forum author panes, all users show up "online" all the time. The image displayed had the source:
sites/all/modules/advanced_forum/styles/naked/images/user-online.pngI checked and my advf-author-pane.tpl.php and advanced_profile_author-pane.tpl.php both feature the same identical code:
I was using an Acquia Marina. Switching to Garland did not help. However switching the forum from Boxy Stacked to Naked temporarily solved it. After switching back to Boxy Stacked it stayed working temporarily as well.
Users who were offline appeared offline for a bit, but as soon as they logged back in, they remained "online" permanently thereafter.
I am not sure why this happened as my caching options are standardized. I am using persistent login, but it clearly works for author pane & user profile.
Not sure what the problem is.
Comment #14
uomeds commentedEdit: I will need to do more testing. This may extend to my user profiles as well. I will post if I need help.
Comment #15
michelleSetting the status back, then, to clean up the queue. If you do end up needing help, just set it active, though I'm not doing much support during the holidays.
Michelle
Comment #16
RoboPhred commentedHad this issue for a while. I recall checking it once and found that naked/images/user-online.png is the same image as offline.
cp modules/author_pane/images/user-online.png modules/advanced_forum/themes/naked/user-online.png (or similar) fixes it for me.
Comment #17
michelleThey are different in CVS:
http://drupalcode.org/viewvc/drupal/contributions/modules/advanced_forum...
http://drupalcode.org/viewvc/drupal/contributions/modules/advanced_forum...
Possibly something changed since 1.0 and the current dev... It's been too long and I don't remember.
Michelle
Comment #18
RoboPhred commentedTalked with Michelle on IRC. Turns out I was not noticing the difference between the lighter "offline" and the darker "online" images. Might be the same for the original issue creator. Its hard to see, but its there. Re-closing.