Anthony D'Arco

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 118 total)
  • Author
    Posts
  • in reply to: Query is too long and keeps timing out. #615913
    Anthony D’Arco
    Participant

    Yes, unfortunately, I am still locked out.

    Thank you for the article about performance. It was a good thing to be aware of. To answer your questions:
    We are actually in the the top tier for WpEngine (Enterprise).
    We have about 8000 Events (unfortunately).

    About 6000 Events (We have a lot of weekly events that never end- we have the settings to create 14 month of events in the future)

    That a good questions. I’m not sure if I would have any way of guessing that. In the query above it said it had to query over 200K rows, but that seems strangely high (so I doubt that’s accurate).

    Let me know what other information I can provide.

    Thank you,
    Anthony

    in reply to: Venues Not Displaying in Month View #489779
    Anthony D’Arco
    Participant

    Hello Casey,

    Yes, that is all correct.

    We’re using an override, single-event.php in the tribe-events/month/ folder of our theme, to display the field information. The speicifc code we’re using is below:

    <?php echo tribe_events_event_schedule_details() ?>

    <?php if( function_exists(‘tribe_the_custom_fields’) && tribe_get_custom_fields( get_the_ID() ) ): ?>

    <?php tribe_the_custom_fields( get_the_ID() ); ?>

    <?php endif; ?>

    Let me know if you need any other information.

    in reply to: JSON Rest API #285793
    Anthony D’Arco
    Participant

    One last little tidbit. I found the documentation (not a very intuitive place for this, but I found that to retrieve the meta for a post you do the following (so simple its stupid):
    http://testeditor.wpengine.com/wp-json/posts/470/meta

    But when that is put in I keep getting a 403 Forbidden Error. Thoughts?

    Thank you,
    Anthony

    in reply to: JSON Rest API #285757
    Anthony D’Arco
    Participant

    Alright, I think this just a lot more interesting. I couldn’t get the rest API to work at all with the default theme (I believe they may have it disabled, based on what I saw in the documentation). So, I setup a new testing environment using Genesis (because that is our base theme on the majority of our sites). It turns out it worked just fine AND it worked for events:
    http://testeditor.wpengine.com/wp-json/posts?type=tribe_events

    There were only two events and they both popped up no problem. So, I am going to reach out to WpEngine to see if they can shed some light on the 502 Error, however that doesn’t solve my second problem, the meta data does not seem to want to appear.

    (as a quick side note, I agree the URL structure is a bit off, but the docs say to do it that way, and when you get a response, it actually shows the URL I need, so I’m not creating that each time, it is something I copy and paste with each level I get deeper).

    Thank you,
    Anthony

    in reply to: JSON Rest API #279690
    Anthony D’Arco
    Participant

    I apologize, I found something else out interesting:

    so, clearly its not everything in the ECP, for venues:
    http://hfca.staging.wpengine.com/wp-json/posts?type=tribe_venue
    it worked just fine (Still not showing the meta data, but that is the next step). Is it possible that I have too many events, or something of that nature?

    Thank you,
    Anthony

    in reply to: JSON Rest API #279616
    Anthony D’Arco
    Participant

    I apologize for the delay in response. I’ve been super busy/playing around with the rest API and getting the hang of it more and more. I’m not sure exactly what you meant by specific “gotchas,” but this is what I have so far.

    Basically, I have been converting wpquery arrays into query strings. When I test the following:
    http://hfca.staging.wpengine.com/wp-json/posts?type=hfca-teachers
    I get all the information from the post type hfca-teachers as expected, however, when I do the follow:
    http://hfca.staging.wpengine.com/wp-json/posts?type=tribe_events
    I get a 502 Bad Gateway. That would lead me to believe there is some sort of incompatibility, correct?

    I have done a lot of other tests, but these two query strings seem as though they would be the most helpful in figuring out what is going on.

    Thank you,
    Anthony

    in reply to: JSON Rest API #247957
    Anthony D’Arco
    Participant

    I understand that, and I know this is planning on making it to core at some point. I am able to get into custom post types in general, however its not able to get at some of the more fine-tuned details that the EC has. When we are testing it, we can get it to display the events, but things like start and end times are not available. Does that make sense?

    Thank you,
    Anthony

    in reply to: JSON Rest API #245750
    Anthony D’Arco
    Participant

    Barry,

    I should have been more specific, yes, I am using that plugin.

    Thank you,
    Anthony

    in reply to: No tooltips and cannot change view [3.4.1] #106563
    Anthony D’Arco
    Participant

    Hello Brook,

    Regrettably we tried adding the code you suggested to the body tag and the issues remain. Also, just to ensure we are looking at the same site, the URL is http://stmaryschool.net/events/.

    Any other suggestions you have would be great.

    Thank you again

    in reply to: Change the Name of Events Calendar #95269
    Anthony D’Arco
    Participant

    Brook,
    I tell you sometimes I feel like a total idiot, I copied an old version of the event calendar plugin. When I updated it, sure enough, it worked. Thank you for you help. Turns out this was actually pretty easy, just a boneheaded move on my part.

    Thank you,
    Anthony

    in reply to: Change the Name of Events Calendar #94178
    Anthony D’Arco
    Participant

    Brook,
    I suppose I wasn’t actually through enough in my description of what I’m trying to do. Here are a couple of additional details that may help you advise me. I am running a multi-site. This particular install does not use the Event Calendar or Pro at all. However, the rest of the sites within the multi-site do.

    So, that is why I need two installs of the plugin. However, I’m not actually worried about the plugins stepping on each other toes because the install is only ever running one or the other, but never both.

    Fortunately, I did not change the TribeEvents class, in-fact, all of my modifications are simply superficial (except changing the folder/plugin name). I’m just changing the labels from Events to Assignments. Unfortunately, I was already aware that every time I upgrade, I get to do this all over again, but tis the life I lead…

    One last note, I’m not actually getting an error message when I activate Pro, it simply isn’t adding the Pro functionality to my faux plugin. Does that make sense? I think it has to do with my folder/plugin name change because I tested just changing those two elements, and Pro doesn’t work. So, there must be some reference in Pro to either the folder name or the plugin name, right?

    Let me know if this helps at all.

    Thank you,
    Anthony

    in reply to: tribe_get_event_cat_slugs displays "Array" #81551
    Anthony D’Arco
    Participant

    This worked perfect! Thank you!

    in reply to: Form Customization #70626
    Anthony D’Arco
    Participant

    Worked perfectly!

    Thank you,
    Anthony

    in reply to: Expand "View All #" #70598
    Anthony D’Arco
    Participant

    Barry,

    I just looked at everything and I think I must need more guidance. Basically, I tracked this down as a setting in the admin. Once that variable is set, I don’t see a place where I can then change that setting in a display template. Am I missing something. I have been looking through views/month/

    Thank you,
    Anthony

    in reply to: Expand "View All #" #70033
    Anthony D’Arco
    Participant

    Sorry forgot to subscribe to my own thread…

Viewing 15 posts - 46 through 60 (of 118 total)