Forum Replies Created
-
AuthorPosts
-
Denise Crosbie
ParticipantDid this get fixed with the new 3.2 release?
Denise Crosbie
ParticipantK I will try disabling and get back to you…
Denise Crosbie
ParticipantAny update on this?
September 19, 2013 at 8:36 am in reply to: SAVING Reoccuring Events Does Not Work with new 3.0.5 Update #66795Denise Crosbie
ParticipantYEs I tried your fix Barry and it worked. Thanks!
Denise Crosbie
ParticipantK, I m obviously impatient so I dug around in the code and read up on taxonomies and came up with the following tidbit in functions.php which seems to be working to only allow admins access to edit event categories. Hopefully it doesn’t break something, but I tested and it seems to work great.
function my_custom_init() {
//make it so that non-admin users can not edit event categories
register_taxonomy( ‘tribe_events_cat’, ‘tribe_events’, array(
‘hierarchical’ => true,
‘update_count_callback’ => ”,
‘rewrite’ => array( ‘slug’=> ‘events/’ . sanitize_title( __( ‘category’, ‘tribe-events-calendar’ ) ), ‘with_front’ => false ),
‘public’ => true,
‘show_ui’ => true,
‘labels’ => array(
‘name’ => __( ‘Event Categories’, ‘tribe-events-calendar’ ),
‘singular_name’ => __( ‘Event Category’, ‘tribe-events-calendar’ ),
‘search_items’ => __( ‘Search Event Categories’, ‘tribe-events-calendar’ ),
‘all_items’ => __( ‘All Event Categories’, ‘tribe-events-calendar’ ),
‘parent_item’ => __( ‘Parent Event Category’, ‘tribe-events-calendar’ ),
‘parent_item_colon’ => __( ‘Parent Event Category:’, ‘tribe-events-calendar’ ),
‘edit_item’ => __( ‘Edit Event Category’, ‘tribe-events-calendar’ ),
‘update_item’ => __( ‘Update Event Category’, ‘tribe-events-calendar’ ),
‘add_new_item’ => __( ‘Add New Event Category’, ‘tribe-events-calendar’ ),
‘new_item_name’ => __( ‘New Event Category Name’, ‘tribe-events-calendar’ )
),
‘capabilities’ => array(
‘manage_terms’ => ‘update_themes’,
‘edit_terms’ => ‘update_themes’,
‘delete_terms’ => ‘update_themes’,
‘assign_terms’ => ‘update_themes’
)
));
}
add_action(‘init’, ‘my_custom_init’);Denise Crosbie
ParticipantAlso I want the same under the “+New” toolbar menu – it has New Event but not New Venue – how can I also add New Venue.
Denise Crosbie
ParticipantAlso, I hear a lot about this 3.0 – when is that scheduled to release?
Denise Crosbie
ParticipantK, thanks for the info. Looking at it closer most of the reoccurring events seem to be working as expected, it was just one random reoccurence event, which turns out was a duplicate of another event, and I think that was what was throwing me off. I deleted it and everything else seems to be in order I think.
Denise Crosbie
ParticipantOh I think I just figured it out, there was apparently a page 1 to this post that I missed:
https://tri.be/support/forums/topic/make-a-specific-calendarcatagory-private/I just had to updat the code to list the slugs of the cateogires I wanted to make private here in the code, seems to work fine now…
$taxquery = array( ‘taxonomy’ => TribeEvents::TAXONOMY,
‘field’ => ‘slug’,
‘terms’ => array( ‘u12-team-events’, ‘u14-team-events’, ‘u16-team-events’, ‘u18-team-events’, ‘u21-team-events’, ‘adult-team-events’ ),
‘operator’ => ‘NOT IN’ );Denise Crosbie
ParticipantThanks for the list on TribeEventsAdvancedListWidget I am using the category filter and it works great. For the TribeEventsCalendarWidget I could custom code, but I’m tight for time so I just have the Advanced List Widget link over to the filtered calendar by category. Good enough.
March 18, 2013 at 4:13 pm in reply to: Include Calendar/Upcoming Events by Category into my Page Template #43198Denise Crosbie
ParticipantYes I have decided just to link to the category links provided by default. I just embed the advanced list widget into the template, then they can get to the calendar view by category from the link on there. Not as lovely as I would have liked, but good enough for my clients I think.
Denise Crosbie
ParticipantAs for the google maps default to checked, I just modified the following core plugin file: plugins/the-event-calendar/admin-views/events-meta-box.php – changed to default checked google maps inputs – id=”EventShowMapLink” & id=”EventShowMap”.
Denise Crosbie
ParticipantK, I applied the bug fix. Another question about reoccurring events though…
Say I go to the event categories and view all events for a category – it groups together the reoccurring events into one which is good because the screen is way less cluttered. But the reoccurring event it chooses to show is some random event in the middle of the reoccurence.
For example, I have a reoccurring event from March 12 – May 31 – every Tue. But the event it lists is the random Apr 16 event. So then when I go in to edit, it thinks I am editing Apr 16th event and only updates future events with my change. Why wouldn’t it pick the first event in the series, or at least the event that is the next in the series from today’s date? For example today is Mon March 18, and I want to edit all future events starting Tues March 19, but I can’t do that because the event recurrence grouping defaults to Apr 16, so I have no way to edit the events before that.
Denise Crosbie
ParticipantAre those valid just for TribeEventsAdvancedListWidget or for TribeEventsCalendarWidget as well? I am also looking to filter TribeEventsCalendarWidget by category.
Denise Crosbie
ParticipantSolved – In the defaults area – there is a checkbox at the very top that you have to check to tell it to actually use the defaults you entered. haha, tricky.
Anyhow – still wanting to make “Show Google Map” & “Show Google Map Link” clicked by default, can’t find a setting for this.
-
AuthorPosts
