Jonah

Forum Replies Created

Viewing 15 posts - 2,101 through 2,115 (of 4,001 total)
  • Author
    Posts
  • in reply to: I screwed up a php file and need help #25778
    Jonah
    Participant

    FYI, I also just replied to an email Matthew sent to us on this topic and sent him a fresh copy of widget-calendar.class.php here: http://cl.ly/code/3I3O0z1N3a41

    Matthew, please follow up here in the thread vs. via email so we can stay on the same page and keep things organized.

    Thanks,
    Jonah

    in reply to: Google Calendar import #25776
    Jonah
    Participant

    Hey Ken,

    You can filter the params for the Google Calendar button like this (add this to your functions.php file): https://gist.github.com/3791894

    All I did was wrap get_the_content() in strip_shortcodes() to strip any shortcodes. Does that work for you?

    – Jonah

    in reply to: Next Event Widget – no longer showing full event details. #25774
    Jonah
    Participant

    Hi Derek,

    Ok, I think I see what’s going on. We did change some code in the widget. I apologize for this. Try this, make a copy of /wp-content/plugins/events-calendar-pro/views/widget-featured-display.php and place in an ‘events’ folder in your theme. Then, find lines 67-69 that look like this:

    $content = apply_filters('the_content', strip_shortcodes( $post->post_content ));
    $content = str_replace(']]>', ']]>', $content);
    echo wp_trim_words( $content, apply_filters( 'excerpt_length', 55 ), apply_filters('excerpt_more', ' ' . '[...]') );

    …and change to:

    the_content();

    That will make it so the widget displays the full content including images.

    Let me know how that looks.

    Regards,
    – Jonah

    in reply to: HOW to disable "show all events" under the widget #25760
    Jonah
    Participant

    Sweet, let us know if you need anything else!

    – Jonah

    in reply to: Default Sidebar not Showing on Calendar Pages #25758
    Jonah
    Participant

    Hi Sarah,

    Using the Default Events Template you’ll want to find /wp-content/plugins/the-events-calendar/views/ecp-page-template.php and place a copy in an ‘events’ folder in your active theme. Then, modify the code so it includes a call to the sidebar template like so: http://snippi.com/s/q56i5i8

    Does that work?

    – Jonah

    in reply to: Only display events of current user #25757
    Jonah
    Participant

    Awesome, glad that helped. Let me know if you need anything else.

    – Jonah

    in reply to: HOW to disable "show all events" under the widget #25756
    Jonah
    Participant

    Hi Marcin,

    The easiest way to do this is to simply hide it with CSS like so:

    .tribe-view-all-events {
    display: none;
    }

    Add that to your themes style.css file and you should be good to go.

    Cheers,
    – Jonah

    in reply to: Next Event Widget – no longer showing full event details. #25754
    Jonah
    Participant

    Hi Derek,

    The Next Events Widget by default never displayed an image. It sounds like you must have customized the widget display but did not make your customizations in the right place. The file to make changes is in /wp-content/plugins/events-calendar-pro/views/widget-featured-display.php and if you make changes, you need to make a copy of that file and place in an ‘events’ folder in your active theme.

    Did you make a backup of your files before you updated? You should always do this so you can revert back. Unfortunately there is no switch available in our plugin to be able to revert back. You’ll either need to dig around for a backup (maybe through your web host?) or modify the widget code again.

    I hope that helps.

    Regards,
    – Jonah

    in reply to: Only display events of current user #25753
    Jonah
    Participant

    Hi Kyle,

    This might be possible by using pre_get_posts like so but you’ll need to figure out the specific logic to check for the current user:

    add_action( 'pre_get_posts', 'show_posts_for_user' );
    function show_posts_for_user( $query ) {
    //if were on the gridview/calendar
    if ( $query->query_vars['eventDisplay'] == 'month' && $query->query_vars['post_type'] == TribeEvents::POSTTYPE && !is_tax(TribeEvents::TAXONOMY) && empty( $query->query_vars['suppress_filters'] ) ) {
    $query->set('author', 1);
    }
    return $query;
    }

    You would place that in your themes functions.php file and change the author to whatever you want. More on the author parameter can be found here: http://codex.wordpress.org/Class_Reference/WP_Query#Author_Parameters

    I hope that helps!

    – Jonah

    in reply to: Yoast & ECP #25750
    Jonah
    Participant

    That’s awesome Ray! Thanks for the contribution!

    – Jonah

    in reply to: Update to 2.3.10 Deletes Additional Fields #25732
    Jonah
    Participant

    Hey CLA,

    We don’t have a 2.3.10 verison. Are you sure you’re using our plugin? The Events Calendar / The Events Calendar PRO

    – Jonah

    in reply to: Event Calendar Pro Crawl Errors #25731
    Jonah
    Participant

    Hi guys,

    It’s beyond me too so I’ve ran it up the flagpole. Sit tight and we’ll get you a response soon.

    Thanks,
    Jonah

    Jonah
    Participant

    Hi Thomas,

    We are aware of and are trying to figure out a workaround or solution to the event import times but at the moment this is a limitation of FB’s API because they are using Pacific Time for all events via import.

    What is the problem you are having with the picture?

    – Jonah

    in reply to: Organizer Overview and detail Page #25706
    Jonah
    Participant

    Hi Thomas,

    Our plugin does not do this at the moment so you will need to build something separate. My suggestion would be a new post type for the artists and then to related to events, use http://www.advancedcustomfields.com/ or http://wordpress.org/extend/plugins/posts-to-posts/

    I hope that helps!

    – Jonah

    in reply to: Event details not lining up #25705
    Jonah
    Participant

    Hi Marcus,

    On #1, please try the fix in this FAQ: https://theeventscalendar.com/faq/my-calendar-navigation-buttons-become-misplaced-on-months-with-no-events-what-gives/

    On #2, there’s two things you can try.

    1. Change the Events Template option in Events > Settings > Template to something other than the default.

    2. Conditionally change the page titles in your theme’s page.php template using code like this: https://gist.github.com/aad337b8f0662d4df1b6

    I hope that helps!

    – Jonah

Viewing 15 posts - 2,101 through 2,115 (of 4,001 total)