Home › Forums › Welcome! › Pre-Sales Questions › Event Tickets: Function to get array of open events
- This topic has 1 reply, 2 voices, and was last updated 5 years, 7 months ago by Support Droid.
-
AuthorPosts
-
August 11, 2018 at 3:24 pm #1595497NimmoGuest
Hi,
Is there a Tribe php function to get an array of all RSVP-able events (of the designated post type), so i can loop through them?my client has a site with a large number of event listings, some have RSVP and some don’t. They would like people to be able to rsvp to any event from an RSVP page, in addition to being able to rsvp on the single event page. To do that I would build them a tabbed interface where they can select the event by title, and the RSVP form for that event would be shown on the page.
Obviously i would build this myself, but i would need a way to query all events that *have* RSVP.
i would also need a function to render the form for the event, by ID.
Thanks, and i’m very willing to pay for pro support, but this seems to be a function that would exist in the basic plugin?
August 13, 2018 at 3:03 pm #1596596CliffMemberHi, Nimmo. You posted in the Pre-Sales area of our Help Desk from a user account that doesn’t have any purchases associated with it (or accidentally if you forgot to login first).
If you do have a paid account login with at least one current license, please login to that account and then post in one of the paid forums.
If you don’t have a paid account login, I’m afraid we’re not equipped to provide technical support for current plugin users here in the Pre-Sales area. If you’re using one of our free plugins, such as The Events Calendar or Event Tickets, you can request assistance on their respective WordPres.org Support Forums (we do not provide technical support for users there, either–only via our paid forums).
Possibly helpful references:
- Our plugins’ feature requests forum
- Our free support forum for The Events Calendar (for bug reports and users helping each other — no usage support provided by us)
- Our free support forum for Event Tickets (for bug reports and users helping each other — no usage support provided by us)
As a suggestion, you could get all the events per your criteria via tribe_get_events(): https://theeventscalendar.com/knowledgebase/using-tribe_get_events/
Then, you could loop through them with tribe_events_has_tickets() or a similar function within /wp-content/plugins/event-tickets/src/template-tags/tickets.php
Thank you for your understanding and thank you for using our plugins.
If you need some coding help, you may want to ask your own developer or reference our Customizations Documentation, which includes a link to Hire A Freelancer.
September 4, 2018 at 9:35 am #1613227Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Event Tickets: Function to get array of open events’ is closed to new replies.