Brian

Forum Replies Created

Viewing 15 posts - 5,836 through 5,850 (of 11,256 total)
  • Author
    Posts
  • in reply to: API Integration #967705
    Brian
    Member

    Hi,

    Thanks for the interest in our plugins.

    We do not have an API to import information into our plugin.

    It maybe possible with the WordPress Rest API, but we are not supporting that until it becomes apart the core of WordPress.

    We have a csv importer to get events into the Events Calendar and we are working on an iCal importer, but I do not have a timeline when it will be released.

    Let me know if you have any follow up questions.

    Thanks

    in reply to: Show Only Todays events #967704
    Brian
    Member

    Hi,

    Thanks for using our plugins.

    Have you tried what we do for the day view and use these arguments:

    'eventDate' => $current_date,
    'eventDisplay' => 'day'

    You would want to remove these then:

    'eventDisplay' => 'custom',
    'start_date' => $current_date,
    'end_date' => $datetime->format('Y-m-d'),

    Also, the format for date and time in a query needs to be in ‘Y-m-d H:i:s’ So if that above does not work maybe you can go back to your original query and add in time.

    Let me know how that works out.

    Thanks

    Brian
    Member

    Hi,

    I can help you out on this.

    So you are trying to get the event start times to show on one line instead of two, correct?

    I tried this css and got it to work for me:

    #tribe-events-content .tribe-events-event-body .duration .updated {
    display: inline;
    }

    Add that css to your theme’s stylesheet or through a plugin such as Simple Custom CSS.

    Let me know if that helps.

    Thanks

    in reply to: Related Events #967697
    Brian
    Member

    Hi Michael,

    The related events look for events with the same tags and/or categories.

    We use the wp_get_post_tags and wp_get_object_terms to get tags and categories of the current events

    Then we use those and the orderby random argument to find related events.

    Here is the entire function in 3.10:

    /**
    * Template tag to get related posts for the current post.
    *
    * @param int $count number of related posts to return.
    * @param int|obj $post the post to get related posts to, defaults to current global $post
    *
    * @return array the related posts.
    */
    function tribe_get_related_posts( $count = 3, $post = false ) {
    $post_id = Tribe__Events__Main::postIdHelper( $post );
    $tags = wp_get_post_tags( $post_id, array( 'fields' => 'ids' ) );
    $categories = wp_get_object_terms( $post_id, Tribe__Events__Main::TAXONOMY, array( 'fields' => 'ids' ) );
    if ( ! $tags && ! $categories ) {
    return;
    }
    $args = array(
    'posts_per_page' => $count,
    'post__not_in' => array( $post_id ),
    'eventDisplay' => 'list',
    'tax_query' => array('relation' => 'OR'),
    'orderby' => 'rand',
    );
    if ( $tags ) {
    $args['tax_query'][] = array( 'taxonomy' => 'post_tag', 'field' => 'id', 'terms' => $tags );
    }
    if ( $categories ) {
    $args['tax_query'][] = array(
    'taxonomy' => Tribe__Events__Main::TAXONOMY,
    'field' => 'id',
    'terms' => $categories
    );
    }

    $args = apply_filters( 'tribe_related_posts_args', $args );

    if ( $args ) {
    $posts = Tribe__Events__Query::getEvents( $args );
    } else {
    $posts = array();
    }

    return apply_filters( 'tribe_get_related_posts', $posts ) ;
    }

    Let me know if you have any follow up questions.

    Thanks

    in reply to: Events listed in the wrong order #967695
    Brian
    Member

    Hi,

    Sorry for the issues you are having.

    I can help troubleshoot this with you.

    I took a look at your site and see two events on the 29th.

    The Roll 2 Event shows first, which is correct as it has the 8:55am start time while the IEEE has a 9am start time. It should on the home page and the Event List View like this.

    Are you saying if you have an all day event, that is that when the events are out of order?

    Are you able to keep an example on your site of this and I can take a look?

    Let me know.

    Thanks

    in reply to: Facebook event times are importing – 4 hours #967691
    Brian
    Member

    I am glad to see you were able to figure it out.

    I am going to go ahead and close this ticket. If you have a similar issue or another in the future, please do not hesitate to create a new ticket.

    Thanks!

    in reply to: Markup included in Google Calendar export #967685
    Brian
    Member

    Hi,

    Sorry for the issues you are having.

    We have a ticket in for our next release after 3.10 to address this.

    For now does this filter help out:

    http://pastebin.com/Cxq1svXz

    Can you add that coding to your theme’s function.php and let me know if it works for you.

    Thanks

    in reply to: Google Map showing somewhere not far from Africa :) #967683
    Brian
    Member

    I am going to close this topic as we typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Thanks

    Brian
    Member

    I am going to close this topic as we typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Thanks

    in reply to: Refund Request. #967681
    Brian
    Member

    I am going to close this topic as we typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Thanks

    in reply to: Mobile version lists incorrect dates #967680
    Brian
    Member

    I am going to close this topic as we typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Thanks

    in reply to: Moved domain hosting and now license is throw error #967679
    Brian
    Member

    I am going to close this topic as we typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Thanks

    Brian
    Member

    I am going to close this topic as we typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Thanks

    in reply to: Schema and SEO support #967677
    Brian
    Member

    I am going to close this topic as we typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Thanks

    in reply to: Control date format #967676
    Brian
    Member

    I am going to close this topic as we typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Thanks

Viewing 15 posts - 5,836 through 5,850 (of 11,256 total)