Susanne Thiede Barnet

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • in reply to: Trouble exporting calendars #1274697

    Scratch that last response. I figured out how to make the link use https://.

    Thanks,
    Tyler

    in reply to: Trouble exporting calendars #1274695

    Thank you for the quick response!

    I went through and fixed the Google font error that the console was throwing and took a look at the error you pointed out about failing to execute ‘pushState’ on ‘History’.

    I noticed that when I first load the events page to the current month and I hover the link to go to next month (may), the URL is ‘https://boulderjct.org/all-events/’. After I click the link and go to may, if I hover over the link to go to the next month (june) the URL becomes boulderjct.org/all-events/2017-06/. So for some reason, the ‘https://’ is being stripped out after the first click. Would there be any way to force this link to always use ‘https://’?

    Thanks again for all of your help.
    Tyler

    in reply to: Is there a hook for when an event is created #1194726

    Thank you for all of your help. I used the functions you mentioned and got it working!

    in reply to: Is there a hook for when an event is created #1194000

    Thanks for the quick response! Now that I’ve got the function sending an email every time an event is published, a few new questions arose.

    Currently when I publish a recurring event the function fires for each event in the recurrence. Is there a way to only trigger the function after the last event in a recurring group is published?

    Also is there a way to grab the link to the ‘all’ page for the event that is created? eg events/test-event/all/?

    I see that there are tribe_is_recurring_event and tribe_display_current_events_slug functions that could be helpful in accomplishing this, however it doesn’t appear that you can pass them an ID.

    Thanks!

    in reply to: Page not Redirecting after activating Events Calendar. #905374

    I tracked the issue to being that the WP_HOME and WP_SITEURL were from different domains.

    porcupineup.com/ (mask domain)
    porcupinemountains.com/porcupine (WP installation folder)

    I switched them to porcupinemountains.com &
    porcupinemountains.com/porcupine

    The plugin is working fine now.

    in reply to: Venue Approval #138541

    This is being done by allowing users to have restricted access in the back-end of the site. They can enter events using the Events Calendar/Events Calendar Pro plugins. I think only allowing the user to select from pre-existing venues would be a plausible solution.

    in reply to: Can’t Customizing Template Files After 3.0 Upgrade #55707

    Never mind, turns out the old template files were never deleted so I was pulling old template files from the views folder (In case anyone else encounters this problem)

    in reply to: Adding Hyperlinks to custom field text #47382

    Is there any way around the full link tag in the custom field? I don’t know if my client will understand HTML in this instance. If not, any sort of timeline for version 3.0 which will handle this? It’s kind of a big feature the client wants to have event links. Thanks in advance!

    in reply to: Displaying last date of recurrence #32225

    Thanks! I think I should be able to customize things to the way I want them now.

    in reply to: Displaying last date of recurrence #32165

    Sorry I worded that a bit poorly. An example event on my site would be http://www.visitoshkosh.com/event/the-oshcar-awards/2013-02-05/. When setting recurrence (say the event runs every monday from Feb 6- March 6) I would set the start and end date to Feb 6th, all day event. Then set the recurrence to custom-> weekly -> and check Monday, then set the recurrence to end on March 6th. I am looking for a way to find the last day the event runs (March 6th) but using tribe_get_end_date() would give me February 6th. The idea is that I want to show the full span of the event (startDate-endDate).

    in reply to: Displaying last date of recurrence #31875

    scratch the last question.

    in reply to: Displaying last date of recurrence #31874

    Also is there a simple way just to check if an event is a recurring event?

    in reply to: Problem with start_date in tribe_get_events in 2.0.4 #19526

    I’ve got a solution up and running. You can see the loop code here:

    http://pastebin.com/fgpC2ND1

    Here is the filtering in action on a sandbox development installion:

    http://www.visitoshkosh.com/ocvb/events/

    in reply to: Problem with start_date in tribe_get_events in 2.0.4 #18807

    Looks like some of that got cut off. Let me try again:

    query(
    array(
    ‘post_type’ => ‘tribe_events’,
    ‘posts_per_page’ => -1,
    ‘orderby’ => ‘meta_value’,
    ‘order’ => ‘ASC’,
    ‘meta_key’ => ‘_EventStartDate’,
    ‘meta_query’ => array(
    array(
    ‘key’ => ‘_EventStartDate’,
    ‘value’ => array( $startDate.’ 00:00:00′, $endDate.’ 23:59:59′),
    ‘type’ => ‘DATETIME’,
    ‘compare’ => ‘BETWEEN’
    )
    )
    )
    );

    if ($featured_query->have_posts()) :
    while ( $featured_query->have_posts() ) : $featured_query->the_post(); ?>

    //DO WHATEVER YOU NEED TO DO WITH THE POSTS HERE

    <?php else: echo ' Sorry, there are no posts for the selected dates.’; ?>

    in reply to: Problem with start_date in tribe_get_events in 2.0.4 #18806

    I think I was right about my hunch that the eventDisplay property of ‘upcoming’ was nerfing the start_date selector from the tribe_get_events method. I would recommend classifying that as a bug and fixing it in an upcoming release. In the meantime, here is a workaround using WP_QUERY:

    Pretty source:
    http://pastebin.com/fgpC2ND1

    Probably pretty ugly source:
    query(
    array(
    ‘post_type’ => ‘tribe_events’,
    ‘posts_per_page’ => -1,
    ‘orderby’ => ‘meta_value’,
    ‘order’ => ‘ASC’,
    ‘meta_key’ => ‘_EventStartDate’,
    ‘meta_query’ => array(
    array(
    ‘key’ => ‘_EventStartDate’,
    ‘value’ => array( $startDate.’ 00:00:00′, $endDate.’ 23:59:59′),
    ‘type’ => ‘DATETIME’,
    ‘compare’ => ‘BETWEEN’
    )
    )
    )
    );

    if ($featured_query->have_posts()) :
    while ( $featured_query->have_posts() ) : $featured_query->the_post(); ?>

    //DO WHATEVER YOU NEED TO DO WITH THE POSTS HERE

    <?php else: echo ' Sorry, there are no posts for the selected dates.’; ?>

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