bbPress Topic Lock is a free extension for bbPress that warns forum moderators if another moderator is currently viewing the same topic.
WordPress core has a Post Locking system that warns users if another user is editing the same post. In WordPress 3.6, this system was dramatically improved by utilizing the Heartbeat API.
I decided to take this same idea and extend it over to bbPress forums so that moderators could know when another moderator was viewing/answering the same topic, in an attempt to help prevent duplicate replies.
Using the WordPress Heartbeat API, forum topics are now “locked” by the first moderator to view it. If another moderator loads the topic while the first moderator is still viewing it, a dialog is displayed:
[lightbox link=”https://pippinsplugins.com/wp-content/uploads/2013/09/screenshot-1.png” thumb=”https://pippinsplugins.com/wp-content/uploads/2013/09/screenshot-1-569×341.png” width=”569″ align=”none” title=”screenshot-1″ frame=”true” icon=”image”]
While it’s not a true “lock” system, as moderators can choose to ignore the notice, it still serves the same purpose of helping alleviate double posting by multiple moderators.
8 thoughts so far
Have your say
Very useful plugin particularly for sites using bbpress as their support system.
Great plugin – already using it …
Great idea to alleviate the double posting by multiple users in the same topic. Its good that bbPress has derived from WordPress in order for its existence as it is rapidly losing its market in the smartphone arena
Heartbeat API coolest thing. And there are more advanced examples? For example show “Who’s online?”
Here is a tutorial for exactly that: http://wp.tutsplus.com/tutorials/creative-coding/heartbeat-api-using-heartbeat-in-a-plugin/
Thank you. That’s what I need. I think that the developers only have to delve into the features and advantages of the new API
Nice plugin, it is very useful. Great job!!!
Great plugin !
Comments are closed.
Leave a reply
Join the discussion