vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Non Redundant Notifications (https://vborg.vbsupport.ru/showthread.php?t=179365)

rootnik 05-14-2008 10:00 PM

Non Redundant Notifications
 
This mod does 2 things:

1. Removes redundant notifications. Example: You don't need to know that you have 0 new visitor messages, so the notification box will not display this info. (attached image 1)

2. If the only notification you have is unread private messages, this plugin will display the old private message information instead of the new notification information. This saves a mouse click for your end users if they have PMs but no other notifications. (attached image 2)

Installation:

1. Import product-nrnotify.xml as a product.

Thats all!

Updates:


(05-16-2008) I've updated this mod as a product. Before updating please uninstall the previous plugin and revert your navbar_notifications_menubit template (if you installed version 1.0).

7lanet 05-15-2008 06:19 PM

thanks

M-Tuning 05-15-2008 06:22 PM

Nice!

mauro1947 05-15-2008 08:13 PM

Great Hack :D
Thanks
Regards!

ry215 05-15-2008 08:37 PM

Thanks.
Installed :D

Milad 05-15-2008 11:56 PM

Please add the plug-in as a product.

Also include the template edit in the product, cache it, and overwrite the template navbar_notifications_menubit on real time.

PHP Code:

$vbulletin->templatecache['navbar_notifications_menubit'] = $vbulletin->templatecache['navbar_notifications_menubit_new']; 

in the global_start hook!

rootnik 05-16-2008 12:13 AM

Quote:

Originally Posted by Milad (Post 1521171)
Please add the plug-in as a product.

Also include the template edit in the product, cache it, and overwrite the template navbar_notifications_menubit on real time.

PHP Code:

$vbulletin->templatecache['navbar_notifications_menubit'] = $vbulletin->templatecache['navbar_notifications_menubit_new']; 

in the global_start hook!

Thanks for the tip! I'll put that together once I get some free time.

paramegsoft 05-16-2008 12:31 AM

very nice

thanks

i will test it

Barakat 05-16-2008 04:08 AM

i love it ,,, usefull ,,,,

Mixtoon 05-16-2008 04:38 AM

This should be add with the next version of vB as I believe.

thanks.


All times are GMT. The time now is 07:09 PM.

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.01204 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_php_printable
  • (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