Try using the magnificent _ck_’s unread post plugin. Works for me. I made my unread posts darker and bold in the topic list, and when you click on them, they rocket you to the most recent unread post.
Note: Unread is NOT the same as undead…
I don’t recall if this is in the stable version 0.9, but in 1.0 on the default themes when you click on the “freshness” column in the topic lists you go to the last post (on the last page).
the last page/last post isn’t the same thing as the first unread post in the thread.
on our site, we really need the link to the discussion to take each user to the first unread post in that discussion.
can anybody suggest a function which would allow me to do this?
it doesn’t on our forum
http://www.copsandrobbers.net
it marks threads with unread posts, but clicking on the thread takes you to the first page.
apologies. its working like this (we think):
1. If you click on a thread you have not read since the upgrade, you’ll go to first post.
2. If you click on a thread you have read since the upgrade, and there are new posts, you’ll go to new posts.
3. If you click on a thread you have read since the upgrade, and there are no new posts, you’ll go to first post.
ideally we want #3 to take us to the LAST post instead. is there a quick code change for this?
To make it always link the past post change line 105
from
if ($up_key!=false && $up_last_posts[$up_key]!=$topic->topic_last_post_id) {$link = get_post_link($up_last_posts[$up_key]);}
to
if (!empty($up_key)) {$link = get_post_link($up_last_posts[$up_key]);}
I might make that a feature.
I suspect it’s going to make your queries per page go up much higher though.
FANTASTIC! we’re all very happy now. thanks so much for that, and for getting back to me so quickly.