UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Events and groups code

L'Eclaireur SARL · ·
10:20 PM Tuesday, 17 January 2017
Normal
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
The replies under this section are restricted to logged in users or users with an active subscription with us