PDA

View Full Version : Social Group and Album Enhancements - Cel Social Groups Notifications


cellarius
11-17-2009, 10:00 PM
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
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
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:

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_SocialGroupMessage

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?
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
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

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
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
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
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...

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
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
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
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

Xencored
05-06-2010, 02:26 PM
Awesome thanks alot cellarius works great !!

NashChristian
05-14-2010, 08:21 AM
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:

SAME problem here.

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.

Is this mod DOA, or is there a workaround that won't confuse users, or??? I'd really like to use this, but so far can't get it to EVER show less than 1 notification. (Even manually marking group posts "read".)

Please advise.
Thanks.

cellarius
05-14-2010, 09:19 AM
I'm sorry to hear that this mod does not work for you - for about 150 other installations it does, so no, it's not DOA. I'm also sorry I can't give you furhter assistance - the current read-marking-system vB uses is far from perfect, and obviously there's something interfering at your site.

NashChristian
05-14-2010, 09:39 AM
I'm sorry to hear that this mod does not work for you - for about 150 other installations it does, so no, it's not DOA. I'm also sorry I can't give you furhter assistance - the current read-marking-system vB uses is far from perfect, and obviously there's something interfering at your site.

Other users are having the exact same issue though, and you are able to recreate the issue, correct?

How are they getting around this? Or for some strange reason, is this mod working for some but not others? What might cause the difference?

I would like to use the mod, I just don't see how I can.

Thanks.

cellarius
05-14-2010, 10:17 AM
Sorry, at this time this mod is offered as-is. I just don't have the time to look into it further. It works on my own forums perfectly well.

GONUMBER6
05-17-2010, 02:57 PM
Just what I was looking for, thanks!

GONUMBER6
05-17-2010, 03:26 PM
The only thing I see a problem with is that even after you read all the new messages, you still get a notification? The notification is not clearing on my site.

Diablotic
06-04-2010, 06:42 PM
Is this problem with notifications not clearing fixed now? I would love to use this mod as I need some sort of notification system for my users when there is a new post in a group area.

cellarius
06-04-2010, 08:17 PM
You need to try. Some users seem to have it, some don't. I had it on one forum for a short time in the beginning, then it seems to have vanished. Sorry there's not more I can tell you.

goshalim
06-17-2010, 05:38 AM
Hi also from me
I have install it and its working perfect , i was waiting for this mod for a long long time.
Thansk a lot .

I have only one question to make please.
Some users receiving notification that there is something in one of the social group they are a memmber , but when they go there there is nothing new to dead or see , but they still have the message that there is a meessage new.

Why this is happening ?

cellarius
06-17-2010, 08:03 AM
Please read the thread, or at least the last few posts before yours ;)

KURTZ
06-20-2010, 10:42 AM
The only thing I see a problem with is that even after you read all the new messages, you still get a notification? The notification is not clearing on my site.

same trouble here (vB 4.0.4) ...

cellarius
06-20-2010, 11:25 AM
Feel free to read the thread, too, then.

KURTZ
06-21-2010, 09:41 AM
Feel free to read the thread, too, then.

seems to be correct now ... :p

Note: This mod will only work with database and automatic forum read marking!

Carnage
11-01-2010, 02:04 PM
Tagging to evaluate effect of read marking bug later

firattetik
11-08-2010, 01:30 AM
thanks

mia_undertaker
03-20-2011, 09:57 PM
New build 4.0.006: added option to link notification to custom URL

Where do I find this? I think it is a great mod but would like for it to link to another url.

Thanks in advanced,
Charles

mia_undertaker
03-20-2011, 10:00 PM
Sorry. I found it. Again great mod

Phaedrus
03-22-2011, 12:14 AM
Added to test it out. Let's see if it works for 4.1.2... :D

Merriweather
04-04-2011, 01:45 AM
Is it working on 4.1.2?

Rebecca217
04-07-2011, 02:15 PM
Is it working on 4.1.2?

I'm curious about this, too! Has anyone got it to work for 4.1.2?

cellarius
04-07-2011, 02:31 PM
There have been no changes that I would expect to cause problems with this addon.

eurocrewpr
04-29-2011, 10:26 PM
does anyone ever know how to fix the problem of the notifications still showing after reading the group thread?

