Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Subscribed Threads in Notifications Details »»
Subscribed Threads in Notifications
Version: 1.1.1, by MoMan MoMan is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.x Rating:
Released: 09-13-2010 Last Update: 08-08-2011 Installs: 50
Uses Plugins
 
No support by the author.

As seen on www.pentaxforums.com/forums/ , I'm bringing you a handy mod that adds the number of new subscribed threads to the notifications area, as well as a link to subscription.php. This means that whenever someone replies to one of your subscribed threads, you don't have to check your user cp or your e-mail inbox- just click on the notification! Notifications can also be reset via the User CP (memcached version only*).

This mod is provided free of charge, but I ask that the copyright and contact information be retained within the SOURCE. There are no visible copyrights for this mod. Furthermore, I ask that you do not re-use this code without my permission.

Non-Memcached Version:
Time to install: <1 minute (upload 1 product file)
Current Version: 1.1.0
Queries: 1 per pageload for logged in users
Templates: 0
New Phrases: 1
Compatibility: vB 3.7.x-4.x

Love this mod? Support further projects by donating: http://www.pentaxforums.com/forums/donations/

Enjoy and don't forget to mark this as installed if you decide to use it! Limited support will be offered to those who click install.

Note to owners of large forums: I also offer a version of this mod that does not add any global queries and instead utilizes memcached. I can install this premium version on your site for an hourly charge, assuming your server already has memcached installed. Send me a PM for details.

Download Now

File Type: xml product-adam_subsct.xml (3.0 KB, 236 views)

Screenshots

File Type: png adams_new_thread_notifications.png (12.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
hhwforum, markoroots

Comments
  #32  
Old 10-24-2010, 05:21 PM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MoMan View Post
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 View Post
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.
Reply With Quote
  #33  
Old 10-25-2010, 02:26 AM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #34  
Old 10-25-2010, 06:01 AM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #35  
Old 10-25-2010, 06:17 AM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update!

The missing phrase issue is now fixed but unfortunately notifications aren't working.
Reply With Quote
  #36  
Old 10-25-2010, 01:32 PM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #37  
Old 10-25-2010, 04:48 PM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #38  
Old 10-25-2010, 10:04 PM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #39  
Old 10-26-2010, 05:05 AM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #40  
Old 10-26-2010, 08:25 AM
asd_ra7la asd_ra7la is offline
 
Join Date: May 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fatal error: Class 'Memcache' not found in /home/XXXXX/XXXX/global.php(400) : eval()'d code on line 588
Reply With Quote
  #41  
Old 10-26-2010, 05:18 PM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jscieza View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04708 seconds
  • Memory Usage 2,337KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete