MyBB Community Forums

Full Version: View Unread Posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
OK, and abut an issue when unread posts are not marked as read? It still persists Sad
@Eldenroot - to be clear: I have to use this solution: https://community.mybb.com/thread-31860.html and try to some how implement in plugin file call "unreadPosts.tpl.php? Am I right?
Or you can use a lite version - just template conditionals from the same author.
@Eldenroot - understand. I think is a bit to hard for me.

@lukasamd are you planing in the future that kind of thing to implement to yours plugin? Otherwise I will try to find someone who can do this separated.
@zorro100100
No, I think it's not neccesary. If you want to achieve this without additional tools, just enable option to hide link when there is no unread posts, and modify template with counter, add class to it. In effect, link will not show when there are no unread posts, and will show with your class (for example, with red color) if they exist.


Eldenroot
Unfortunately, I don't have any board, any place to test this.
It's impossible to reproduce such bugs on local, when I just click like one user.
In long term, I plan to abandon all my MyBB plugins because of falling popularity of discussion forums.
(2019-01-23, 06:01 AM)lukasamd Wrote: [ -> ]Eldenroot
Unfortunately, I don't have any board, any place to test this.
It's impossible to reproduce such bugs on local, when I just click like one user.
In long term, I plan to abandon all my MyBB plugins because of falling popularity of discussion forums.

I think it is too soon to make any statements... yes, social networks have more and more users, but community boards still have a lot of cons over social networks and will be there with us alongside with them.
@lukasamd - can you tell me what I should put in instead of pms_unread in this code to show numbers of unreaded user posts?:

<span class="alerts2 alertst2_{$mybb->user['pms_unread']}">{$numUnreads}</span>
@Eldenroot: I think it's too late for that - I have been watching this for two-three years and we will not do anything about it. New internet users prefers "stupid simplicity" like instagram/snapchat or other social media. Discussion boards are too complicated for them. Of course, it's generalizing, and only my opinion.

Anyway, can you describe few examples of this issue? Without such information, I can't do anything.


@zorro100100:
Where do you want to do this? I don't store unread posts counter in user data array, so it's impossible to just replace pms_unread by other name.
It happens only sometimes. Sometime it is without issue and sometimes it is not working - even when you visit the unread post, it is still displayed as unread. Almost 30 reports from my users for last 5 days that it is not working correctly.

It was completely fine with your older release, it has started bugging me since I updated to your latest release (before that I use older version 1.11).

So the culprint must be in changed code for 1.12 release. For now I will downgrade to 1.11 and will br waiting for a new bugfix.
What PHP version do you use (and also, do you use any caching like opcache, apc, xcache, etc?) and MySQL version?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49