Support » Plugin: Events Manager - Calendar, Bookings, Tickets, and more! » [Plugin: Events Manager] Default Event as Private

  • Resolved rfblanchard

    (@rfblanchard)


    I created a wordpress multisite and am using events manager as one of my plugins. Is there a way to default an event to private if the event has booking enabled? Here is why….

    WordPress network contains sites
    – Site1 (Users: User1)
    – Site2

    User1 logs into my network. Then he navigates to Site2 where he is not a member. He goes to their events page. Since he is logged into the wordpress network he is allowed to start booking events on site2. I don’t want him sending bookings for site2. Therefore I need to make sure events are set to private when booking is enabled. Then user1 won’t even see the event for site2.

    However, since it not me actually creating new events I need to trust that the event creators will remember to set events to private. Is there anyway I could force it to private if they choose to enable booking?

    http://wordpress.org/extend/plugins/events-manager/

Viewing 1 replies (of 1 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    you could do this but you´d have to code this yourself.

    to hook into the right place, you’d use the em_event_save filter and then do your checks there.

    You’ll see an example of how we do it by looking at buddypress/bp-em-groups.php around line 75

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Events Manager] Default Event as Private’ is closed to new replies.