描述
Simply adds an “Online” or “Offline” under the author information in bbpress topics and replies.
Parts of code adapted from Robin Wilson’s bbp profile information, Raul Illana’s Awebsome! Online Registered Users Widget, and from onetrickpony at stackoverflow.
TODO
- Make inactive time configurable
- Include images in addition to text (configurable)
- Make location configurable
- Make text configurable
屏幕截图
安装
- Upload the plugin zip to the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Activate the Online/Offline status message by going to ‘Settings’ -> ‘bbp user online status’
- Style li.bbp-online-status span.bbp-offline and li.bbp-online-status span.bbp-online
常见问题
- How does BBP User Online Status check keep track of who’s online?
-
Whenever a user logs in or logs out, a variable is set or unset respectively. If a user doesn’t logout,
if the user has been inactive for more than 15 minuets, there status is set as offline.
评价
2018 年 11 月 13 日
Excellent simple and effective plugin works wonders. Thank you for the effort devoted to programming this excellent utility that bbpress lacks natively.
Regards!!!
贡献者及开发者
更新日志
1.1
- added CSS styling (from https://github.com/jacobwarduk/bbp-user-online-status/commit/55a3084ee106fe5d911ce2191a28091092da7b6c)
1.0
- basic Online/Offline message