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 09-13-2010 10:00 PM

Subscribed Threads in Notifications
 
1 Attachment(s)
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.

MagicThemeParks 09-14-2010 10:35 AM

Thanks for this MoMan :)

I'll be adding this for the coming weekend. How do your members enjoy this mod? Do they feel that it's useful or have you not received many comments about it on your own site?

MoMan 09-14-2010 12:33 PM

They feel it's very useful- but requested a "notification reset" link, which I've now implemented. I expect to release the updated version shortly.

vijayninel 09-14-2010 02:02 PM

Brilliant. Waiting for the new version to be released. :)

MoMan 09-14-2010 02:33 PM

New version is out! Keep it mind that the new functionality is memcached-only, and further features will only be implemented in that version.

karlm 09-15-2010 03:12 AM

Interesting... what would you need for a test board? I mean, I have one I use for testing various things and could loan you admin access for a while if needed...

MoMan 09-16-2010 01:51 AM

I'd simply need to log in to the plugins system and see how notifications are handled in vB4. The same code should run no problem, but I bet that it needs to be put in a different place.

MoMan 09-16-2010 01:52 AM

Update: try changing the hook location for the main code from global_complete to global_bootstrap_init_complete

That should make it work in vB4- let me know!

jscieza 09-16-2010 06:43 AM

Quote:

Originally Posted by MoMan (Post 2098131)
New version is out! Keep it mind that the new functionality is memcached-only, and further features will only be implemented in that version.

There are lots of people not using memcache but xCache. You should make a version compatible with xCache... just a suggestion.

Alfa1 09-16-2010 09:55 AM

Please add an X-cache version. I'd really like to add this to my big board.


All times are GMT. The time now is 01: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
  • Page Generation 0.01211 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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