Allan Hendriks

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • in reply to: displaying all recurrences on a single event #1035011
    Allan Hendriks
    Participant

    thanks Brian!

    in reply to: displaying all recurrences on a single event #1034968
    Allan Hendriks
    Participant

    Thank you so much for your help!
    A query for the post_parent was the key.
    Don’t expect it to make the next release, but here is what I put together in case anybody on the team wants to use it..

    in the single-event.php template..
    —————————————————————–
    if (function_exists(‘display_proper_recurring_dates_ecp’)) {
    global $post;
    echo display_proper_recurring_dates_ecp( $post );
    }
    —————————————————————–

    in my functions.php
    —————————————————————–
    function display_proper_recurring_dates_ecp( $post ) {
    if (!tribe_is_recurring_event() ) return;
    if (is_null($post)) return false;

    $date_args = array( ‘posts_per_page’=>-1 ,
    ‘post_type’ => ‘tribe_events’,);

    if ( $post->post_parent != 0)
    $date_args[‘post_parent’] = $post->post_parent ;
    else
    $date_args[‘post_parent’] = $post->ID ;

    $date_query = new WP_Query( $date_args );
    if ( $date_query->have_posts() ) { // The Loop
    $date_format = tribe_get_date_format( $event_year == $this_year ? false : true );
    $return .= ‘<p>This course is also offered: ‘;

    while ( $date_query->have_posts() ) {
    $date_query->the_post();
    $event_start_unix = date(‘U’, strtotime( get_post_meta( get_the_ID(), ‘_EventStartDate’, true ) ) ) ;
    $event_end_unix = $event_start_unix + get_post_meta( get_the_ID(), ‘_EventDuration’, true);
    $return .= ‘‘ .
    date($date_format, $event_start_unix) .
    ‘ – ‘ . date($date_format, $event_end_unix ).
    ‘;
    }
    $return .= ‘</p>’;
    }
    wp_reset_postdata();

    return $return . ‘


    ‘;
    }
    —————————————————————–

    in reply to: displaying all recurrences on a single event #1034183
    Allan Hendriks
    Participant

    i can see that my code has been parsed a little bit.
    let me know if I need to clarify that for you. with thanks A

    in reply to: recursive Events #1008840
    Allan Hendriks
    Participant

    I’ve updated the pro & event calendar plugin.

    Everything *looks* alright, but I’ll need to do some more thorough testing to ensure the recurring events work. Hope it works out!

    With thanks, Allan

    in reply to: recursive Events #1007547
    Allan Hendriks
    Participant

    Yes, it doesnt seem to have an effect when I follow your instructions. I just wanted to confirm that there wasn’t some sort of residual info in the post that was somehow affecting the way those got displayed.
    I guess I’ll need to wait until that release comes out with the fix. Thanks so much and I hope we can get this settled soon. Thanks very much (to you and your fellow staff) for all your hard work and suppport!

    in reply to: recursive Events #1007282
    Allan Hendriks
    Participant

    Another small note you could pass along to the devs

    When using the recurrence rules, once I add one, I can’t seem to remove it. What would happen in the case where a user wants to remove one of say, seven (lol) that they’ve created?

    On that note, I’m wondering if in this process of this testing has somehow left a residual wrench in the works..

    Thanks again! A

    in reply to: recursive Events #1007148
    Allan Hendriks
    Participant

    absolutely amazing
    I’m glad to hear that this WAS a bug and feel a little proud that I was able to help somewhat in identifying it.
    Once these get sorted, I hope it possible to get the recurring rules to accomodate three or four events in a year. Once thats set, I will be happy to pay for such a great plugin and amazing service!

    A

    in reply to: recursive Events #1006494
    Allan Hendriks
    Participant

    Amending to the last message, I’m ALSO noticing another thing with the recurrence rules. Say I made 3 different rules. No matter what options i set for each of those recurring rules, it will not save all of the settings I make in there. Regardless of what settings I use, it will only show the first row of input elements – I can’t actually see the add’l form elements underneath…

    I’d attach a screen shot but I can’t see an upload option here..

    in reply to: recursive Events #1006090
    Allan Hendriks
    Participant

    Also noticing some issues that *could* be related, but its hard to tell if this is the native functionality of the recurrence rules.

    Its seems to not be saving the recurred dates that I am making, or only *some* of the information. I’ll fill out the month and frequency, date and time and month input elements in the recurrence rule, save the event, but on reload it will only show that info AFTER I switch it from custom to something else and back end. Same result no matter how many recurrence rules I make.

    not sure if this is a JS problem or not. Is this helping?
    Again, I can’t get over how great your service is – especially considering I haven’t even paid for the product. Hope we can sort this out so I can support those that support me!\

    With thanks Allan

    in reply to: recursive Events #1006079
    Allan Hendriks
    Participant

    Turned on the wp_debug as well as WP_DEBUG_DISPLAY

    still getting this error and nothing else

    Fatal error: Unsupported operand types in /home/baseli9/public_html/pelvichealth/wp-content/plugins/events-calendar-pro/src/Tribe/Date_Series_Rules/Year.php on line 102

    all my plugins have been disabled and i have also performed this test using twenty fifteen, same result

    in reply to: recursive Events #1005267
    Allan Hendriks
    Participant

    it should be noted that I reactivate the plugins, as well as changed the theme to twenty fifteen. Still getting combinations of the white screen of death and the single error that I reported before. Thanks for your help – the support alone is amazing and I hope we can work this out! A

    URL
    http://pelvichealth.baselinestudios.com
    INSTALL KEYS

    WORDPRESS VERSION
    4.3
    PHP VERSION
    5.5.29
    PLUGINS
    Akismet version 3.1.3 by Automattic(http://automattic.com/wordpress-plugins/)
    Domeline EZ Subscriber Manager version 1.2 by Allan Hendriks(http://www.allanhendriks.com/)
    Domeline MetaBox File Upload version 0.91 by Allan Hendriks(http://allanhendriks.com/)
    Domeline Portfolio & Testimonial Manager version 1.2 by Allan Hendriks(http://www.allanhendriks.com/)
    Domeline Posts & Pix Wizard version 3.0 by Allan Hendriks(http://allanhendriks.com/)
    Domeline Shortcode Generator version 1.1 by Allan Hendriks(http://www.allanhendriks.com/)
    Domeline Physio Therapist Locations version 0.1 by Allan Hendriks(http://www.allanhendriks.com/)
    Email Subscribers version 2.9.1 by Gopi Ramasamy(http://www.gopiplus.com/work/2014/05/02/email-subscribers-wordpress-plugin/)
    The Events Calendar PRO version 3.12 by Modern Tribe, Inc.(http://m.tri.be/20)
    Jetpack by WordPress.com version 3.7 by Automattic(http://jetpack.me)
    Limit Login Attempts version 1.7.1 by Johan Eenfeldt(http://devel.kostdoktorn.se)
    Slideshow Gallery version 1.5.3.4 by Tribulant Software(http://tribulant.com)
    The Events Calendar version 3.12.1 by Modern Tribe, Inc.(http://m.tri.be/1x)
    Ultimate Maintenance Mode version 1.6.2 by SeedProd(http://seedprod.com)
    Yoast SEO version 2.3.4 by Team Yoast(https://yoast.com/)
    WP Google Map Plugin version 3.0.4 by flippercode(http://www.flippercode.com/)
    WP Google Map Pro version 2.3.13 by flippercode(http://www.flippercode.com)
    NETWORK PLUGINS

    MU PLUGINS

    THEME
    Baseline Domeline
    MULTISITE

    SETTINGS
    recurring_events_are_hidden = exposed
    tribeEventsTemplate =
    tribeEventsBeforeHTML =
    tribeEventsAfterHTML =
    previous_ecp_versions =
    Array
    (
    [0] => 0
    [1] => 3.9.1
    [2] => 3.9.3
    [3] => 3.10
    [4] => 3.10.1
    [5] => 3.11
    [6] => 3.11.2
    [7] => 3.12rc1
    [8] => 3.12
    )
    latest_ecp_version = 3.12.1
    last-update-message = 3.12rc1
    earliest_date = 2015-09-06 08:00:00
    latest_date = 2016-11-03 23:59:59
    donate-link =
    postsPerPage = 3
    liveFiltersUpdate =
    showComments =
    showEventsInMainLoop = 1
    eventsSlug = events
    singleEventSlug = event
    multiDayCutoff = 00:00
    defaultCurrencySymbol = $
    reverseCurrencyPosition =
    embedGoogleMaps = 1
    embedGoogleMapsZoom = 10
    debugEvents =
    viewOption = month
    stylesheetOption = tribe
    tribeEnableViews =
    Array
    (
    [0] => list
    [1] => month
    )
    tribeDisableTribeBar = 1
    monthEventAmount = 5
    dateWithYearFormat = F j, Y
    dateWithoutYearFormat = F j
    monthAndYearFormat = F Y
    dateTimeSeparator = @
    timeRangeSeparator = –
    datepickerFormat = 0
    defaultValueReplace =
    disable_metabox_custom_fields = show
    pro-schema-version = 3.12
    schema-version = 3.12.1
    enable_month_view_cache =
    hideSubsequentRecurrencesDefault =
    userToggleSubsequentRecurrences =
    recurrenceMaxMonthsBefore = 24
    recurrenceMaxMonthsAfter = 24
    geoloc_default_geofence = 25
    geoloc_default_unit = miles
    WORDPRESS TIMEZONE

    SERVER TIMEZONE
    UTC

    in reply to: recursive Events #1004856
    Allan Hendriks
    Participant

    Hey

    So ive disable EVERYTHING and commented out the meta box I created for each event and still having issues. At least in this case I am getting *some* feedback

    here is the error that I am getting-
    Fatal error: Unsupported operand types in /home/baseli9/public_html/pelvichealth/wp-content/plugins/events-calendar-pro/src/Tribe/Date_Series_Rules/Year.php on line 102

    I guess the custom interface is a little difficult to use, but I would think you’ve tried to make it as flexible as possible. I’m wondering if my use of the beta plugin has somehow mucked it up.

    Looking forward to hearing back from you, thanks Allan

    in reply to: recursive Events #1003778
    Allan Hendriks
    Participant

    Thanks!

    the white page of death is still showing after I submit a new event and both those plugins have been upgraded. I did eliminate a meta box that I create on events earlier and disabled all other plugins and such and the problem still persisted..

    i will try some more things, but now this is an even bigger issue, i hope its something on my end!
    With thanks, Allan

    in reply to: recursive Events #1003518
    Allan Hendriks
    Participant

    Not sure if I am missing something, but i only have access to the The Events Calendar 3.12 RC1 and Events Calendar PRO 3.12 RC1.

    Was a new version of pro accessible to me for some reason?
    I did purchase this plugin thinking the feature I’m referring to a while back, and it still shows that available, however the link leads to a page that says that its expired.. as I would expect as I requested a refund when i discovered this feature was coming soon (like now it looks like!).

    How do I proceed, just buy the plugin and see if it works?
    with thanks, Allan

    in reply to: recursive Events #1003001
    Allan Hendriks
    Participant

    Right so I’m part way there. It looks like the CUSTOM option is what I want. I’m having trouble viewing date options on the front end.

    On top of that, and I’m sure this is a beta issue, I can’t seem to save events when i make these changes. each time I save it just holds on a blank white page. its possible a small metabox I’m using is conflicting so I will disable that before requesting more help.

    Pls allow me the afternoon to comment those add’l things I’ve added. And before I do that, i’ll see what the procedure is for submitting beta comments! Thanks A

Viewing 15 posts - 1 through 15 (of 16 total)