Project

General

Profile

Actions

Bug #436

closed

Who's Online Widget

Added by Matt Gold over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
BuddyPress (misc)
Target version:
Start date:
2010-12-06
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

It looks to me like the timing of the "Who's Online" widget has changed since the upgrade. Previously, it showed people who had visited the site in the past hour or so (I'm not sure of the exact length of time). Now, it only shows members who are actively navigating the site.

Can you investigate this and see whether there is any way to lengthen the window of time used to compile that list?

Actions #1

Updated by Boone Gorges over 13 years ago

  • Status changed from Assigned to Resolved

Appears to be linked to http://trac.buddypress.org/attachment/ticket/2271/2271.diff.

As you might be able to gather from that patch, the widget is intended to show users whose last activity is within the last 5 minutes. If it wasn't working like that before, it was probably a bug.

https://github.com/castiron/cac/commit/f66e641a3319bf7cbac10aebf2dcb914e4f479d6 changes the interval to 60 minutes. That patch required https://github.com/castiron/cac/commit/e0edb32b61e2e28065d5b10b6ac4fdee2c58feaa, which appears in versions of BP later than the one we have in the 1.1 release.

Reopen if you are unhappy with this change.

Actions #2

Updated by Matt Gold over 13 years ago

Sounds good -- thanks.

Actions

Also available in: Atom PDF