labadora
07-10-2011, 04:45 AM
So ein geiles addon wirklich nutzbar

grey_goose
07-16-2011, 04:37 PM
Very nice.

grey_goose
07-16-2011, 06:34 PM
does anyone ever know how to fix the problem of the notifications still showing after reading the group thread?

Could they be from groups that were the user was previously a member of, but no longer is?

rughis
08-09-2011, 04:38 PM
Great!

Just a question: how can I understand which is the group that is interested by the notification?

hizirforum
08-19-2011, 08:42 AM
thansk you

suneka
09-24-2011, 08:18 PM
does anyone ever know how to fix the problem of the notifications still showing after reading the group thread?

I have same problem (i choose "database and automatic forum read marking")

how fix the problem?

Alfa1
09-25-2011, 05:33 PM
I understand that it cant be fixed without rewriting social groups function in vbulletin. The only thing that can be done is vote for the function in vbulletins tracker:
http://tracker.vbulletin.com/browse/VBIV-10815
http://tracker.vbulletin.com/browse/VBIV/component/10065#selectedTab=com.atlassian.jira.plugin.system .project%3Acomponent-popularissues-panel

Dwarden
02-18-2012, 10:55 PM
@Alfa1 is there way how list "My Social Groups" ?

i assume it's not (one of these social groups missing features)
as if it is i would use it as custom URL instead of unread Social group messages

atm. users are complaining they unable to figure out what messages from which group are reason of the notify

blackberry
08-29-2013, 06:45 PM
nice but need improvements.

Cerbero1000
11-12-2013, 04:23 PM
New build 4.0.006: added option to link notification to custom URL

It's not working for me. It don't redirect to url link group.php?discussionid=X&do=discuss but to group.php
Can you help me?
Thanks

Harpo
11-13-2013, 10:27 AM
Should my forum have that "Notifications" tab? I don't have one on my board and I am using the default theme. All I have is "inbox". Not sure if that why its not showing the group notices for me?

4.2.2

Phaedrus
01-21-2014, 06:54 AM
Should my forum have that "Notifications" tab? I don't have one on my board and I am using the default theme. All I have is "inbox". Not sure if that why its not showing the group notices for me?

4.2.2

I think that notifications thing comes from Paul's Display Unread Posts (and Reputation Comments in 4.1) modification here:

https://vborg.vbsupport.ru/showthread.php?t=231060

dougdirac
07-02-2014, 03:45 PM
Is anyone using this on 4.2.2?

markoroots
02-14-2016, 05:28 PM
It's not working for me. It don't redirect to url link group.php?discussionid=X&do=discuss but to group.php
Can you help me?
Thanks

Yes I have the same problem and I'm using Vb 4.2.3 ver
If we click on the button (xGroup) in the notification Tab (was better was wrote "x Groups Discussions")

we go to group.php

so no new thread are shown.

Can you please help us? Maybe is a bug for this version of Vb.

MarkFL
02-14-2016, 05:45 PM
I don't have this product installed, but I would first check this setting:

"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)"

jdunsworth
02-19-2016, 01:16 PM
I am running into the same problem where it shows the notification but clicking on it goes to the group page and doesn't easily show which group the notification is for.

Running 4.2.2 as well. The Thread/Forum Read Marking is set to Database.

cellarius
02-19-2016, 01:51 PM
vB does not track unread discussions. It only tracks unread groups: Meaning there is no way to show unread discussions for a given user. (At least it was that way when this addon was coded, and I am not aware of fundamental changes to this system).

This addon does all that is possible - you have the design limits imposed by IB to thank for the limits.

markoroots
02-24-2016, 09:01 PM
vB does not track unread discussions. It only tracks unread groups: Meaning there is no way to show unread discussions for a given user. (At least it was that way when this addon was coded, and I am not aware of fundamental changes to this system).

This addon does all that is possible - you have the design limits imposed by IB to thank for the limits.

Incredible that Vb don't think to send a notifications for the social groups....

I see that is just present a custom code in the options of your plugin, it look to do that:
[forum url]/search.php?do=getnew&contenttype=vBForum_SocialGroupMessage


But I'm not an expert... but this seems that doesn't work.