is it possible that Site Administrator would see how many users are currently logged-in? That feature would be helpful to choose an appropriate time for doing version upgrades or other maintenance tasks that would make the site temporarily offline. Is it possible to see active user sessions in the database?
Check out the
sessions table, where
last_used are unix timestamps.
that should work - if I sort by ‘last_used’ I can speculate if there are any recently active users on site.
I have the same kinds of needs with our own site (active user tracking, etc.) where we run OJS 2.4.3. We recently installed Piwik on a server and I placed tracking code at the site level providing us with detailed site usage information including realtime updates of users currently navigating the site:
It’s a fabulous tool. A plugin is included in the OJS distribution, but I couldn’t get it to work and think it’s out of date. If you’re interested I can look into the coding details and pass it along.
@rkemp, would you be able to port your fixes into the piwik plugin, if you’ve found some opportunities for improvement?
have you had problems with OJS Piwik plugin when you have mixed content in the journal page?
Pages including http and https resources does not sent the “signal” to Piwik to be recorded, as far as we have checked.