Forum Replies Created
Thanks! I really appreciate it. I’m really hoping to continue developing this out and make it into a really solid little add-on for bbPress.
Yep, my WordPress.org user name is “mordauk” 🙂
You’re definitely right about adding the verbiage, and that the unread topics should only be visible to yourself. I’m adding it to the todo list.
The plugin is on the repo now: https://wordpress.org/extend/plugins/bbpress-mark-as-read/
If you visit your forums profile, you will see a section showing unread forum posts, and below the box is a link to “Mark all topics as read”.
I have a donate link on my site: http://pippinsplugins.com/support-the-site
I can definitely see how that can play a major role, but it’s definitely not going to make it in for now, at least not right away.
Keeping track of replies like that is a whole new ball game.
I’ve been talkin with JJJ (lead bbPress developer) about how we might work to integrate these features into the plugin core. Tracking replies will probably definitely be something we’ll look into then.
Thanks for all of the feedback!
I am going to add a few more parts to the plugin so that when you create new topics (or reply to topics) they are automatically marked as read.
In regards to going to the last reply, this actually won’t be possible (not in the scope of this plugin), simply because this is tracking whether the topic has been viewed, not whether there is a new reply. For tracking new replies, simply use the existing Subscribe feature.
I’ve added the option to mark all topics as read.
There is definitely a bug at the moment that causes the profile page to not accurately show all unread topics on existing bbPress installs. Going to try and work that one out.
I haven’t added the Mark All as Read option yet, but I will.
Another update: so that read/unread topics can be styled, I’ve added two class names to the topic wrapper:
.bbp-topic-read if a topic has been read by the current user.
.bbp-topic-unread if a topic has not been read by the current user.
What theme are you using? It’s very possible that your theme is missing a couple of vital components, which would make it so the Unread Topics section doesn’t show. Also, what version of bbPress?
Forum topics will not (yet) look any different when they are marked as read / unread, except for the link that lets you mark them as read/ unread.
Do the topics remember the read status when you click the links?
I just updated the github version with some ajax that will automatically mark topics as read after you have viewed them for at least 10 seconds.
Alright, I have an initial version done and ready for anyone who wants to test it. Just download it from Github (it will be on the repo shortly).
It will add a Mark as Read/Unread link next to the Subscribe/Unsubscribe links on topics.
You can also view a list of all unread topics by going to your bbPress profile, in the same way you would view favorites or subscribed topics.
A few things I have left to do:
- Auto mark a topic as read when replying
- Auto marking a topic as read once on the page for more than a few seconds
- Create a widget to show unread topics
Anything else?In reply to: Adding Read/Unread post status to bbPress Plugin?
This is being worked on over here as an actual bbPress plugin.
There’s one on my site: http://pippinsplugins.com
Going to start on this a little today actually 🙂
Hey everyone. I’m planning to start working on this sometime in the very near future (once things quiet down a bit). And I’m going to be releasing it for free on the WordPress.org repository.In reply to: Restrict Forums to Specific Groups