MyBB Community Forums

Full Version: Error with unread posts number for guests
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When viewing as a guest, right at the bottom of the index where it has the 3 images for new posts, no new posts and closed forum, next to the new posts icon, it says {1} new posts. When logged in, it says the actual number.

Guest:

[attachment=11433]

User:

[attachment=11434]

Happens on all 1.4 forums I've seen, except here Toungue
dennis@cypress:~/mybbsvn/mybb/branches/mybb_1403/inc/languages/english$ grep -ir "'new_posts'" *
global.lang.php:$l['new_posts'] = "Forum Contains New Posts";
index.lang.php:$l['new_posts'] = "Forum Contains New Posts";
portal.lang.php:$l['new_posts'] = "{1} new posts";

You're including portal.lang.php on the index which is overwriting the original "new posts" text.