I hope you’re doing well. I’m currently using your “CB” extension for Joomla and I was wondering if there is any way to calculate the total amount of time each user has been online. If not, is there a workaround or a planned feature that would allow tracking or reporting the cumulative online time for users?
Thank you in advance for your assistance, and I look forward to hearing back from you.
Joomla nor CB tracks users being online to that degree. Online status just checks if they've a Joomla session or not.
I suppose one option is compare their last login date to their registration date, but that's not really accurate to actual login time. To do that you'd need CB Code Field so you can use Joomla or CB PHP date functions to compare the dates.
To have actual login time tracking you'd probably need a way to know when a session starts and stops so you can explicitly track their session time, but no idea if Joomla has an event for that and best you could probably do there is track between login and logout events.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.