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)

jscieza 10-24-2010 05:21 PM

Quote:

Originally Posted by MoMan (Post 2113681)
You should probably add this to init_startup:

$phrasegroups[] = 'user';

OR add a new custom global phrase for the product with the correct key.

This will be included in the next version of the hack.

I prefer to wait until you release a fixed version. Please update both versions the non-cache enabled and the cache-enabled one.

Quote:

Originally Posted by MoMan (Post 2113681)
So you're getting notifications for new threads, but not for threads with replies? That shouldn't be the case. Let me try checking if there are any problems with the code in the simple version.

I have installed this and then added subscriptions to some threads... when someone replies to these subscribed threads I'm not getting the notification in top right corner (drop down). It's always (0) even when there are new replies to my subscribed threads. In other words, this product isn't working at all for me and I don't know why.

MoMan 10-25-2010 02:26 AM

When I get the time, I'll be willing to log in to your site and try to debug this. It could be the case that there are other plugins on my site not present on yours that are otherwise required. However, please note that I am pretty busy with other things at the moment and am not planning on actively maintaining the non-memcached version beyond the one released here, nor will I be releasing a single version that includes an option to enable/disable memcached.

Version 1.2.1, which I use on my site, is working flawlessly. I will do my best to release it here as well, but haven't had the time to write the install/uninstall queries needed for it to work. As I mentioned earlier, it uses the database to store marking times, so that even if memcached is flushed, threads beyond the user-set cutoff will not be displayed.

If you'd like to install memcached on your server, try the following command:
pecl install memcached

MoMan 10-25-2010 06:01 AM

I've now updated the non-memcached version to 1.0.1 final. This includes the missing phrase. Try that- do the notifications work for you?

jscieza 10-25-2010 06:17 AM

Thanks for the update!

The missing phrase issue is now fixed but unfortunately notifications aren't working.

MoMan 10-25-2010 01:32 PM

I've just realized that this mod requires DB-based thread read marking to work. Make sure that's enabled in your vB options. By default, the cookie-based method is used.

I've now added this to the OP.

jscieza 10-25-2010 04:48 PM

Yes, that was the problem. I changed from cookie based to DB based and now the product is working fine. However I prefer to continue using the cookie based method. Is there any way to adapt your product to work in a cookie based enviroment? Hope it can be possible as because most people use the default method in their forums.

Thank you,
Jonathan

MoMan 10-25-2010 10:04 PM

If the threadread cookie stores your latest thread read times, then yes, it would be possible, as that's the only piece of information that this mod needs to work. AFAIK, though, there's a 15-day expiration or something like that, so I'd recommend you make the permanent switch to the DB-based system, as it really doesn't add any load to your board.

I'm willing to adapt this to use the cookie info on a freelance basis, if you'd like to go down that road.

jscieza 10-26-2010 05:05 AM

Yes, I'll love to be able to use this product while using the cookie-based method. Hope you can do it when you get a bit of free time.

Again, take in account that most people are using the cookie-based method.

Thank you,
Jonathan

asd_ra7la 10-26-2010 08:25 AM

Fatal error: Class 'Memcache' not found in /home/XXXXX/XXXX/global.php(400) : eval()'d code on line 588

MoMan 10-26-2010 05:18 PM

Quote:

Originally Posted by jscieza (Post 2114309)
Yes, I'll love to be able to use this product while using the cookie-based method. Hope you can do it when you get a bit of free time.

Again, take in account that most people are using the cookie-based method.

Thank you,
Jonathan

I won't be doing that as part of this plugin. As I mentioned earlier, this would be something that I could consider for freelance work.


All times are GMT. The time now is 05:58 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.01159 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)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