Forum Replies Created
-
AuthorPosts
-
Barry
MemberHi Leander,
If you craft an excerpt for your events that should already be used in both month and list views without any further adjustment. Am I misunderstanding the problem?
Let me know!
Barry
MemberExcellent!
Barry
MemberHi Guillaume,
Apologies for the delay: my last response appears to have vanished into the ether. Let’s try again!
First of all, I should note that the amount of support we can offer for custom dev tasks like this one does tend to be limited, so we won’t be able to go into too much depth with this. Of course, I’ll be happy to point you in the right direction if I can.
Essentially, the trick would simply be to listen our for new submissions of the form. In our case, we do that during the wp_loaded action – perhaps that would work for you, too? If not or if you are still having difficulties, perhaps you could share a snippet of code illustrating how you’re handling this so far?
Thanks!
Barry
MemberThis reply is private.
Barry
MemberHi @dswiese,
Great question!
What they outlined is indeed a pretty good summary of the order of operations. The event is created and published and after that various other things happen (the import and attachment of a featured image amongst them). It’s possible to configure the importer to make new events drafts, rather than publishing them, however.
One thing I would take issue with is their assertion that we are “not considering third party plugins”. We always try hard to follow WordPress best practices and use the standard WP API wherever we can (and are doing so here), but naturally enough there will be cases like this one where things don’t mesh.
We would be up for considering a change to our flow, here, though I can’t guarantee anything – simply because we’d need to pause and ask if it makes sense in all cases. If you’d like us to do this, please propose a new feature over on UserVoice – apart from anything else, this will allow other users to vote on the idea and we’ll have a better sense of how much demand their might be:
UserVoice (feature requests for The Events Calendar and our other plugins)
In terms of what you can do right now, it may be possible to create a glue or integration layer via custom snippet. Here’s a possible strategy:
- Configure Event Aggregator to create new events as drafts
- Create a a script that periodically looks for drafts imported by Event Aggregator and publishes them (independently of our own processes)
This is the sort of custom coding task I’m afraid we can only provide high level assistance with, but it might give you a workaround that let’s you integrate both plugins nicely.
July 24, 2017 at 1:50 pm in reply to: Tracking Series Event Start Date to Disable Gravity Form after start date passed #1325470Barry
MemberOne. Event Start Date
Absolutely, there’s a matching function to the one I already shared: tribe_get_start_date().
Two. First Event ID of Recurring Events.
There’s no existing function for this, but you can test to see if a specific event is recurring by using the tribe_is_recurring_event() function. You can then build some logic following this sort of pattern:
- Is the post_parent 0 (zero)? If so, this is the ‘parent event’
- If the post_parent greater than 0 (zero)? If so, that is the ID of the ‘parent event’
You can then take the parent ID and find the children. A query that uses this to retrieve the first upcoming child in the series would like a little like this:
$first_upcoming = tribe_get_events( array( 'post_parent' => $parent_id, 'eventDisplay' => 'list', 'posts_per_page' => 1 );I hope that helps!
Barry
MemberScott,
We’ve been working on this from a few angles. The last copy of your system information and a quick check of your website suggests you aren’t quite on the latest release of The Events Calendar.
Can I ask you to update so that you are using the most recent version?
Thanks!
Barry
MemberHi Matthew,
I’m afraid I jumped to the wrong conclusion (and failed to check with ecommerce provider you were using). In your case I think it is actually Easy Digital Downloads and – unfortunately – there was a breakage.
We’re about to ship a fix (I can’t offer a guarantee, but ideally we’ll see it launch on Wednesday) that will resolve this. I can also guide you through a temporary fix if you like – the process is pretty simple.
https://gist.github.com/barryhughes/8f8eb18bfe923fba65110eecd7550a8a
Please copy the above code and create a new file within your theme to house it:
YOUR_THEME/tribe-events/eddtickets/tickets.php
This should hopefully tide you over until our next release of Event Tickets Plus.
Barry
MemberSorry to hear that, Thomas.
Please do create a new topic and we’ll happy to look into this with you.
July 21, 2017 at 3:34 pm in reply to: Tracking Series Event Start Date to Disable Gravity Form after start date passed #1324685Barry
MemberHi Linda!
Sounds like you’re building some cool stuff 🙂
While we can’t go into too much depth with custom dev questions like this one I can certainly try to point you in the right direction.
On our side, it’s possible to use helper functions such as tribe_get_end_date() to find out when an event is scheduled to end. You can use this in a comparison with the current time, something like:
$current_post = get_the_ID(); if ( tribe_get_end_date( $current_post, false, 'U' ) > current_time( 'timestamp' ) ) { // The event has not ended! // Display a form }That of course is just a stub, but if you combine this with some Gravity Forms know-how (perhaps their team can help out on that angle, by pointing you to a suitable hook or action that lets you enable or disable specific forms) you might be able to get closer to your end goal.
Good luck!
Barry
MemberHi Anne,
I’m sorry to hear you hit up against some difficulties.
On reviewing your main events page, though, it seems like the link to August is present as expected. Are you seeing the same/did you resolve this since you posted your question?
Thanks!
Barry
MemberHi David,
Thanks for considering Event Tickets Plus for your project!
There are a range of hooks which fire when new tickets are issued/when attendee records are generated (though you may not be able to locate them if you don’t yet have access to the Event Tickets Plus code) and, though we don’t generally provide technical support here in the pre-sales forum, it’s the sort of question where we’re happy to provide guidance for our customers over on our Event Tickets Plus forum.
We hope you decide to purchase a license and will be happy to help further there 🙂
Barry
MemberI’m really sorry to hear that, Matthew.
It seems to work as expected for me locally so I’m afraid I don’t have an instant answer here, but I’d love to explore this some more. If possible:
- Can you link me to an upcoming event with tickets where this problem can be seen?
- Can you attach a screenshot of the ticket settings (from the event editor), expanded to show the ticket stock and sale dates, etc?
Thanks!
July 20, 2017 at 1:14 pm in reply to: Unable to add venue or organizer when editing an event… #1324072Barry
MemberOK, that’s puzzling. I don’t have the same experience and there don’t seem to be many other reports along similar lines. Are you able to run through our standard troubleshooting steps, in case this is the result of a conflict with either your theme or another plugin?
Barry
MemberHeath:
I’m sorry for the confusion.
There are two parts to this – stopping exclusions from being generated inappropriately (and that is the fix Victor was referring to) and providing a tool or method to help with cleanup for sites where those exclusions already exist.
We realize that the second part – the cleanup tool – is still outstanding and I do wish we were able to deliver that sooner, however we have had to prioritize a number of other items and, unfortunately, a side effect were some delays over here. I can assure you we will get this to you as soon as we can and that the hiatus in updates within this topic does not mean it’s been forgotten about.
-
AuthorPosts
