vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Social Group and Album Enhancements - Cel Social Groups Notifications (https://vborg.vbsupport.ru/showthread.php?t=228280)

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 mechanisms in place to prevent unnecessary querying.


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

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

This mod is also available for vB 3.8.4:
https://vborg.vbsupport.ru/showthread.php?t=228247

cellarius 11-18-2009 08:20 AM

Should you have downloaded before this post, please redownload.

I had to move the plugin from global_start to global_bootstrap_init_complete, since global_start is not executed in cms and therefore the mod would not work there.

Hasann 11-18-2009 11:57 AM

So ein geiles addon wirklich nutzbar

SİMAR 11-18-2009 01:24 PM

try thanks

kmohamed 11-18-2009 01:29 PM

looks good

abdobasha2004 11-18-2009 02:03 PM

thanks
reserved

AzzidReign 11-19-2009 03:12 AM

This is genius! This should be a default option! The reason social groups aren't that big on my forums is b/c nobody knows when there is actually any posts to any of their groups. Good WORK!

WhatChaMissin 11-19-2009 04:50 PM

Quote:

Originally Posted by AzzidReign (Post 1916989)
This is genius! This should be a default option! The reason social groups aren't that big on my forums is b/c nobody knows when there is actually any posts to any of their groups. Good WORK!

+1, Social Group can be such a big part of my site as well if only there were more tools like this one available as part of the overall SG feature.

Thanks!

Bergler 11-21-2009 11:03 PM

Downloaded, installed, tested and doesnt work!! No notification given?? Any ideas why?

cellarius 11-22-2009 08:40 AM

Quote:

Originally Posted by Bergler (Post 1918604)
Downloaded, installed, tested and doesnt work!! No notification given?? Any ideas why?

You are a member of social groups and/or are subscribed to them? And there has been a new message left by another member in one of those groups? What is your read marking system set to in AdminCP? You realize this is about subscribed groups, not subscribed discussions?

goshalim 12-02-2009 01:39 PM

Hi ,
Is this so diffult for you to make it so that we can use it for 3.7.3 pleaseeeeeeeeeeeeeeeee

Booth 12-03-2009 04:15 PM

Brilliant mod - should be standard in VB4!

cellarius 12-16-2009 07:55 PM

Withdrawn.

cellarius 12-16-2009 10:10 PM

The queries have been completely rewritten and are now somewhat less ressource intensive. Also, this new structure fixes issues some users experienced. Please note that this comes with some restrictions:

Quote:

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)


McCarroll21 12-18-2009 07:07 AM

Can you create an option to go to the new group posts page instead of just to group.php?

[forum url]/search.php?do=getnew&contenttype=vBForum_SocialGro upMessage

I think that'd be the best place to link to so people will be able to quickly get to the message.

compact123 12-22-2009 11:00 PM

nice idea thanks for mod :)

cellarius 12-23-2009 05:21 AM

Changed mod settings to reflect compatibility with vB4 Gold (no update needed).

cellarius 12-24-2009 07:06 AM

New build 4.0.006: added option to link notification to custom URL

Talk-Pets 12-29-2009 05:47 PM

Great mod which the members seems very pleased about.

We have one problem though. It keeps saying that theres one notification (Groups) and no matter if we go to all the groups created (all groups - not just the one we?re members of - just to be sure and do what we can to get rid of the message)) and even chooses "Mark this group read" it keeps showing one notification for groups :confused:

Is this an error or are we doing something wrong? We have had several comments about this so it does not just happen to one or two...

Alfa1 12-29-2009 06:36 PM

If your members mark all groups read (one by one) then it will be solved, but its very confusing for members.

cellarius 12-29-2009 07:59 PM

Do you have set this?
Quote:

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)
It sounds as if you have it set to second option.

Talk-Pets 12-30-2009 11:05 AM

Quote:

Originally Posted by Alfa1 (Post 1941767)
If your members mark all groups read (one by one) then it will be solved, but its very confusing for members.

Did you read this:
It keeps saying that theres one notification (Groups) and no matter if we go to all the groups created (all groups - not just the one we?re members of - just to be sure and do what we can to get rid of the message)) and even chooses "Mark this group read" it keeps showing one notification for groups

Quote:

Originally Posted by cellarius (Post 1941852)
Do you have set this?

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)

It sounds as if you have it set to second option.

The settings are: Database (automatic forum marking) - last option avaible.

cellarius 12-30-2009 12:11 PM

As far as I'm aware, there's no mark all groups read functionality, so the users will have to visit them to get them read, yes. That's how it works, I'm afraid.

As to Talk-Pets problem: I really don't know what the issue at your forum is, then. The mod had such an issue before the rewrite of the querying system for build 5, but since then I have not experienced this on any of my forums. Could you recheck if you are really running version 4.0.006 of both plugins that come with this mod?

JermaineBelgard 12-31-2009 09:20 AM

Quote:

Originally Posted by Talk-Pets (Post 1941716)
Great mod which the members seems very pleased about.

We have one problem though. It keeps saying that theres one notification (Groups) and no matter if we go to all the groups created (all groups - not just the one we?re members of - just to be sure and do what we can to get rid of the message)) and even chooses "Mark this group read" it keeps showing one notification for groups :confused:

Is this an error or are we doing something wrong? We have had several comments about this so it does not just happen to one or two...

