restrict from duplicate events

Home Forums Calendar Products Events Calendar PRO restrict from duplicate events

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #957975
    Alex
    Participant

    I want restriction on events like if the venue and datetime for a event is already existing it should not allow another event for same venue and datetime. Please suggest me the best solution.

    #958609
    Brook
    Participant

    Howdy Alex,

    That is a cool idea. A few people have requested that we add a booking feature to our calendar. This would allow them to set how many overlapping events can be created for a given venue, which in your case would be only one. This is not currently a feature of The Events Calendar, but we are considering building it.

    Have you seen the official feature suggestion (click here)? If not, you should open that up and see if it sounds like something you’d be interested.

    Unfortunately there are only two solutions available right now. You can wait for us to build that capability and add it to our plugin suite which will take at least a few months to build. Or, you can build it yourself. If you wanted to do something incredibly simple, it might be possible with only a few hours of work. Using the WP API you could tap into save_posts, run a query again the currently selected venue and times, and see if you get any results. If you do throw a WP save error. It won’t be super fancy, but from the sound of your needs I think it would get the job done. 🙂

    Does that fully answer your questions? Is there anything else I can help with?

    Cheers!

    – Brook

    #976565
    Brook
    Participant

    Since this topic has been inactive for a spell we are going to archive it. Please note, if you need anything else or something is not yet resolved please open a new topic. We would love to help!

    Cheers!

    – Brook

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘restrict from duplicate events’ is closed to new replies.