Nico

Forum Replies Created

Viewing 15 posts - 3,106 through 3,120 (of 6,506 total)
  • Author
    Posts
  • in reply to: Featured image – i messed up… :-( #1143677
    Nico
    Member

    Wooot! Really glad to hear Sanne πŸ™‚

    I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.

    Hope you have a great week,
    Nico

    in reply to: Counting posts #1143674
    Nico
    Member

    Glad to see you could get this done Hans-Gerd πŸ™‚

    Thanks for sharing the complete code you used!

    I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.

    Hope you have a great week,
    Nico

    in reply to: Organizer can’t be set as required field #1143234
    Nico
    Member

    Hey Jesse and Karly,

    Thanks so much for the patience and sorry for the delay on my reply! I think I could correct the snippet and as far as I could test it works πŸ™‚

    I changed a bit how it works, just delete the previous code I sent and try this one instead:

    /* helper function to see if there's at least one valid organizer */
    function tribe_valid_organizers ( ) {

    // check for at least 1 valid organizer
    $valid_organizer = false;

    // bail if post not set
    if ( !isset($_POST) || !isset($_POST['organizer']) ) return $valid_organizer;

    $cant_organizers = count ( $_POST['organizer']['OrganizerID'] );

    for ( $i = 0; $i < $cant_organizers; $i++ ) {

    // saved organizer
    if ( !empty( $_POST['organizer']['OrganizerID'][$i] ) ) {
    $valid_organizer = true;
    break;
    }

    // organizer has name and email
    if ( !empty( $_POST['organizer']['Organizer'][$i] ) && !empty( $_POST['organizer']['Email'][$i] ) ) {
    $valid_organizer = true;
    break;
    }

    }

    return $valid_organizer;
    }

    /* define organizer as required */
    add_filter( 'tribe_events_community_required_fields', 'my_community_required_fields', 10, 1 );

    function my_community_required_fields( $fields ) {

    $fields = array(
    'post_title',
    'post_content'
    );

    /* make organizer required */
    if ( !tribe_valid_organizers() ) {
    $fields[] = 'organizer';
    }

    return $fields;
    }

    Be sure to change the fields array to whatever fields are required in your site!

    Please give it a go and let me know about it,
    Have a great weekend,
    Nico

    in reply to: Counting posts #1143215
    Nico
    Member

    Thanks for following up Hans-Gerd!

    So you want to pull the current category from the URL? And if there’s no category just return an empty string?

    Please let me know so I can tweak the code πŸ™‚

    Nico
    Member

    Glad to hear you could work the issue out Hovig πŸ™‚

    Regarding your follow-up question, I’m not aware of any compatibility with Category Colors plugin. Also I’m not familiarized with the plugin code so not sure how it could be affected. Anyway I see it working correctly on your site now, if the issue persists please post in Category Colores support forum, Andy (author) is a great guy and seems to be pretty responsive in the forums πŸ™‚

    Best,
    Nico

    in reply to: Recurring events don't show in list and calendar view #1143205
    Nico
    Member

    Hey Chris,

    Really sorry to hear you are leaving, but hope you can find the right tool for your project πŸ™‚

    Best of luck with the site,
    Nico

    in reply to: Disabled plugin? #1143202
    Nico
    Member

    Howdy Robert,

    Thanks for reaching out and sorry to hear about this issue πŸ™

    Just go ahead and downgrade the Event Brite tickets add-on to version 4.1.3. All plugins need to be in the same major version number, that’s why updating Event Brite required to update The Events Calendar and Events Calendar PRO. Follow this guide to do it: Downgrading a plugin to a past version.

    Please let me know if you are able to make it work again,
    Have a great weekend,
    Nico

    in reply to: Google Maps not loading #1143177
    Nico
    Member

    Hi there Christine,

    Thanks for reaching out! I see you marked the thread as resolved and I also see the map working as expected in your site, so I guess you could work this issue out, right?

    If not please check out this guide: Setting Up Your Google Maps API Key.

    Please let me know about it,
    Have a great weekend,
    Nico

    in reply to: Using multiple views of an event #1143174
    Nico
    Member

    Hi there Thomas,

    Thanks for getting in touch and for your interest in our products πŸ™‚

    create an event, and then list that event using one view on a page

    Not sure if I get you right, but the events calendar comes packed with different view in which your event will be displayed (look at hour demo site:http://wpshindig.com/events/): month view, list view, etc.

    …but also use a calendar view in a sidebar

    For the sidebar you can make use of our widgets, please note that only one widget is available with The Events Calendar and the extra ones are enabled when using Events Calendar PRO.

    Please let me know if the above answers your questions or you still need help,
    Have a great weekend,
    Nico

    Nico
    Member

    Hi there Hovig,

    Thanks for reaching out to us! I’ll help you here πŸ™‚

    I’ve seen this is the past for some other themes as well. The issue seems to be with how the theme is displaying archive pages (events view are archive pages), so please check on the theme settings if there’s an option to show full content for archive views instead of excerpts. I’m not much familiarized with X so not sure where that option is located, bue maybe their support team can help you configuring this?

    Please let me know if you can’t make it work, if not we can explore other options!
    Have a great weekend,
    Nico

    Nico
    Member

    Hi there Jason,

    Thanks for reaching out and sorry to hear about this issue! I’ll help you out…

    I just tried to reproduce this real quick in my local install but was unable to do so. I used WooCommerce tickets attached to events, and each event is showing it’s own tickets after purchase.

    Can you please describe the steps to reproduce this issue? Are you using RSVP or WooCommerce tickets? Are those attached to events or other post type?

    Please let me know about this,
    Have a great weekend,
    Nico

    in reply to: Recurring events vs Woocommerce #1143152
    Nico
    Member

    Hey Kate,

    Thanks for getting in touch! I’ll help you here πŸ™‚

    For now the method you describe is the best option to do this. We are working on adding tickets support for recurring events, but won’t happen in the near future. Hopefully we will have that included for version 4.4 (coming out in November approx), that’s the current plan!

    Please let me know if there’s anything else I can do for you,
    Best,
    Nico

    Nico
    Member

    Howdy Marie-Charlotte,

    Welcome to our support forums and thanks for reaching out to us!

    Events Calendar PRO comes packed with additional fields, which can be very useful for this. If you are not planning to purchase PRO just for this then we can explore other ways of doing this with WordPress built-in custom fields or with Advanced Custom Fields plugin as well and a template override. The later options will require some coding on your side, I will guide you anyway!

    Please let me know about it,
    Best,
    Nico

    in reply to: Counting posts #1143134
    Nico
    Member

    Hey Hans,

    Thanks for getting in touch! I crafted a little helper function to do this:


    function tribe_count_by_cat ( $event_category_slug ) {

    if ( ! class_exists('Tribe__Events__Main') ) return false;

    $tax_query = array( 'taxonomy' => Tribe__Events__Main::TAXONOMY,
    'field' => 'slug',
    'terms' => $event_category_slug );

    $args = array( 'post_type' => Tribe__Events__Main::POSTTYPE, 'post_status' => 'publish', 'tax_query' => array( $tax_query ), 'posts_per_page' => -1);

    $query = new WP_Query( $args );

    return $query->found_posts;
    }

    Add this code to your theme (or child theme) functions.php file and just call the function in your template like this:

    // get events count for Sports event category
    echo tribe_count_by_cat('sports');

    Please let me know if this is what you were looking for,
    Best,
    Nico

    in reply to: an error occurred while processing this directive. #1143059
    Nico
    Member

    This reply is private.

Viewing 15 posts - 3,106 through 3,120 (of 6,506 total)