XenCustomize Time Spent Online tracks and displays how much time users have spent on your XenForo forum—creating a fun, competitive, and interactive experience for your community!
This feature motivates engagement, encourages competition, and enhances community interaction effortlessly. With detailed statistics, interactive charts, and a real-time tracking system, admins can gain valuable insights into user activity.

✔ Show the total time users have been active on your forum.
✔ Displays community-wide time spent in the Forum Statistics widget.
✔ Track top engaged user based on online activity.

✔ Comprehensive stats page with detailed insights.
✔ View your time spent today, your average daily time, and comparisons with others.
✔ Track the most active user of the day and community-wide engagement.
✔ Interactive bar charts for Age, Gender, and Country-based engagement (fully admin-controllable!)

✔ Displays in messages, profiles, and member statistics.
✔ Forum Statistics Widget integration to highlight total time spent by all users.
✔ Sub-navigation link under "Members" for easy access to the Time Spent Statistics Dashboard.

✔ Displays Top Users by Time Online to recognize and reward most engaged members.
✔ Helps gamify your community by encouraging participation.

✔ Set who can see time spent online — ideal for premium or ranked users.
✔ Control who can access the Time Spent Dashboard.

✔ Uses intelligent session tracking to avoid counting idle time.
✔ Efficient tracking system that does not impact performance.

✔ Uses Cron & Job Queue for optimized performance.
✔ No performance loss even on large forums.

✔ Seamless migration from [Yugensoft] Time Spent Online v2.0.6 without losing any data!
✔ Seamless migration from [WMTech] Time Spent Online v2.0.3 without losing any data!

- Introduced a detailed front-end Time Spent Overview page showcasing various online activity metrics:
- Community-Wide Average Daily Time
- Your Time Spent Today
- Your Average Daily Time
- Your Online Time Compared to Other Users
- Most Active User Today
- Total Time Spent by the Community Today
- Time Spent by Age Group
- Time Spent by Gender
- Time Spent by Country

- Implemented bar charts to enhance data representation for:
- Time Spent by Age Group
- Time Spent by Gender
- Time Spent by Country
- Uses color-coded bars to indicate low, medium, and high engagement levels for a more intuitive user experience.

- Added a new sub-navigation link under the "Members" navigation for quick access to the Time Spent Statistics page.
- Fully permission-controlled, accessible only to users with the "Can view time spent statistics" permission.

- "Can view time spent statistics" – Allows admins to control who can access the statistics dashboard.

- Time Spent by Age Group
- Time Spent by Gender
- Time Spent by Country

- Stats Cards
- Stats Summary
- Bar Chart Colors

- Displays total time spent online in the message user info block.
- Integrated with "Message user info elements" style property for easy toggle.
- Visible to users based on permissions (view own or others' time).

- Users can view their own total online time in their profile.
- Moderators (with permission) can view other users' total online time.
- Displays total time spent online in the XenForo "Member Tooltip" when hovering over usernames.

- Adds Total Members’ Online Time to the Forum Statistics widget.
- Visible only to users with the correct permissions.
- Helps showcase overall community engagement at a glance.

- Lists top users by time spent online, encouraging competition.
- Automatically creates a dedicated leaderboard on the Member Stats page upon fresh install.
- Displays each user’s total cached time spent online.
- Visibility controlled via "Can view time spent online of others" permission.

- "Can view own time spent online" – Users can see their own stats.
- "Can view time spent online of others" – Useful for moderators, premium or ranked users.

- Tracks only valid logged-in users, ignoring guests, bots, and banned accounts.
- Ensures only active sessions are tracked, ignoring inactive sessions.

- Uses Cron Jobs & XenForo's Job Queue to handle tracking in the background.
- Adds a new cron entry: "Update Time Spent Online".
- A dedicated Job Queue efficiently updates tracking data.

- Automatic data migration from [WMTech] Time Spent Online v2.0.3 upon installation.
- Ensures seamless transition with zero data loss.
- Runs automatically if previous add-on data is detected.

- Automatic data migration from [Yugensoft] Time Spent Online v2.0.6 upon installation.
- Ensures seamless transition with zero data loss.
- Runs automatically if previous add-on data is detected.

- Uses template modifications for seamless installation.

- Fully compatible with XenForo 2.2 and XenForo 2.3.