Patrick Sasser

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 30 total)
  • Author
    Posts
  • in reply to: $wp_embed->run_shortcode issue #1133910
    Patrick Sasser
    Participant

    I was able to fix it by switching my code to this….

    
    $video = wp_oembed_get( 'https://vimeo.com/168256794' );
    echo $video;
    

    and then adding the code container here…

    All YouTube & Vimeo Links Broken

    But the code in the other forum wouldn’t fix the global $wp_embed code I had in the first post.

    in reply to: WP Super Cache and ECP #1101731
    Patrick Sasser
    Participant

    Hey Barry,

    Thanks for the support. That worked perfectly so combined with the script I put above and adding the script to the footer using

    tribe_pre_get_template_part_pro/widgets/mini-calendar-widget

    As the action worked perfectly. I was able to ditch the setTimeout in the Script and make it work. So hopefully this should make the caching issue a non factor as it should simulate a click on today’s event only. This also eliminated another issue that on page load I really only want today’s events to show up not the most recent upcoming however many events. Anyway we should be all good. I also posted on the forum to request this feature as well.

    Thank you,
    patrick

    in reply to: WP Super Cache and ECP #1101384
    Patrick Sasser
    Participant

    add_action( 'wp_enqueue_scripts', 'myScripts', 100);

    Doesn’t do anything to fix it. I have also tried a really high priority, but the script is still enqued in the footer before

    <script type='text/javascript' src='/wp-content/plugins/events-calendar-pro/src/resources/js/widget-calendar.js?ver=179ca483085779c14960d942d9a19c1e'></script>

    Any other thoughts?

    in reply to: WP Super Cache and ECP #1101287
    Patrick Sasser
    Participant

    Love the idea to refresh the widget once it all loads up, but I’m having a little difficulty.

    Here’s what the code looks like so far…

    jQuery(document).ready(function(){
    	if(jQuery(".tribe-mini-calendar-wrapper").length)
    	{
    		var check = new Date().getDate();
    		var year = new Date().getFullYear().toString();
    		var day = new Date().getDate().toString();
    		var month = new Date().getMonth();
    		month = month + 1;
    		month = month.toString();
    		var fulldate = year +"-"+ month +"-"+ day;
    		fulldate = year +"-"+ (month[1]?month:"0"+month[0]) +"-"+ (day[1]?day:"0"+day[0]);
    		setTimeout(function () {
    			jQuery('.tribe-mini-calendar-wrapper').find('[data-day=' + fulldate + ']').trigger( "click" );
    		}, 0);
    	}
    });

    It actually works, but I’m having to put a setTimeout in there to run it a little after the calendar loads. Is there an js event I can call after the calendar loads or something like that?? My other thought is that I could just include this script in the footer after the script for the calendar is loaded. I’m enquing my scripts via

    add_action( 'wp_enqueue_scripts', 'myScripts', 10);

    however whatever priority I put in there doesn’t enque my script after the script for the mini calendar that’s down in the footer? Any thoughts?

    Thanks much,
    patrick

    in reply to: Mini Calendar #1101254
    Patrick Sasser
    Participant

    Hey George,

    No worries on the 24 hour support follow up. I completely understand. I just wanted to say that you might not see the error if you went in and checked yesterday. Anyway, today’s date has two events and they are both showing up on the website on the initial load of the mini calendar. So perhaps things are fixed. Tomorrow’s date has 5 events so that will give me a little more insight if it is truly fixed, but things are looking good today. We have WP-Super-Cache installed do you think that could have contributed to the issue if in fact it has been working properly this whole time?

    Thanks?
    patrick

    in reply to: Mini Calendar #1100731
    Patrick Sasser
    Participant

    Hey Guys,

    Since I didn’t get a reply on this yesterday everything looks good today as there is only one event on Monday the 11th (today). There are two events tomorrow (the 12th) so I assume that the same error will occur tomorrow when there are two events. If you would be so kind as to put in the queue to check for tomorrow that would be great.

    Thanks much,
    patrick

    in reply to: Put Div around Month/Grid View #1025305
    Patrick Sasser
    Participant

    Boom, thanks much. I put your fix in and it worked perfectly. I thought it was something specific to a jQuery path. I just updated that core file. And hopefully this will be in the next release so my changes aren’t overwritten??

    Have a great day,
    patrick

    in reply to: Put Div around Month/Grid View #1023899
    Patrick Sasser
    Participant

    I took out the code to add the wrapper. Notice now when you click on one of the dates on the mobile view it pops up the events for that date below the calendar…

    http://puu.sh/lgNAW/5e747bb477.png

    Make sense??

    So the stuff that says Women’s Bible Studies and Mizzou Faculty won’t ever load if the wrapper is in there.

    Thanks much,
    patrick

    in reply to: Put Div around Month/Grid View #1023842
    Patrick Sasser
    Participant

    Its just a design element. I’m basically trying to add some padding and some border around the calendar only. Here’s the calendar in action http://www.thecrossingchurch.com.php53-15.ord1-1.websitetestlink.com/calendar/&#8230;

    I’ve pointed out the border in this screenshot….
    https://drive.google.com/file/d/0Bx7TM-VEnOZtVV9KbC03dnFDdTg/view?usp=sharing

    So you can see that it is working there. And when I go down to mobile then it won’t load anything below the calendar events where the mobile events should appear. I tried adjusting the priority of the action

    add_action('tribe_events_after_the_grid', 'closingCalendarWrapper', 500);

    by putting in 500 at the end, but doesn’t seem to do anything. The moment that I comment out that function it starts to work. My guess is that it is a jQuery path somewhere that is using .parent() or .children() or something to find the location and I’ve changed the path to it.

    Let me know what you think.

    patrick

    in reply to: Put Div around Month/Grid View #1023176
    Patrick Sasser
    Participant

    Here’s another link to a pastebin…

    http://pastebin.com/PWK9y0k8

    Here’s a screenshot if that doesn’t work.

    http://puu.sh/lf9Aq/ab66f2a370.png

    Sorry about that. For events calendar its 3.12.5 and for pro its 3.12.6

    Let me know.

    Thanks,
    patrick

    in reply to: Mini Calendar Widget #1023061
    Patrick Sasser
    Participant

    Boom. That’s exactly what I was looking for. As it turns out it was just a Google away…, but thanks anyway for posting the links.

    Have a great day,
    patrick

    in reply to: Permalinks Broken? #95642
    Patrick Sasser
    Participant

    Yea I did see that. I used that plugin to create custom post types, so basically I just got rid of the plugin on thecrossing.com and and used the register post type http://codex.wordpress.org/Function_Reference/register_post_type to create my custom post types. So now it is working.

    We were also using the Ultimate Taxonomy Manager
    http://wordpress.org/plugins/ultimate-taxonomy-manager/ to create custom taxonomies which also interfered with Events Calendar and Events Calendar Pro permalinks, so I had to get rid of that plugin as well. So to fix that I had to register my own taxonomies (http://codex.wordpress.org/Function_Reference/register_taxonomy) which is fine. Just thought you should know there was a problem with another plugin as well.

    I do know that these plugins didn’t interfere until version 3.3 of Events Calendar and ECP, so that might be something to look into.

    Any other thoughts? and then we can close the issue.

    in reply to: Event pages not showing since upgrading to pro BLANK pages #95441
    Patrick Sasser
    Participant

    nicleics take a look at my latest post here and tell me if this helps…

    https://tri.be/support/forums/topic/permalinks-broken/#post-95438

    Did you use the plugin Ultimate Post Type Manger. If so just deactivate it and then flush your permalink settings.

    in reply to: Permalinks Broken? #95438
    Patrick Sasser
    Participant

    Ok I think that I may have gotten something figured out on this. I created a fresh WordPress install here…
    http://patricksasser.com/crossing33/

    I installed newest version of events calendar and events calendar pro and my test event was working
    http://patricksasser.com/crossing33/event/test-event/

    I installed the plugins on the site that isn’t working one at a time and narrowed it down to this plugin.
    http://wordpress.org/plugins/ultimate-post-type-manager/

    When I installed the ultimate post type manager that link above just stopped working altogether and you had to type in the date at the end of the URL to make it work. I deactivate the plugin and things still didn’t work, I was still getting a 404 on that test event page. So I went to the permalink settings and flushed them by just clicking update and it started to work again.

    So anyway it looks like the post type manager plugin is causing the issue. Any thoughts on why this would be happening or a way to fix it?

    in reply to: Permalinks Broken? #94710
    Patrick Sasser
    Participant

    Hey Barry: I don’t think that we are good here yet. The reason that it is working is because I rolled back the events calendar and the events calendar pro to version 3.2 and it started working again. So I’m thinking that it has to do with the newest version of those plugins. Thoughts? I don’t really want to install the newest versions of those plugins to duplicate the issue because it breaks the links on my site. Thanks.

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