Event with several possible start dates

Home Forums Calendar Products Events Calendar PRO Event with several possible start dates

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1023608
    Chris
    Participant

    Hi,
    I am building a sports competition booking website and need to work around a small problem.
    I am running event calendar pro with ticket and filter extensions

    Events are made up of qualifiers, with a choice of dates for competitors to enter, and a final.
    There will be many (200 +) competitions in a given year so players must be able to see all the dates on the calendar to avoid clashes in entries.

    Here’s an example to explain:

    “competition A” has 8 qualifiers session on weekend 1 sat am / sat pm / sun am / sun pm & weekend 2 sat am / sat pm / sun am / sun pm. A player need only enter ONE qualifier out of the 8 available. The final is on weekend 3.

    My solution – so the events appear on the calendar on all the days it can run
    Create 3 “events”:
    1. weekend 1 qualifier with 4 possible tickets to buy – sat am / sat pm / sun am / sun pm (one for each of the 4 sessions)
    2. weekend 2 qualifier with 4 possible tickets to buy (one for each of the 4 sessions)
    3. final No tickets available as players must have entered one of the previous qualifiers to play
    Then assign each of those event to a unique category “Competition A” so the 2 “related events” appear below the event page.

    What I need help with:
    1. My issue is that I also need to allocate this “competition A” to a larger category of events.
    So “competition A” would be assigned to a master category and also to “competition A” category BUT I only want to show the relationship between the 3 events falling under “competition A” and not show any related events from the master category.
    How can I achieve this ?
    Is there a way to use a combination of categories and tags and only use tags to display “related events” below each event ?

    2. Of course this means that potentially this will multiply events if they’re all like this, so is this the best way to go about it or is there a better trick ?

    I hope I have managed to explain this clearly enough. Let me know if you need more details.
    I look forward to hearing from you
    Hugues

    #1023783
    Geoff
    Member

    Hi Hugues,

    Wow, that is quite a setup and sounds like a very cool use of the calendar. I’d like to see it if/when you have it up and running!

    Is there a way to use a combination of categories and tags and only use tags to display “related events” below each event ?

    The “Related Events” section works off event categories and tags. The calendar does support hierarchical categories. So, for example, you could create a “parent” event category called “Competition A” and then create sub-categories for the competitions within it. That should tell the “Related Events” section to show the events from the same sub-category and, if none exist, then move up to the parent category.

    If that doesn’t do the trick for some reason, then I would suggest possibly writing a filter for the tribe_get_related_posts() function, perhaps to ignore tags altogether or to create a query that’s more suited to the parameters you’re looking for.

    Will this help you get started? We are fairly limited when it comes to supporting custom development question, but I’ll certainly do my best to answer any questions you have!

    Cheers,
    Geoff

    #1024096
    Chris
    Participant

    This reply is private.

    #1024109
    Chris
    Participant

    This reply is private.

    #1024170
    Geoff
    Member

    Hi Hugues, thanks for following up!

    Shoot, that’s a bummer to hear about the hierarchical categories. I was really hoping that by creating a relationship like that, it would separate things out a bit more.

    Another idea is to create your own query of related events. What I mean by that is removing the related events function from the event template altogether and creating your own query of events limited to the current event’s category or perhaps tag. You could use the tribe_get_events() function as a starting point for that, or create your own WordPress query and loop through events that way. The post type in that second case would be tribe-events.

    Sorry I don’t have more of a concrete solution for you, but I hope this at least sparks some new ideas to work off of!

    Cheers,
    Geoff

    #1075527
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Event with several possible start dates’ is closed to new replies.