Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Cel Social Groups Notifications Details »»
Cel Social Groups Notifications
Version: 3.8.006, by cellarius cellarius is offline
Developer Last Online: Apr 2022 Show Printable Version Email this Page

Category: Social Group and Album Enhancements - Version: 3.8.4 Rating:
Released: 11-17-2009 Last Update: 12-23-2009 Installs: 75
Uses Plugins
Translations  
No support by the author.

What does this mod do?

This mod adds social groups to the notifications dropdown. Your members will get notified if there are groups containing unread messages; they need to be members of that group or have to be subscribed to that group. The counter will show how many groups with unread messages there are.


Installation:

Just import the product file in AdminCP->Product Manager. Done.
Make sure you understand and comply with the read marking requirements (see note down this post).


Settings:
  • Show notification for new messages in groups the user is a member of, subscribed to, or both
  • Select usergroups who can use the mod (i.e. who will get notificatons)
  • Select whether to link to usercp.php or group.php
  • Make sure you understand and comply with the read marking requirements (see note down this post).
Note: This mod will only work with database and automatic forum read marking!
  • This mod will not work with cookies or simple database read marking. This will not be changed and is due to the limitations of the read marking system.
  • If the ressources for this trouble you, you don't want to run this modification anyway. Any workarounds would be more ressource intensive than using this option in the first place.
  • To set this, go to AdminCP->Settings->Options->General Settings->Thread/Forum Read Marking Type and set this to the third option: Database (automatic forum marking)

Note on ressources:


Note that this modification adds a maximum of two queries to every pageload. Both are not too heavy, going to slave servers only if existent, and there are several mechanisms in place to prevent unnecessary querying.


Version history
  • 3.8.006: added option to link notification to custom URL
  • 3.8.005: queries completely reworked, should be more stable now and fixes some read marking issues
  • 3.8.002: bugfix, use slave servers
  • 3.8.001: initial release

#### Don't forget to click install! ####
No support if you don't!

This mod is also available for vB4:
https://vborg.vbsupport.ru/showthread.php?t=228280

Download Now

File Type: xml product-cel_sgn_3-8-006.xml (8.3 KB, 276 views)

Screenshots

File Type: png notifications_dropdown.png (28.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-18-2009, 07:49 PM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it be possible to hook this product to a certain phrase the way ie. this product does? https://vborg.vbsupport.ru/showthread.php?t=185636
PHP Code:
    if ($vbulletin->options['latest_auto'])
    {
        
// adds location to forumhome template
        
$vbulletin->templatecache['FORUMHOME'] = str_replace(
            
$latest_location,
            
$latest_location.'$platest',
            
$vbulletin->templatecache['FORUMHOME']
        );
    } 
preferably at both FORUMHOME and group.php
Reply With Quote
  #13  
Old 11-18-2009, 07:55 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You want to show the latest groups discussions or messages on forumhome? There are other mods for this, IIRC, and no, this is not possible with this mod. It only delivers a single number (the number of unread groups).
Reply With Quote
  #14  
Old 11-18-2009, 08:06 PM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not exactly. I only want the number of unread groups (like your mod does), but not placed at the notifications menu, but at forumhome (and preferably at group.php)
Reply With Quote
  #15  
Old 11-18-2009, 08:30 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, ok. This is easy: The code in the main plugin (should then be changed to a hook so it is only executed on a page were you want to show the number) saves the result in a variable: $vbulletin->userinfo['cel_groupnotification']. This should be available in templates as $bbuserinfo[cel_groupnotification].
Reply With Quote
  #16  
Old 11-18-2009, 08:50 PM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks!
Reply With Quote
  #17  
Old 11-19-2009, 03:14 AM
AzzidReign's Avatar
AzzidReign AzzidReign is offline
 
Join Date: Apr 2006
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahh, I posted in the 4.0 thread. I still have 3.8 so I guess I'll be installing this one lol Thanks again!
Reply With Quote
  #18  
Old 11-20-2009, 08:05 AM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jaycob View Post
nope, just will not work at all. 3.8.4 - added the usergroups, tried other templates. tried everything and no go. will tag this mod. thx
I had this mod tested by other coders on their sites, and the modification does work. I also do not understand what you mean by "tried other templates". This mod has no templates, and no template changes have to be done.
Reply With Quote
  #19  
Old 11-20-2009, 12:44 PM
mbc100 mbc100 is offline
 
Join Date: Feb 2009
Location: K.S.A
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i will installed later
Reply With Quote
  #20  
Old 11-22-2009, 08:36 AM
AcidX's Avatar
AcidX AcidX is offline
 
Join Date: Jan 2006
Location: Macedonia
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Didn't work for me either. Uninstalled
Reply With Quote
  #21  
Old 11-25-2009, 07:20 PM
Rasher54 Rasher54 is offline
 
Join Date: Jul 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working for me either :/
Reply With Quote
Reply

Thread Tools

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 03:01 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.04555 seconds
  • Memory Usage 2,331KB
  • 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
  • (1)bbcode_php
  • (1)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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