malachidraven
Forum Replies Created
-
Ya know what, I just solved this by using Categories instead of Groups.
I created two Categories – Group and General – then I set the Group one to be the default so that when a user creates an event it’s automatically flagged as a Group Event. I’m pretty much to only one who will be adding General events as I’m the admin, so I can manually switch to that category.
Then I set one [events_list] shortcode to display category=”general” and the other category=”group”.
This achieved the result I wanted. However, it’s not a perfect solution. So I won’t mark this topic as resolved yet, as I’d still prefer to use Groups instead of Categories, and I don’t think my solution will work for anybody else.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Hide Group Events5.6.6.1
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Hide Group EventsI’ve been experimenting with various page templates and shortcodes, and this is what I’ve learned so far:
[events_list group=’my’] works, but [events_calendar group=’my’] does not.
Same goes for modifying the page templates with:
echo EM_Events::output(array('group'=>'my'));
works fine, but
echo EM_Calendar::output(array('group'=>'my'));
does not work.It seems the “Group” event attribute only works on Lists and not on Calendar. I can’t figure out how to fix this.
Nevermind, apparently you have to create a brand new location to update Google Maps. Simply changing the address on an existing location didn’t update via the Maps API. But with new locations, the maps work now.
Nevermind, I figured it out. I found the proper page templates.
For anyone who wants to know, the templates I used were:
templates/buddypress/group-events.php
templates/calendar-full.phpI added this code to the bottom of each template:
<div class="add-event"> <a>events/my-events/edit/?action=edit">ADD EVENT</a></div>