Mini calendar widget showing older events on clicking on a day

Home Forums Calendar Products Events Calendar PRO Mini calendar widget showing older events on clicking on a day

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #77435
    africaatlanta
    Participant

    When I click on a particular day on the mini calendar, it is showing me the correct date but events from the past.
    http://africaatlanta.org/downloads/screenshot.jpg

    Please help me figure this out. I feel its related to single-event.php in mini calendar widget.

    current_post == 1 ) {
    $class = ‘ first ‘;
    }
    if ( $wp_query->current_post+1 == $wp_query->post_count ) {
    $class .= ‘ last ‘;
    }

    $startDate = strtotime( $post->EventStartDate );
    $endDate = strtotime( $post->EventEndDate );
    $today = time();

    /* If the event starts way in the past or ends way in the future, let’s show today’s date */
    if ( $today > $startDate && $today

    <div class=”tribe-mini-calendar-event event-current_post;?>”>

    <a href=””>post_title; ?>

    |

    ID ); ?>

    The widget can be found at africaatlanta.org

    #77436
    africaatlanta
    Participant

    Sorry pasted the wrong code.

    current_post == 1 ) {
    $class = ‘ first ‘;
    }
    if ( $wp_query->current_post+1 == $wp_query->post_count ) {
    $class .= ‘ last ‘;
    }

    $startDate = strtotime( $post->EventStartDate );
    $endDate = strtotime( $post->EventEndDate );
    $today = time();

    /* If the event starts way in the past or ends way in the future, let’s show today’s date */
    if ( $today > $startDate && $today

    <div class="tribe-mini-calendar-event event-current_post;?>”>

    <a href="”>post_title; ?>

    |

    ID ); ?>

    #77747
    Kelly
    Participant

    Hi, africaatlanta. Great question! That is definitely peculiar behavior.

    First, I want to check about your troubleshooting steps and the results of them. Did you have a chance to try with a default WP theme like Twenty Twelve? If so, did that make a difference? When you tried with all other plugins disabled was there any change?

    If you could post your System Information for the Events Calendar Settings Help tab, that would be helpful, too.

    Thanks! 🙂

    #77777
    africaatlanta
    Participant

    Hey Kelly,
    I have been using the Twenty Twelve theme for the calendar. I did try it with all my plugins disabled. Here is the System Info:

    URL

    30代でも恥ずかしくない!30代からの早漏治療を詳しく解説


    INSTALL KEYS
    events-calendar-pro = a774b775509c4288054bf59cde602b91f3131c66
    WORDPRESS VERSION
    3.6.1
    PHP VERSION
    5.3.25
    PLUGINS
    CSS Plus version 1.4.3 by Paulo E. Calixto(http://pauloklixto.com)
    The Events Calendar PRO version 3.2 by Modern Tribe, Inc.(http://m.tri.be/20)
    Limit Login Attempts version 1.7.1 by Johan Eenfeldt(http://devel.kostdoktorn.se)
    Members version 0.2.4 by Justin Tadlock(http://justintadlock.com)
    The Events Calendar Category Colors version 3.0.5 by Andy Fragen, Barry Hughes(http://thefragens.com/blog/)
    The Events Calendar version 3.2 by Modern Tribe, Inc.(http://m.tri.be/1x)
    Theme My Login version 6.3.8 by Jeff Farthing(http://www.jfarthing.com)
    NETWORK PLUGINS

    MU PLUGINS

    THEME
    Twenty Twelve
    MULTISITE

    SETTINGS
    recurring_events_are_hidden = exposed
    tribeEventsTemplate =
    tribeEventsBeforeHTML =
    tribeEventsAfterHTML =
    previous_ecp_versions =
    Array
    (
    [0] => 0
    [1] => 3.1
    )
    latest_ecp_version = 3.2
    disable_metabox_custom_fields = hide
    welcome_notice = 1
    custom-fields =
    Array
    (
    [0] => Array
    (
    [name] => _ecp_custom_1
    [label] => Type of Activity
    [type] => checkbox
    [values] => Art Exhibition
    Cinema
    Conference & symposium
    Performance
    Salon
    Workshop
    )

    [1] => Array
    (
    [name] => _ecp_custom_2
    [label] => Genre
    [type] => dropdown
    [values] => Arts & Culture
    Business & Innovation
    Education
    Global Affairs
    )

    [2] => Array
    (
    [name] => _ecp_custom_3
    [label] => Parking Information
    [type] => text
    [values] =>
    )

    )
    stylesheetOption = tribe
    tribeEnableViews =
    Array
    (
    [0] => upcoming
    [1] => month
    [2] => day
    [3] => map
    [4] => photo
    )
    viewOption = month
    tribeDisableTribeBar =
    hideLocationSearch =
    hideRelatedEvents =
    monthEventAmount = 3
    donate-link =
    postsPerPage = 6
    liveFiltersUpdate =
    hideSubsequentRecurrencesDefault =
    userToggleSubsequentRecurrences =
    showComments =
    showEventsInMainLoop =
    eventsSlug = events
    singleEventSlug = event
    multiDayCutoff = 12:00
    defaultCurrencySymbol = $
    embedGoogleMaps = 1
    geoloc_default_geofence = 2
    geoloc_default_unit = miles
    embedGoogleMapsZoom = 10
    debugEvents =
    defaultValueReplace = 1
    eventsDefaultOrganizerID = 0
    eventsDefaultVenueID = 78
    eventsDefaultAddress =
    eventsDefaultCity = Atlanta
    eventsDefaultState = GA
    eventsDefaultProvince =
    eventsDefaultZip =
    defaultCountry =
    eventsDefaultPhone =
    tribeEventsCountries =
    recurrenceMaxMonthsBefore = 24
    recurrenceMaxMonthsAfter = 24

    Thanks! It would be a really big help if you could point me at the right direction.

    #77778
    africaatlanta
    Participant

    I tried deactivating the plugin The Events Calendar Category Colors, and it seems to work now. Whats the work around for this to work with the plugin?

    #77780
    africaatlanta
    Participant

    It works after updating the Plugin. I missed the bug fixes for 3.1.1.

    Thanks Kelly. You can close the thread.

    #77809
    Kelly
    Participant

    That’s great news, africaatlanta! 🙂 Thanks for letting us know!

    #982269
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Mini calendar widget showing older events on clicking on a day’ is closed to new replies.