I have the same problem. Running the latest version of this mod with automatic forum marking. :confused:

cellarius 12-31-2009 01:20 PM

What is your setting in AdminCP->Options->Thread/Forum Read Marking Limit?

//Addendum:
Have you changed your read marking options when installing this mod, i.e. was it set to something else than the third option before? I may have been able to reproduce this under that circumstance.

Gleedo 12-31-2009 01:29 PM

Sounds interesting this mod. Does this / could this also work for Album picture comments?

cellarius 12-31-2009 01:43 PM

Quote:

Originally Posted by Gleedo (Post 1943376)
Sounds interesting this mod. Does this / could this also work for Album picture comments?

It does not and could not, since there is no read marking system in place for album comments.

cellarius 12-31-2009 02:05 PM

Quote:

Originally Posted by Talk-Pets (Post 1941716)
Great mod which the members seems very pleased about.

We have one problem though. It keeps saying that theres one notification (Groups) and no matter if we go to all the groups created (all groups - not just the one we?re members of - just to be sure and do what we can to get rid of the message)) and even chooses "Mark this group read" it keeps showing one notification for groups :confused:

Is this an error or are we doing something wrong? We have had several comments about this so it does not just happen to one or two...

Quote:

Originally Posted by cellarius (Post 1943372)
What is your setting in AdminCP->Options->Thread/Forum Read Marking Limit?

//Addendum:
Have you changed your read marking options when installing this mod, i.e. was it set to something else than the third option before? I may have been able to reproduce this under that circumstance.

To further debug this, I'd additionally like to know:
- what are your exact settings in AdminCP, especially are you running this for groups the user is a member of, subscribed to, or both?
- are the users who experience this are members of groups only, subscribed to groups only, or both (for the individiual member)?

JermaineBelgard 01-03-2010 06:45 PM

Quote:

Originally Posted by cellarius (Post 1943372)
What is your setting in AdminCP->Options->Thread/Forum Read Marking Limit?

//Addendum:
Have you changed your read marking options when installing this mod, i.e. was it set to something else than the third option before? I may have been able to reproduce this under that circumstance.

Limit: 10

Addemdum: Yes, it was option 1.

cellarius 01-04-2010 05:36 AM

There may indeed be an issue when read marking is changed that way. Probably this will resolve itself over time, can't think of anything I could do to change that.

Anyway, there seems to be another issue (also one I can do nothing about): there might be a read marking problem if there are more than one page of new discussion entries. I have now had members of my board experience this for the first time, and due to increased traffic in groups (because of the notifications :)) they had more than one page of new entries. Read marking seems to hickup then. This not only was influencing my mod, but also read marking on the main groups page (my groups). The discussion was indeed marked read, but the group was not - systemwide, not only for the notifications. I also was able to reproduce this, albeit both was on 3.8 installations. Since there were no changes to the system, I'm pretty sure this will be true for vB4, too.

Anyway, to resolve this if it happens, my users had to use the groups->individual group page->group tools->mark this group read. This worked. Going throug unread discussions or marking individual discussions read will not, since read marking for discussions and groups runs seperately.

KURTZ 01-14-2010 01:19 PM

great hack Sven ... ;)

Talk-Pets 01-14-2010 01:50 PM

Quote:

Originally Posted by cellarius (Post 1943400)
To further debug this, I'd additionally like to know:
- what are your exact settings in AdminCP, especially are you running this for groups the user is a member of, subscribed to, or both?
- are the users who experience this are members of groups only, subscribed to groups only, or both (for the individiual member)?

Great mod and working perfectly now :) Solved it with a little help from someone.

Blackhat 01-14-2010 09:32 PM

is there a way to get more details about the "new" posts ? Im a subscriber of some groups and member others, but I cant seem to find the posts that are new for me :)

cellarius 01-15-2010 04:13 AM

No, sorry. The mod does not pull details, it only checks the read/unread status. Everything else would make the queries involved too heavy to run on every pageload.

Blackhat 01-15-2010 10:00 AM

when I post to a group I get notified of new posts. When I go back to read my own post it still wont dissappear and I have the notification staying there all the time

cellarius 01-15-2010 12:19 PM

Please read #30 and the posts before that.

NashChristian 03-16-2010 12:51 PM

Cool mod... not exactly what I'm looking for, but cool. I'm looking for a mod that will increase the social group notifications to include "automatic email notification" of new posts in the group, instead of only cycling notices once every 24 hours.

Could you / would you be willing to incorporate this into your mod?

Thanks.

cellarius 03-16-2010 01:06 PM

No, since this is something completely different. No idea what you mean by cycling once every 24 hours. This mod works real-time.

NashChristian 03-16-2010 01:17 PM

Quote:

Originally Posted by cellarius (Post 2004787)
No, since this is something completely different. No idea what you mean by cycling once every 24 hours. This mod works real-time.

Sorry, not referring to your mod with the cycling once every 24 hours. I'm referring to the existing core vB email notifications for groups. By design currently, groups will only notify you once per day via email of new posts. I'm looking for a way to receive instant email notification. Sorry if I made that more confusing than necessary.

FARES_SAUDI 04-24-2010 07:10 PM

Great work, but note only that the alerts do not disappear even if you have access to the group


All times are GMT. The time now is 05:29 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.01385 seconds
  • Memory Usage 1,831KB
  • 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
  • (13)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
  • (40)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