By Altitudes on Saturday, 06 December 2014
Posted in Groups
Likes 0
Views 1.8K
Votes 0
Hello

When you create a event in a group, you can set the event field "Member Transfer Type" to "Invite" so that all group members are invited as guests.
But then group members don't get any notification that they were invited (they do when they are invited to an event outside of a group...).

Because of another issue I raised (http://stackideas.com/forums/newly-created-event-does-not-appear-in-group-timeline-until-the-user-attends), this is getting very hard for the members of a closed group to be informed that a new event was created in group. Nothing in timeline, no notification... no chance that they ever attend!

.Fixed in ES 1.4.8
Hi Altitudes,

I am really sorry for the delay of this reply. I've applied the fix in our repository and the fix will be included in the next release of easysocial. In the meantime you can download my attachment below and place it inside your /administrator/components/com_easysocial/models/ for the fix.
·
Thursday, 03 September 2015 12:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes,

I am really sorry for the delay of this reply as it is a weekend for us here.

Actually what this field "Member Transfer Type" task is allow the event owner to change the event type "none, invite, and attend", that was not send all the invitation to group member for join this event.
- Invite type -> when you set this "invite" type, so that only this event member have the permission to send invitation to guest, which means that when the guest user try to access this event, they do not have permission to view anything.
- Attend type -> when you set this "Attend" type, so that all the guest user have the permission to view the event details and have the permission to attend to event without send any request.
·
Saturday, 06 December 2014 16:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for you answer (especially because this is the weekend )

- Invite type: an invite is an invite, using this option invited users will see this event in the "Invited Events" section of the Events Listing page (index.php?option=com_easysocial&view=events&filter=invited) (*). I don't see why they would not get a notification if they chose to have one for the events they are invited to. And that's their only chance to know this event was created (refer to what I wrote before: "Nothing in timeline, no notification... no chance [anybody] ever attend!").

(*) Provided you have set the option "Include Group Events in Listing" to "Yes" in backend

- Attend type: things are not as you describe them. If you use this options, all the group members will be set as attending (going to) the event, without their consent! Strange option I must say... And if a user joins the group and then tries to attend the event, he will only have a "Request to Attend" button on the event (maybe that's another problem).

I found no use case really working when you use events in closed groups. Check all the questions I asked in the forum related to this... I was really enthusiast when I started using EasySocial, but unfortunately nothing is working well for what I need (events in closed groups) and I'm getting very pessimistic

Maybe some of my needs are specific to me, but I think a lot of what I wrote deserves your attention and would improve EasySocial to meet your customers requirements... And it's not about having new features. It's about adjusting what you did so that it makes more sense.
·
Sunday, 07 December 2014 01:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Subscribe++
·
Monday, 08 December 2014 02:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes,

I'm really sorry that delayed of this reply and confusing in my previous reply,

First I really appreciated that you can take your time for provided some suggestion and reported some issues when you using our Easysocial.

Regarding this notification, we do not support in current system yet, but it will add in the upcoming releases.
·
Monday, 08 December 2014 19:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you, I can understand that there is some work to do. Let me know when it is planned for a specific release.

By this time, group members won't receive any notification when events are created in group. You know how notifications are important on a social network, that's what makes it addictive so I can't wait to have event creation notifications (or should I say invite notifications) in groups.
·
Monday, 08 December 2014 21:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Just one more question, how will I know when this is planned for? Should I open a feature request in Voices?
·
Wednesday, 10 December 2014 21:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes,

Yes, you should post this in the voice section
·
Wednesday, 10 December 2014 23:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes,

Thanks for inform to this, we will consider on your suggestion.
·
Friday, 12 December 2014 17:31
·
0 Likes
·
0 Votes
·
0 Comments
·
I created the following feature request in Voices: Notification for new Event created in Group. IMHO, this almost is a bug and I hope a lot of consideration for this request

I also wrote the code because I really needed this. Please note that if you are using event creation moderation, notification will be sent before the event is approved.

Find these lines in administrator/components/com_easysocial/models/events.php (arround line #926):
                $query = "INSERT INTO `#__social_clusters_nodes` (`cluster_id`, `uid`, `type`, `created`, `state`, `owner`, `admin`, `invited_by`) SELECT '$eventId' AS `cluster_id`, `uid`, `type`, '$now' AS `created`, '$nodeState' AS `state`, '0' AS `owner`, `admin`, '$userId' AS `invited_by` FROM `#__social_clusters_nodes` WHERE `cluster_id` = '$groupId' AND `state` = '" . SOCIAL_GROUPS_MEMBER_PUBLISHED . "' AND `type` = '" . SOCIAL_TYPE_USER . "' AND `uid` NOT IN (SELECT `uid` FROM `#__social_clusters_nodes` WHERE `cluster_id` = '$eventId' AND `type` = '" . SOCIAL_TYPE_USER . "')";

$db = FD::db();
$sql = $db->sql();
$sql->raw($query);
$db->setQuery($sql);
$db->query();

After, add the following code:
                // Notify invited or going users
$model = FD::model( 'Groups' );
$options = array( 'exclude' => $my->id, 'state' => SOCIAL_GROUPS_MEMBER_PUBLISHED);
$targets = $model->getMembers( $groupId , $options );

if( !empty( $targets ) ) {
$emailOptions = (object) array(
'title' => 'COM_EASYSOCIAL_EMAILS_EVENT_GUEST_INVITED_SUBJECT',
'template' => 'site/event/guest.invited',
'event' => $event->getName(),
'eventName' => $event->getName(),
'eventAvatar' => $event->getAvatar(),
'eventLink' => $event->getPermalink(false, true),
'invitorName' => $my->getName(),
'invitorLink' => $my->getPermalink(false, true),
'invitorAvatar' => $my->getAvatar()
);

$systemOptions = (object) array(
'uid' => $event->id,
'actor_id' => $my->id,
'target_id' => $event->id,
'context_type' => 'events',
'type' => 'events',
'url' => $event->getPermalink(true, false, 'item', false),
'eventId' => $event->id
);

FD::notify('events.guest.invited', $targets, $emailOptions, $systemOptions);
}

And that's it!
·
Monday, 02 March 2015 21:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Altitudes, I hadn't yet come across this as I'm busy working on another area ... but I surely would have bumped into this in the future when Group members create events.
·
Monday, 02 March 2015 23:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing this Altitudes
·
Tuesday, 03 March 2015 00:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

You have apparently integrated the code I gave to ES core some time ago. I did not notice it before, and the reason is... it does not seem to work

Your code is slightly different from mine, and there are certainly good reasons why (I must confess I'm not a good programmer), and I found 2 issues:

1- I did not manage to have any notification sent to people invited to the group event (say... it does not work at all )

2- So I forced the notifications by hacking your code:
if ($memberTransferType == 'invite') {
I changed to:
if (true || $memberTransferType == 'invite') {
and then, in the notification mail, the link to the event (on the RSVP button) has some unexpected colon in the id parameter value:
index.php?option=com_easysocial&view=events&id=62:&layout=item&Itemid=463
Does not seem serious but when I activate sh404SEF (I'm using on my site), the URL gets far worse...

Can you please do some testing, I think these issues must be quite easy to reproduce. If not, then I'll try to give you more instructions.

Thanks
·
Monday, 27 April 2015 06:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes,

I am sorry for the delay of this reply.

Regarding on the email notification is not generated after the event creation, it seems like this is only happened in joomla 2.5. Everything is working fine in joomla 3.4 from what I've tested from my localhost. We will get back to you with the proper fix as soon as possible. By the way your fix by adding "true" in the if condition will make all the user to get email notification regardless on the event type.

For the permalink issue for the rsvp in the link, I've fix it inside your /administrator/components/com_easysocial/models/events.php by adding the checking if the permalink is empty, it will always use the event title as the alias.
·
Monday, 27 April 2015 19:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

Notifications for event event creation is still not working in ES 1.3.28...
·
Monday, 01 June 2015 14:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes,

I am sorry I've missed this post.

I've added the joomla 2.5 compatibility fix inside your /administrator/components/com_easysocial/models/events.php for the event member transfer type checking and everything is working fine when you created an event inside group. Can you verify it for me?
·
Wednesday, 03 June 2015 16:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

You correction only works if the "Transfer Member Type" field (Group Member Transfer) is available during event creation. If it is not, then group member are invited (you can see it on the event in backend) but they are not notified.

In my case I don't use the "Transfer Member Type" field, so it doesn't work...
·
Wednesday, 03 June 2015 16:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes,

I am sorry for the delay of this reply. I've made additional fix inside your /administrator/components/com_easysocial/models/events.php and it should be working fine now when you are not using the custom field in the event category. By default the group member will be automatically invited and get email notification.
·
Thursday, 04 June 2015 16:52
·
0 Likes
·
0 Votes
·
0 Comments
·
It's working fine, thank you!

Do you know when we will have an ES 1.3.29 version with this fix and the other fixes done from the last version (that was released almost one month ago)?

Thanks
·
Thursday, 04 June 2015 19:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes.

We don't have the exact date yet when the next version will be release
·
Friday, 05 June 2015 19:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

It seems to be that none of the corrections done by Ezrul Fazwan are in ES 1.3.30
You can find attached the file administrator/components/com_easysocial/models/events.php with 2 fixes he had done, but I have lost the one he did on Thursday, June 04 2015, 04:52 PM...

Could you please send me the events.php with all the corrections and be sure that it will be included in next ES release?

Thank you
·
Wednesday, 12 August 2015 21:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I will need to check this with Ezrul tomorrow
·
Thursday, 13 August 2015 01:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

Any news regarding this?
·
Monday, 24 August 2015 16:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you, everything is in order now
·
Sunday, 06 September 2015 04:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating, glad that your issues are resolved now
·
Sunday, 06 September 2015 15:01
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post