George

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 10,499 total)
  • Author
    Posts
  • in reply to: synch with Google Calendar #1442705
    George
    Participant

    Hey Kim,

    Thanks for reaching out!

    It’s possible to import events from Google Calendar to your WordPress site’s calendar powered by The Events Calendar.

    At this time, however, it is not possible to have a full “sync” system going, where if you make a change on Google Calendar it automatically shows up on the WordPress calendar, and if you make change on the WordPress calendar, it automatically shows up on the Google calendar.

    If that’s okay, and just importing from Google Calendar to The Events Calendar is fine, then you can do this for with “Event Aggregator”.

    Event Aggregator is built right into The Events Calendar—so you just install the free plugin The Events Calendar, then add your Events Aggregator license key, and you can then import from a Google Calendar. (Either one-time or on a schedule…or both!)

    You can learn more about the Event Aggregator product itself here: https://theeventscalendar.com/product/event-aggregator/

    And you can find a bunch of “Help” articles about how to set up Event Aggregator and do imports with it here: https://theeventscalendar.com/knowledgebase/plugin/event-aggregator/

    I hope this information helps! 😀
    George

    in reply to: abstract pos #1404109
    George
    Participant

    Hey Martin,

    Apologies for the delayed response.

    As noted earlier, we cannot help with custom coding. I am glad we were able to help with custom coding thus far despite that policy, but you will have to take the reins from here.

    With that being said, as one final bit of help, I would like to highlight that you have to create the example_update_instructor() and example_create_instructor() functions.

    They currently don’t exist in the sample code you have shared thus far, so your task from here is to make them exist.

    There are some existing functions in our own code that you can use as inspiration. For example, here’s an “Update” function for Organizers that you could use to learn from for Instructors: https://github.com/moderntribe/the-events-calendar/blob/4.6.5/src/Tribe/Organizer.php#L417-L486

    Despite our custom coding policies, I have written more custom code for you herehttps://git.io/vbge8

    Please look at the two new functions at the bottom of the file, example_update_instructor() and example_create_instructor().

    Using this updated code should work well for you. If it does not or other issues persist, you will unfortunately have to take the reins on further refinement and development of your custom features here.

    Best of luck with your project,
    George

    in reply to: abstract pos #1396177
    George
    Participant

    Hey @martin75,

    Did you try creating the example_update_instructor() and example_create_instructor() functions that Cliff mentioned earlier in this thread, using the file for reference that he mentioned?

    Thank you for your kind words and patience here.

    — George

    in reply to: Category Conditional Stament #1395459
    George
    Participant

    Hey Tony,

    Thanks for your patience with this issue.

    First, just to set your expectations here, we cannot help at all with custom coding, and all custom coding endeavors are ones you have to fully take on yourself. You can read more about this in our support policy here.

    However, with that being said, I think the has_term() suggestion Cliff made may actually work here.

    I think you should try using this, though:
    Tribe__Events__Main::TAXONOMY

    Instead of this:
    $tecmain::TAXONOMY

    Make that seemingly-simple change and let us know if anything improves!

    Cheers,
    George

    PS

    Just to be absolutely clear, an example of that change in practice would be like this:


    if ( is_tax( Tribe__Events__Main::TAXONOMY, 22 ) ) {
    // Stuff...
    } elseif ( is_tax( Tribe__Events__Main::TAXONOMY, 23 ) ) {
    // Other stuff...and so on...
    }

    in reply to: abstract pos #1392799
    George
    Participant

    Hey Martin,

    Another quick note here: The dropdown is only for selecting Instructors.

    So please make sure you have existing Instructors on your site to “select from”. If you don’t, then no selection dropdown will show up, because there’s nothing to select! And so you’ll only see those creation fields…

    …just wanted to mention this. Do try the code from the updated Gist I shared with you, and then ensure that you have created some test Instructor post types, then let us know what you find!

    — George

    in reply to: abstract pos #1392797
    George
    Participant

    Hey Martin,

    Thanks for your patience with the slow response over the Thanksgiving Holiday here in the US and such.

    In regards to your code, this is the point where things get a little bit outside the scope of the support we can provide. As Cliff noted, we cannot help with custom coding here on the forums as per the terms of our support policy which you can read here.

    However, I’m still happy to try and offer some advice about where to go from here.

    • First of all, you have some unused functions there and this is partially my fault because in the Gist I shared above, I left that function with “XXX” in its name in place…this is confusing and I apologize about that. That “XXX” function is not meant to be used, and so in fact you’ll want to do something more like this Gist here. Sorry to share another code example, but the code in the Gist I share here absolutely works for me and so I would recommend replacing your existing code with that And seeing if it helps.
    • Next, keep in mind the things Cliff noted earlier about the “example_create_instructor()” and “example_update_instructor()” functions…these don’t exist and you have to create them, using the built-in examples Cliff cited in his replies above as a guide for doing that. The code will not fully work until these functions exist and work.

    So, please try replacing your code with the code from this new Gist I made for you. Sorry about the lack of clarity in that first one!

    Let us know if this updated Gist helps to get the dropdowns working.

    in reply to: abstract pos #1387456
    George
    Participant

    Hey @martin75, here are several notes on this issue after some tinkering on my end:

    • First of all, you are right about a syntax error in this Gist of example code I created a while back. I have edited the Gist so that it no longer has that syntax error. Sorry about that!
    • Next, a problem I noticed in your code is that you had two separate “website” fields per instructor: “Website”, and then “Website 2”. But in your code, they were using the same field name.
      • For example, the field name for “Website” in your code is linked_instructors[website][]
      • But the field name for “Website 2” in your code is also just linked_instructors[website][]
      • The field name for “Website 2” in your code is should be unique, so something like linked_instructors[website_2][] would work better
    • As an example, here’s a modified version of my example code that shows how to have your “Website” And “Website 2” fields working with the “Create or Find” dropdown → https://git.io/vF5v7

    So I would recommend replacing your existing tribe_modify_the_instructors_form_on_events() and tribe_save_the_instructors_form_on_events() functions with the ones in that new Gist I linked above.

    Let us know if that helps at least get the “Create or Find” dropdown working!

    As cliff noted, the “create” and “save” functions themselves are ones you’ll have to create, but I can offer some insight on that once we confirm the “Create or Find” dropdown is working for the Instructors linked post type…

    …let us know what you find!

    — George

    in reply to: abstract pos #1387415
    George
    Participant

    Hey Martin,

    Thanks for your patience over the weekend! Now that we’re back in action here on Monday, I can confirm that Cliff and I are looking into this a little bit more deeply. We’re testing your code and will get back to you ASAP with our findings.

    In the meantime, you asked this:

    so i would need to create the-events-calendar/src/Tribe/instructor.php for starters i take it cliffe?

    I would like to confirm with you that NO, you do not need to make (and should NOT make) such a file.

    You should indeed be able to create a useful “Linked Post” with our abstract post types system; if it’s failing, then there could be a bug here. We are testing and will get back to you ASAP.

    Stay tuned! 😀

    — George

    in reply to: Let customers change their own tickets #1354036
    George
    Participant

    Hey Ruben,

    Any feedback on what I wrote above? We’re still testing and working on a fix, etc., so there’s not any more “news” here, but just wanted to see if you saw the note and if you have questions / thoughts / concerns / etc.

    — George

    in reply to: Let customers change their own tickets #1351367
    George
    Participant

    Some Good News

    Sorry for a third update here today, Ruben, but this one bears good news: I believe I have fixed this bug and we are progressing into a testing phase for this.

    The problem lies within Event Tickets Plus.

    If you are comfortable tinkering with code yourself, and have a test site and/or full site backups so that you can tinker safely (please do NOT tinker on your live site or if you do not have backups etc.), you can try replacing the complete contents of this file:
    /wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/EDD/Main.php

    With the complete contents of this Gist → https://git.io/v5xnQ

    Again: This code is not fully tested yet, so please only tinker at your own risk. I just wanted to offer something to you because this seems to directly impact commerce functions on your site, which is a big deal and I know you’ve been waiting long enough already.

    What’s Next from Here

    First, we need to test this code thoroughly. We need to make sure, for example, it does not affect any other payment gateways in a negative way.

    Next, we need to fit this code into a Maintenance Release. Those tend to happen every two to three weeks, and since we are shipping one this week (too soon to fit this bug fix in, unfortunately), that means the next official release including this bug fix would be two to three weeks from now at the earliest, which I am sorry about.

    We may be able to publish a “hotfix” once this current Maintenance Release is done, so that the bug fix is available sooner. I will update this thread if that’s the case.

    Closing Thoughts

    Thanks so much for working with us here Ruben, we’ve finally (it seems) cracked the case on this one and have fixed the bug. Now it’s just a matter of testing it thoroughly and getting it properly published.

    Please let me know if you have any questions or thoughts on this from here, or if there are any other issues we can attend to.

    Sincerely,
    George

    in reply to: Let customers change their own tickets #1351154
    George
    Participant

    Hey Ruben,

    I just wanted to ask a quick question while I’m working on this — if you head to your Easy Digital Downloads settings, and to the Payment Gateways tab, do you find any difference in your testing results with this issue if the “Test Mode” is checked or not?

    — George

    in reply to: Let customers change their own tickets #1351144
    George
    Participant

    Thanks for that offer Ruben — a screenshare may indeed be helpful at some point.

    For now, your screenshots have helped clarify the issue a lot and I think it’s plenty sufficient. I am working on the bug and will report back ASAP!

    Stay tuned,
    George

    in reply to: Let customers change their own tickets #1349921
    George
    Participant

    Thanks for all of this, @atmedia.

    It certainly helps and I will see what I can do. I want to be honest and set your expectations here as follows: I have thus far not had a ton of progress yet, and with the weekend approaching, you may not hear back until Monday or Tuesday of next week.

    But please know that we are actively trying to sort this out and will respond as soon as we have a substantive finding.

    Thank you so much for your continued patience.

    Sincerely,
    George

    in reply to: Let customers change their own tickets #1347587
    George
    Participant

    Thanks for this information and your patience Ruben.

    Can you share a screenshot of the specific screen where it is shown that the ticket is “assigned to the admin”?

    I’m aware of the first screenshots you shared, but do not see anything in them that indicates tickets being “assigned to” someone other than the purchase.

    Sincerely,
    George

    in reply to: Let customers change their own tickets #1346284
    George
    Participant

    Hey @atmedia,

    Thanks so much for your continued patience on this issue. It’s a weird one but we’re taking it seriously and putting in the time to try and figure out what’s happening — we will be happy to fix this if we can identify the specific issue.

    In attempting to do just that, though, I have thus far failed to find the problem you describe.

    What I’ve done is spin up a local test site with the latest publicly-available versions of WordPress, Easy Digital Downloads, Event Tickets, Event Tickets Plus, etc., and then of course the “Bank Transfers” gateway you provided (thanks for doing that by the way).

    I’ve done a number of tests and here are my findings:

    Step Behavior/Test Outcome
    1 Make RSVPs as admin Works fine—when I go to the /tickets/ page as admin, I can edit my RSVP without issue
    2 Make RSVPs as contributor Works fine—when I go to the /tickets/ page as contributor, I can edit my RSVP without issue.
    3 Buy EDD tickets in “Test Payment” gateway as admin Works fine—when I go to the /tickets/ page as admin, I can edit my tickets data without issue.
    4 Buy EDD tickets in “Test Payment” gateway as contributor Works fine—when I go to the /tickets/ page as contributor, I can edit my tickets data without issue.
    5 Buy EDD tickets in user-supplied “Bank Transfer” gateway as admin Works fine—when I go to the /tickets/ page as admin, I can edit my tickets data without issue.
    6 Buy EDD tickets in user-supplied “Bank Transfer” gateway as contributor Works fine—when I go to the /tickets/ page as contributor, I can edit my tickets data without issue.

    ☝️ It sounds to me like what I should have found is an issue in step 6 there — that when buying EDD tickets with the “bank transfer” gateway as a contributor, I should have found that I was unable to edit that information. But I was indeed able to and did not notice any wrong data there.

    Can you confirm if that is indeed the problem here? Or should I be looking for something else? It looks like maybe I should be noticing that some of the tickets I bought with the bank transfer gateway as a contributor should have some incorrect information, like an admin user account’s data instead of its own, but I do not find this.

    Should I try again with a different user level? If so, which one? Are there are any specific settings in the wp-admin I should make sure I have checked? Anything you can think of, please let us know.

    I apologize for the lack of forward movement thus far on this, but we are genuinely trying to figure out the problem. Thanks for your patience and for cooperating with that.

    Sincerely,
    George

Viewing 15 posts - 31 through 45 (of 10,499 total)