跳到内容

TimeQuota – User Time Limits

v1.1.0

RoarDev · 2026年9月2日 上架

Control and restrict active browsing time per user, role, and guest visitor. Measures real engagement and blocks access when daily limits are reached.

正在使用
10 以下
评分
5.0 / 5
累计下载
238
最近更新
2026年9月2日
1 条评价需要 WordPress 5.8+已测试到 7.1.5PHP 7.4+

贡献者

截图

Admin Dashboard : Live statistics of tracked users, active sessions, and top active users.
Admin Dashboard : Live statistics of tracked users, active sessions, and top active users.
General Settings : Daily quota limits, heartbeat intervals, and inactivity timeouts.
General Settings : Daily quota limits, heartbeat intervals, and inactivity timeouts.
Role & Guest Limits : Granular time allowances per WordPress user role and guest visitors.
Role & Guest Limits : Granular time allowances per WordPress user role and guest visitors.
Floating Countdown Widget : Sleek frontend timer with active pulsing indicator.
Floating Countdown Widget : Sleek frontend timer with active pulsing indicator.
Expiration Screen : Modern glassmorphism blocking screen displayed when daily time runs out.
Expiration Screen : Modern glassmorphism blocking screen displayed when daily time runs out.
TimeQuota – User Time Limits
TimeQuota – User Time Limits

TimeQuota is a lightweight, production-ready WordPress plugin that empowers website owners to set daily active time limits for users and guest visitors.

Unlike simple session timeout plugins that merely calculate current_time - login_time, TimeQuota accurately tracks true active engagement. If a user switches to another tab, minimizes their browser, or walks away from their keyboard, the timer instantly pauses.

Key Features:

  • True Active Time Tracking: Uses Page Visibility API, window focus/blur, and user activity events (mouse movement, keystrokes, scrolling) to measure genuine active engagement.
  • Server-Side Enforcement: Client timers are never trusted. All limits, timestamps, and heartbeats are authoritatively validated and calculated on the WordPress backend.
  • Smart Multi-Tab Coordination: Prevents double-counting and timer exploitation when users have multiple browser tabs open simultaneously.
  • Guest & Anonymous Visitor Limits: Issue secure first-party visitor tokens to enforce browsing quotas even for non-logged-in and incognito visitors.
  • Role-Based Time Limits: Configure distinct allowances per user role (e.g., 30 mins for Subscribers, 120 mins for Authors, Unlimited for Administrators).
  • Smooth Live Countdown: Configurable floating or fixed widget displays remaining time smoothly without hammering your server.
  • Customizable Warning Banners: Warn users before their time runs out (e.g., at 5 minutes remaining).
  • Modern Expiration Screen: When the daily quota is exhausted, users see a sleek blocking screen informing them when access resets (or redirect them to a custom upgrade URL).
  • Automatic Daily Resets: Quotas reset automatically every day at midnight based on your WordPress timezone—no dependency on WP-Cron reliability.
  • Excluded Pages: Whitelist critical pages (login, registration, checkout, account, contact) from quota restrictions.
  • Real-time Admin Dashboard: View total tracked users today, currently active users, total site usage time, and top users.
  • Zero External Dependencies: 100% self-hosted within your WordPress database. No external APIs, third-party tracking, or analytics services required.

Support & Credits

If you find this plugin helpful, consider supporting its development with a donation.

Buy Me a Coffee

Developed by RoarDev

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums