Thanks, 3sixty! Exactly what my users have been asking for — will implement and test ASAP. (The ‘mark all read’ will be a major Good Thing too.)
No joy so far. Showing icons all the time, visited or not… will continue to mess around.
Showing icons all the time, visited or not…
This is actually correct. There will always be an icon displayed. It will be the “lit up orange” icon if there are new posts, and a “non-orange” icon if no new posts.
In certain browsers, such as Google Chrome, I noticed you need to reload the page to see the “lit up” icon switch off after you visit the thread. Firefox did not need this. Is there a way to force a refresh in php code?
The best way to test this plugin would be to go to another computer or open a different browser and log in as a different user. Post some nonsense posts, then return to the first computer/browser and reload the page. You should see the icons “switch on.”
Hold the phone!
I found an obsolete conditional that is causing the plugin to fail on certain browsers. Probably the source of your issue.
Need to update.
I’ll try again later, thanks.
Question: is this on a per-user basis? In other words, can I log out as admin, log in as a test-user, and expect to see new posts made as admin correctly flagged as new using the same browser?
It doesn’t matter too much either way, that I can see, just verifying…
Looking good — works on refresh of forums listing page, same user.
Now to dive into the code. I’m going to go for minimalism in the UI — no icon, just a CSS class manipulation to make it an a:link rather than an a:visited in appearance, I think, and maybe a small ‘X Posts Since Last Visit’ with a count, if possible.
Nice work!
Working flawlessly so far. Logging out, posting as a testuser, logging back in, thread’s marked new.
If there’s no major performance impact involved, I think we’re good!
Also, I’m using the famfamfam icons (black and yellow bullets) instead for the moment because my child theme is a dark one with yellow highlights. Looking nice, may or may not go with pure css for read/unread.
Thanks again for this — it was a user request literally just a few days ago.
Thanks again for this — it was a user request literally just a few days ago.
No problem – I had already coded it, but your request inspired me to turn it into a plugin.
What code are you using to pull “X Posts Since Last Visit”?
None, as yet!
I think I found a bug — the indicators don’t seem to be working properly in the /root/groups/groupname/forum/ listing of threads, just on the main forums list (at least for me)…
Fixed by removing && bp_is_page( BP_FORUMS_SLUG )
from line 60.
Not sure if that’s a smart fix or not, but it works for the moment anyway!
Really interested in this if your still developing, it would be nicer to add a class for me, rather than the icons. And the mark as read is a good idea. When I first turned it on, all the posts we’re lit up, so presumably all users will see this, and will probably not want to go through and mark as read.
Maybe set everything as read upon activation?
here’s to seeing this plugin appear in the plugin directory 
Has this plugin been abandoned?