By L'Eclaireur SARL on Tuesday, 17 January 2017
Posted in Groups
Likes 0
Views 609
Votes 0
Hi,

For some reason, I would like display on event page user all events groups user.
Example : user is in 2 groups (a and b), and I would like only events which appear in groups a and b.

I have add an" if ($event->isMember() || $event->isInvited() || isset($isGroupOwner))" in mytemplte/com_easysocail/event/default/items.php : to take only event for which user is member or invited, but I'm not the other group events, in which I have "RSVP",

In fact, it's problem when I have a new user in a group. He isn't add to event group like inivted and he doesn't see possible events of the group ( events user page). But when I go to event group page, I see all events event of group even if I'm a new user.

Do you understand my issue? Have you a solution, a little variable to inject in my code ?

Thank you
Hi Virginie,
I'm not really understanding your issue here. Do you mean that you want to only show cluster(groups, page) events to users in the Events page?

Do note that we do not provide customization support on the forums.
·
Wednesday, 18 January 2017 14:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

When I'm on event page, I have all events (of my community).
But all my events are private events of groups and I don't want the user to see all events.
Each group has its events private list.
An user group can only see all events of its groups.

I try to do that but I havn't all events group, I have just user invited group, I need to keep the not invited events of group for each user.

I don't think it's a customization because if a group is private and event is private too, only group users should see this event, no?

Thank's
·
Wednesday, 18 January 2017 21:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I think we misunderstand in earlier regarding with your first post.

In the Group have a 3 type you can select, for example :
Open type - Anyone can join the group and it does not require approval. These groups will appear in search results and shown on the group listing as well.
Closed type - Users will need to request to join this group. These groups will appear in search results and shown on the group listing as well.
Invite Only type - Only group members can invite other users to join this group. These groups will not appear in search results.

And I checked from your site backend, all the group you created in "Closed type", mean all the user still can able to see this group on the group listing page but they need to request to join first in order to see the content inside the group.

In Event also same :
Open type - Anyone can join the event and view the contents of this event. Public events will appear in search results and shown on the event listing as well.
Closed type - Other users would need to request to view the contents of this event. Private events will still appear in search results and shown on the event listing as well.
Invite Only type - Only members of the event can invite other users to join the event. Invite only events will not appear in search results.

By default, If you create event in the 'Closed group', mean this event also will show in event listing page because it will follow what is that group type.

Unless you create a group in "invite Only" type, so this group and group event will not appear on your listing page if that is non-member.

If you would like do not show closed event on your event page listing, you have to apply this following checking into that event php file, you can refer on my attached screenshot below.
·
Thursday, 19 January 2017 12:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Thank's for your answer, now it's clear fo me.

Thank you !!!
·
Thursday, 19 January 2017 21:10
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Virginie, glad that your issues are resolved now.
·
Thursday, 19 January 2017 22:58
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post