The online status text is displayed, but it never turns green when someone is actually online.

Comments

michelle’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

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?

Michelle

jptelthorst’s picture

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.

michelle’s picture

Which 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

michelle’s picture

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

jptelthorst’s picture

I'm using the "naked" style, although I've tried all of them with the same results.

jptelthorst’s picture

The problem is, the users always appear to be "online" even when they aren't.

michelle’s picture

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?

Michelle

jptelthorst’s picture

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.

Thanks.

michelle’s picture

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

jptelthorst’s picture

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

michelle’s picture

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.

Michelle

michelle’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No further info provided...

Michelle

uomeds’s picture

Status: Closed (fixed) » Needs review

I 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.png

I checked and my advf-author-pane.tpl.php and advanced_profile_author-pane.tpl.php both feature the same identical code:

        <div class="author-pane-line author-pane-online">
          <span class="author-pane-online-icon"><?php print $online_icon; ?></span>
          <span class="author-pane-online-status"><?php print $online_status; ?></span>
        </div>

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.

uomeds’s picture

Status: Needs review » Active

Edit: I will need to do more testing. This may extend to my user profiles as well. I will post if I need help.

michelle’s picture

Status: Active » Closed (fixed)

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.

Michelle

RoboPhred’s picture

Status: Closed (fixed) » Active

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.

michelle’s picture

Status: Active » Closed (fixed)

They 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

RoboPhred’s picture

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.