![]() |
I've updated the original post with the latest version of the memcache version of this modification, which uses memcache for both count tracking and thread read times. In the future, I may release the further-improved version which uses memcache only for count tracking.
The non-memcache version of this mod is provided as-is and is not supported. It uses the same queries as the other version, however, so it really should work. I had a look at the code, and saw no problems. There must be something wrong with your forum's read marking- it must not be properly updating the threadread table. |
Well, there are two bugs in this product:
Bug #1 There aren't notifications for email based subscriptions. I mean, members only get notifications of threads subscriptions made with the option "without email notification". If someone has a thread subscribed with instant/daily/weekly email notification then they will not receive notifications in the top right corner but email notifications will be dispatched to the member's inbox as usual. Bug #2 (strange) After marking all forums read the subscribed threads notification is still present (it's always 1). I remember it was working fine but now it isn't. That's why I'm marking this bug as strange. I'm talking about the NOMEMCACHED version running in a vB 3.8.5 forum. The programmer already said that that version is provided as-is so we can't expect any further updates :( |
I don't believe this is an issue with the plugin itself. I've tested both of these things successfully on two separate forums. All I can think of is that other settings/plugins are conflicting with it. I also use is on my own site, on which the users aren't reporting any problems (at least after I introduced the "clear notifications" feature ;))
To debug bug #2, go into the threadread table and see if all records for your username have the same timestamp. If not, then the discrepancy is what the system is picking up as a new thread. Try the memcached version- it's a lot better! |
Quote:
First of all thank you for the useful info. I went ahead and performed the following SQL query: Code:
SELECT * Is 'readtime' the timestamp that you're talking about? If so, is there anything wrong with my threadread table? :( |
Now you should run a similar query on the subscription table to see which threads you're subscribed to. Then we can take a look and compare.
|
I ran this:
Code:
SELECT * It looks like the subscribethread table doesn't have a timestamp column so how to compare against the threadread table? If I read the thread then the notification disappear (as designed). Issue here is that after marking all threads as read (mark forums as read) the notifications for subscribed threads don't disappear. |
I even performed the following SQL queries:
Code:
DELETE FROM subscribethread; |
Quote:
I see two solutions: 1. Checking the last time the forum was marked read before running the subscribed thread query 2. Updating threadread where userid = $vbulletin->userinfo['userid'] with TIMENOW when $_REQUEST['do'] == 'markread' by adding code to the plugin |
Since forumcache doesn't store the forum read time, I went with #2 and implemented that. Note that now the notifications will clear when you mark all forums read, but not when you mark an individual forum.
|
Thanks for the workaround. I'll try it soon.
Uhm... the memcache enabled version doesn't have this issue, right? |
All times are GMT. The time now is 09:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|