The Blogger Status Plugin is built specifically for LiMhy Blog System as a lightweight way to display an administrator’s live presence on the front end. It focuses on three practical functions: monitoring real-time status, tracking total online duration, and recording the exact last active time. For blogs with more than one administrator, it can also show status information separately for multiple admin accounts.

Its interface uses a floating card that visitors can expand by hovering or clicking, making the blogger’s current presence easy to check without disrupting the page layout. Position and styling can be adjusted, and the plugin automatically adapts to light and dark themes so it blends naturally with the rest of the site.

What it does
The plugin covers the following core behavior:
- Detects whether the blogger is online, idle, or offline, with a status dot that updates dynamically
- Accumulates the administrator’s total online time starting from the first recorded login
- Stores the exact last logout time, down to year, month, day, hour, minute, and second
- Supports multiple administrators, making it suitable for team-run blogs
- Uses an expandable floating card for detailed status display
- Lets you pin the widget to any of the four screen corners and adjust the offset
- Switches automatically between styles for dark and light mode
- Runs as a pure plugin without modifying LiMhy’s core files
Main features at a glance
<table> <thead> <tr> <th>Feature</th> <th>Details</th> </tr> </thead> <tbody> <tr> <td>Real-time status</td> <td>Three states: online, idle, and offline, shown with a changing status dot</td> </tr> <tr> <td>Online duration</td> <td>Automatically totals the time from the first login onward</td> </tr> <tr> <td>Last active time</td> <td>Saves the exact timestamp of the most recent logout</td> </tr> <tr> <td>Multi-admin support</td> <td>Displays status for multiple administrators on the same blog</td> </tr> <tr> <td>Floating card</td> <td>Click the avatar to open a smooth, detailed info panel</td> </tr> <tr> <td>Adjustable position</td> <td>Choose any corner and set custom X/Y offsets</td> </tr> <tr> <td>Light/dark adaptation</td> <td>Follows the blog theme automatically</td> </tr> </tbody> </table>Plugin details
<table> <thead> <tr> <th>Item</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>Plugin name</td> <td>Blogger Status Plugin</td> </tr> <tr> <td>Plugin ID</td> <td>blogger-status-plugin</td>
</tr>
<tr>
<td>Current version</td>
<td>v1.0.1</td>
</tr>
<tr>
<td>Compatible with</td>
<td>LiMhy Blog System ≥ 3.0.0</td>
</tr>
<tr>
<td>Author</td>
<td>允赫先森</td>
</tr>
</tbody>
</table>
Download
A download package is provided here:
https://wwbfe.lanzouq.com/ijxl93mucpxg
Installation
- Download the plugin, extract it, and upload it to the blog’s
/plugins/directory. - In the admin panel, open Plugin Management, locate Blogger Status Plugin, and enable it.
- Enter the plugin settings to configure the display position, card title, and related options.
- Refresh the front-end page, and the floating status button should appear in the selected corner.
How the status display works
Status meanings
<table> <thead> <tr> <th>Status</th> <th>Dot color</th> <th>Meaning</th> </tr> </thead> <tbody> <tr> <td>Online</td> <td>Green + pulse animation</td> <td>The blogger is currently active</td> </tr> <tr> <td>Idle</td> <td>Orange</td> <td>The blogger is logged in but has been inactive for a period of time</td> </tr> <tr> <td>Offline</td> <td>Red</td> <td>The blogger has logged out</td> </tr> </tbody> </table>Available positions
The floating entry can be fixed in any of these four locations:
- Bottom right (default)
- Bottom left
- Top right
- Top left
Offsets on both the X and Y axes can be adjusted from the backend settings.
Information shown in the card
Clicking the avatar expands a detail card containing:
- Blogger avatar and nickname
- Current status: online, idle, or offline
- Total online duration
- Last active time
Data storage and caching
The plugin records administrator activity automatically and stores it in:
/plugins/blogger-status-plugin/data/admin_activity.json
Because it writes to a JSON file instead of relying on database operations, it avoids adding database load.
Things to keep in mind
- The plugin depends on administrator login state, so user roles in the system must be configured correctly.
- After first enabling it, activity data will not appear until an administrator logs in.
- When the blogger is offline, the widget shows the exact logout time.
- In multi-admin mode, the card displays the information for the currently online administrator.
- The display is entirely front-end based and does not send data to any third party.
Version history
<table> <thead> <tr> <th>Version</th> <th>Release date</th> <th>Changes</th> </tr> </thead> <tbody> <tr> <td>v1.0.1</td> <td>2026-04-09</td> <td>Improved card styling, fixed dark mode background issues, added offline duration display</td> </tr> <tr> <td>v1.0.0</td> <td>2026-04-01</td> <td>Initial release with status monitoring and duration tracking</td> </tr> </tbody> </table>Developer API
The plugin also exposes RESTful API endpoints that can be used by themes or other plugins:
<table> <thead> <tr> <th>Endpoint</th> <th>Method</th> <th>Purpose</th> </tr> </thead> <tbody> <tr> <td>/plugins/blogger-status-plugin/api/get_status</td>
<td>GET</td>
<td>Retrieve the blogger’s current status</td>
</tr>
<tr>
<td>/plugins/blogger-status-plugin/api/record_activity</td>
<td>POST</td>
<td>Record administrator activity</td>
</tr>
<tr>
<td>/plugins/blogger-status-plugin/api/clear_activity</td>
<td>POST</td>
<td>Clear activity data, typically on logout</td>
</tr>
</tbody>
</table>
Example response for status retrieval
{
"success": true,
"blogger": {
"id": 1,
"name": "允赫先森",
"avatar": "https://cravatar.cn/avatar/xxx",
"role": "admin"
},
"status": {
"status": "online",
"status_text": "在线",
"status_color": "#4CAF50",
"online_duration": 84600,
"online_duration_formatted": "23小时30分钟",
"last_active_formatted": "刚刚",
"is_online": true
},
"timestamp": 1744185600
For LiMhy sites that want a simple way to make administrator presence visible, this plugin adds that layer of interaction without touching the system core or adding unnecessary overhead.