vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - Subscribed Threads in Notifications (https://vborg.vbsupport.ru/showthread.php?t=250461)

MoMan 11-15-2010 04:39 AM

No, because the last read time is stored in memcache, and updated when you mark forums read :)

jscieza 11-16-2010 11:52 AM

I do have another question regarding your memcache enabled version. You said:

Quote:

The memcached-enabled version caches the new thread count for 5 minutes
So do it means that the notifications aren't going to be in "real time" and there could be a delay of 5 minutes?

MoMan 11-16-2010 03:01 PM

Right, it can take up to 5 minutes for a notification to pop up after a reply has been made to a subscribed thread. However, once you open the thread, the notification is cleared immediately.

jscieza 11-21-2010 01:42 PM

There is another annoying bug in the NOMEMCACHED version.

Sometimes the product is adding notifications properly but sometimes when a subscribed thread gets updated (someone replies to it) the product isn't adding notifications. So in other words, sometimes it work and sometimes it doesn't. It appears to be a random behavior.

I don't know if the memcache-enabled version of your product is better or doesn't have this bug and I'd like to use the memcache-enabled one instead of the NOMEMCACHED version but as I already told you I'm running xCache not Memcache so let allow me to insist with this:

Quote:

Instead of making use of Memcache specific code why don't you simply make use of vBulletin cache, and if your vB uses xCache/Memcache/etc., then the hack will get advantage of this? Also if you go in this way you will not need two versions of your mod anymore as because if your vB doesn't make use of any cache then nothing will be cached.
https://vborg.vbsupport.ru/showpost....8&postcount=25

Quote:

Is there any documentation on that? I'll gladly tweak the public version of this mod to use the vBulletin interface if such an interface is available.
https://vborg.vbsupport.ru/showpost....2&postcount=26

I was talking about this.

jscieza 11-21-2010 01:56 PM

Just updating the bugs in the NOMEMCACHED version for anyone interested:

Quote:

Originally Posted by jscieza (Post 2120275)
Bug #1 - Status: the bug is still present. Note: programmer is unable to reproduce this bug.
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 - Status: this has been fixed (check here and here)
After marking all forums read the subscribed threads notification is still present (it's always 1).

Bug #3 - Status: Awaiting reply from the programmer
Sometimes the product is adding notifications properly but sometimes when a subscribed thread gets updated (someone replies to it) the product isn't adding notifications. So in other words, sometimes it work and sometimes it doesn't. It appears to be a random behavior.


MjrNuT 11-30-2010 03:20 PM

I can confirm Bug #2 in the one day of using the Non-memcached version.

I tried the memcached version but do not have a memcacher server available to me.

uninstalled

jscieza 11-30-2010 08:03 PM

Bug #2 has been already fixed by the programmer.
Quote:

Note that now the notifications will clear when you mark all forums read, but not when you mark an individual forum.
And it's working fine now.

Issue here are bugs #1 and #3.

MoMan 12-01-2010 03:47 AM

I'd like to remind you that the non-memcached version isn't supported, and that I use the memcached version of this on my own site with no problems. If there were bugs, my members would have complained.

Perhaps there's some sort of setting conflict with your particular installations (this goes back to the cookie-based vs database thread marking), I'm not sure.

MoMan 12-14-2010 11:49 PM

I've updated both versions of this mod:

If a soft-deleted thread was still unread, a notification would be shown even though the thread wouldn't be visible to the user. I've now added an AND visible = 1 statement to the query to avoid such conflicts. I recommend you upgrade to 1.0.3 if you're using the non-memcached version of the mod.

jscieza 12-15-2010 01:17 PM

Hi MoMan,

Now all the bugs listed here are resolved.

Thanks for updating your hack :)

Regards,
Jonathan


All times are GMT. The time now is 07:03 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
  • Page Generation 0.01698 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete