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)
-   -   Social Group and Album Enhancements - Cel Social Groups Notifications (https://vborg.vbsupport.ru/showthread.php?t=228247)

cellarius 11-17-2009 10:00 PM

Cel Social Groups Notifications
 
1 Attachment(s)
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

smnet 11-17-2009 11:21 PM

Wow.... people have been wanting this forever...

I will watch and wait to see if any bugs crop up before using this...

Thanks,

Rob

cellarius 11-17-2009 11:27 PM

Well, I tested before release, of course - and if everybody did like you, bugs would never be found :)

ShawneyJ 11-18-2009 02:44 AM

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

cellarius 11-18-2009 05:33 AM

Quote:

Originally Posted by jaycob (Post 1916395)
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

Works for me on my live site and two test-installations. :erm:

smnet 11-18-2009 06:01 AM

Quote:

Originally Posted by cellarius (Post 1916291)
Well, I tested before release, of course - and if everybody did like you, bugs would never be found :)

Yes, well I'm sorry but our development version is 4.0, and i aint putting it on the live 3.8 until it's gone through it's paces.

I'm not being ungrateful..... just careful

cellarius 11-18-2009 07:44 AM

Quote:

Originally Posted by smnet (Post 1916451)
Yes, well I'm sorry but our development version is 4.0, and i aint putting it on the live 3.8 until it's gone through it's paces.

I'm not being ungrateful..... just careful

Hey, that's perfectly ok ;)

BTW: Updated to 3.8.002, minor bugfix :)

Taragon 11-18-2009 10:25 AM

thanks!, however, it isn't working for me aswell.

cellarius 11-18-2009 11:05 AM

I wonder why that is - it works fine for me on not only one installation, plus my vB4 testbeds (it's the same code).

If you're interested I'll look if I can add debugging functionality. Nonetheless I have to ask the obvious: There were new messages in social groups you were subscribed to or members of? If set to subscribed, it's not enough to be subscribed to single discussions. This mod works on group level, not discussion level (the latter would be a killer query). And you noticed the Limitations? DB read marking only?

Taragon 11-18-2009 07:29 PM

I have to admit I'm not exactly sure how to handle group subscriptions. Actually, I didn't even know there where any.
My db read marking was already set due to another product.

It's working like a charm right now, but only when having “groups the user is a member of” selected. Not when having “both” selected.

Thanks a lot, and much appreciated!


All times are GMT. The time now is 11:18 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.01110 seconds
  • Memory Usage 1,739KB
  • 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
  • (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