On my site, when you click Unread Posts... the link is "https://www.xxxx.com/index.php?action=unread" ... some users noticed that a few threads are left out for some reason... however, if you use the same link for unread posts that was used on my 2.0.x forum... " http://www.xxxx.com/index.php?action=unread;all;start=0"... it includes all threads.
Is this a bug?
No, and the behaviour you describe is modified since what 2.1 does is the same as 2.0 by default.
The "for some reason" is "let's show you the very latest, the stuff since you were here last" to a) focus on the very latest and b) to cut down the actual server usage since unread posts is actually one of the most computationally expensive operations in SMF.
Note that if you hit the general unread with "nothing to read", it will offer you "all unread" with the link you have - and that hasn't changed since 2.0.
Just to clarify that a small bit, the ;all;start=0 bit isn't included in the link by default on either version.
Quote from: Aleksi "Lex" Kilpinen on March 12, 2022, 04:55:35 AMJust to clarify that a small bit, the ;all;start=0 bit isn't included in the link by default on either version.
Hmm... not sure what mod would have added that all;start=0 bit from 2.0.x then...
FWIW, i rarely if ever click that button choosing to browse at my leisure. I'm just describing a complaint from one of my users...
Likely not a mod but just a tiny tweak in the theme of old.
Where would I make the edit to add ";all;start=0"?
I am getting a continual stream of ******ing & complaining (you guys know about that I'm sure) from the userbase because it's no longer included... evidently it DOES make quite the difference...
Here's the code in Curve2's index.template.php for those buttons:
if ($context['user']['is_logged'])
echo '
<ul class="unread_links">
<li>
<a href="', $scripturl, '?action=unread" title="', $txt['unread_since_visit'], '">', $txt['view_unread_category'], '</a>
</li>
<li>
<a href="', $scripturl, '?action=unreadreplies" title="', $txt['show_unread_replies'], '">', $txt['unread_replies'], '</a>
</li>
</ul>';
You will want to change the action=unread to action=unread;all;start=0 and possibly the $txt['unread_since_visit'] tooltip to be $txt['unread_topics_all'] which is more accurate.