Project

General

Profile

Actions

Bug #21053

open

Events switching to private

Added by Laurie Hurson 3 days ago. Updated 1 day ago.

Status:
Reporter Feedback
Priority name:
Normal
Assignee:
Category name:
WordPress Plugins
Target version:
Start date:
2024-09-24
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Hi All,

A question: does linking a public, published event (on a site) to private group make the event switch to private once it is logged as connected to the group?

Use case:

A user reports that published events on the site keep switching to private automatically. Event example here:

https://hunterhumbio.commons.gc.cuny.edu/events/explore-healthcare-careers-workshop-10-1-virtual/

I can confirm that several event in the last 24 hours have been switched to private automatically. For example only one event had been swtiched to private yesterday when this was reported and now three are listed as private:

Site & Event: https://hunterhumbio.commons.gc.cuny.edu/wp-admin/edit.php?post_type=event

These events are connected to private group in the event setup, group connection is in the right sidebar of event settings.

Group: https://commons.gc.cuny.edu/groups/hunter-human-biology-cie/

Thanks for insight you can provide.

Thanks!

Actions #1

Updated by Laurie Hurson 3 days ago

  • Subject changed from Events swtiching the private to Events swtiching to private
Actions #2

Updated by Laurie Hurson 3 days ago

  • Subject changed from Events swtiching to private to Events switching to private
Actions #3

Updated by Boone Gorges 2 days ago

  • Assignee set to Raymond Hoh

I started looking through bp-event-organiser to find something that changes event privacy based on group connections, but I didn't see anything obvious. Ray, do you recall what we do here?

Actions #4

Updated by Raymond Hoh 2 days ago

  • Category name set to WordPress Plugins
  • Status changed from New to Reporter Feedback
  • Target version set to Not tracked

I think the issue here is a confusion between the event functionality on the group site vs the group itself.

1. This event -- https://hunterhumbio.commons.gc.cuny.edu/events/explore-healthcare-careers-workshop-10-1-virtual/ -- is created on the Hunter site. The Hunter site is using the Events Manager plugin for their events functionality. Events created through this plugin are different from the group events functionality we custom built for the Commons.

It also looks like Events Manager has its own BuddyPress integration. It looks like three events created on the Hunter site has the "Hunter Human Biology CIE" group connected to them:
- https://hunterhumbio.commons.gc.cuny.edu/wp-admin/post.php?post=3614&action=edit
- https://hunterhumbio.commons.gc.cuny.edu/wp-admin/post.php?post=3626&action=edit
- https://hunterhumbio.commons.gc.cuny.edu/wp-admin/post.php?post=3629&action=edit

In this case, the Event Manager plugin sets the event to Private because the "Hunter Human Biology CIE" group is hidden: https://github.com/cuny-academic-commons/cac/blob/93e76533f9cb83fceb661645cd678a59209692ca/wp-content/plugins/events-manager/buddypress/bp-em-groups.php#L15-L26

For the Hunter site, I would recommend not connecting a group to the event.

2. Now for the group itself, to post in the group calendar, navigate to the group's events page -- https://commons.gc.cuny.edu/groups/hunter-human-biology-cie/ -- and click on the 'New Event' button. Since this group is hidden, the event will not be public on the main Commons Events page. However, if a public group is connected to the event, the event will become public.

I'm guessing the Hunter site is using the Events Manager plugin because they want to better manage the display and organizing of events on the site itself.

Actions #5

Updated by Laurie Hurson 1 day ago

In this case, the Event Manager plugin sets the event to Private because the "Hunter Human Biology CIE" group is hidden: https://github.com/cuny-academic-commons/cac/blob/93e76533f9cb83fceb661645cd678a59209692ca/wp-content/plugins/events-manager/buddypress/bp-em-groups.php#L15-L26

Okay, yes this is what I was wondering about. Thank you for clarifying.

For the Hunter site, I would recommend not connecting a group to the event.

Yes, will recommend this to the user.

2. Now for the group itself, to post in the group calendar, navigate to the group's events page -- https://commons.gc.cuny.edu/groups/hunter-human-biology-cie/ -- and click on the 'New Event' button. Since this group is hidden, the event will not be public on the main Commons Events page. However, if a public group is connected to the event, the event will become public.

I think they are not actively using the group so I will suggest not using any group events.

I'm guessing the Hunter site is using the Events Manager plugin because they want to better manage the display and organizing of events on the site itself.

Yes, I think this is the case.

Thanks so much Ray!

Actions

Also available in: Atom PDF