I just upgraded to JomSocial 3.1.01 from 3.0.4 and I'm noticing events links are not displaying on the group pages. First, under the cover photo where members, discussions and announcement counts/links are displayed. Second, the events module under the members module does not show up. Third, the link to create an event in drop-up options menu does not display.
This is the case in the following instances:
1. Registered users cannot view events link/module at any time.
2. Group admin can only view the links/events module/create event link ONLY IF there is a future or ongoing event within that group. If there is no future or ongoing event assigned to that group nothing related to events will show up on the group page.
I looked under the options related to groups and events and did not find anything that could fix these issues.
Hello John
You need to enable events in groups for the links to show up.
Take a look in the MWC challenge group for instance
You also need to enable module for it to show up
And finally, for the event creating in the group, you must allow members of the groups to add them per individual group setting.
Hi Sinisa, thanks for your reply.
I assume you mean the option in the backend group settings which was already enabled.You need to enable events in groups for the links to show up.
I'm unsure, where is the option to enable event modules on group pages? Do you mean the group option in frontend group edit/create labeled "Enable events sharing"?You also need to enable module for it to show up
I think this is why the events disappeared on group pages without changing settings after I updated. Before, the option "Allow members to create group events" was not required to show events to users. This option, as I understood, is for whether you want to give group members the ability to create events, not whether to display them to users. I thought that is what the first option is for, "Enable events sharing ".And finally, for the event creating in the group, you must allow members of the groups to add them per individual group setting.
Hello John
1. You need to enable events in every individual group for links to show up
2. Same as you enable any other Joomla module in Joomla module manager. You can not however, enable it groups pages. Modules in joomla dont work that way.
3. You need to enable event sharing in a group setting in order for that specific group to have events feature. You are not required to set "Allow members to create group events" in order to see events
All of my groups had events enabled in the options prior to upgrading and they displayed the event links. After upgrading, the group settings remained unchanged and the links disappeared which means something changed.
Group events settings were...
Enable events sharing :checked:
Allow members to create group events :unchecked:
Now after upgrading, the only way I can get events links to display on group pages to regular users, non group admins, is to check the "Allow members to create group events." Unless I'm missing another option, that option is the only way I can get users to see the links. If I uncheck that option, ONLY the group admin can see events links.
Examples
Group A does not display events links (Only to group admin)
Enable events sharing :checked:
Allow members to create group events :unchecked:
Group B displays events links (But only to group members)
Enable events sharing :checked:
Allow members to create group events :checked:
The same holds true for the
test group
you created. If you login with regular credentials (username: decampo42 / password: bullfn) and you will see events (contests) links disappear for that group.
So before upgrading, all I had to check was "enable events sharing" and all users could see events links regardless of group membership. This is how I want it to display again so I have control over event creation but still display their links. Why did this behavior change?
Hello
Please try this
Open ROOT/components/com_community/templates/default/groups.viewgroup.php
At line 94 find this code
<?php if($showEvents){?>
<?php if($allowCreateEvent || $config->get('group_events')){ ?>
Hi Sinisa,
Your edit got the events links to show up under the group cover photos again. Now what about the events module that shows up under the the group members module? The one that shows upcoming/onoing events in the group or empty if none.
much thanks
Hi John
Have you read my entire post?
Do the same on line 420 in a same file
My mistake, that solves it. Thank you! I hope the devs add these changes back.