Limit the event submission date

Home Forums Welcome! Pre-Sales Questions Limit the event submission date

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1529172
    oneguy
    Participant

    Hi there.
    I came across this snippet.

    function new_default_time( $default, $type ) {
    	if ( 'start' === $type ) {
    		return '09:00';
    	} elseif ( 'end' === $type ) {
    		return '22:00';
    	}
    	return $default;
    }
    add_action( 'tribe_events_meta_box_timepicker_default', 'new_default_time', 10, 2 );

    Is there any way of limiting the dates as well?
    We are doing a 3 days event that is based on community event, so the users will upload their own events.
    If there is a way of limiting the dates or at leadt making the 22 of November the default date, it will be super.
    Thanks!
    Guy

    #1529578

    Hi Guy,

    Thanks so much for reaching out!

    Without customization on your own, I’m not aware of a way to limit the date range on the Community Events form.

    If this functionality is a requirement for your intended project, I’d suggest that a third-party developer would be the best way to make this feature happen on a short timeline. ? We maintain a list of developers who work with our plugins on our Knowledgebase here:

    https://theeventscalendar.com/knowledgebase/find-a-customizer/

    You can also add this idea to our Feature Requests, as we tend to implement ideas based on customer feedback, so your input is greatly appreciated:

    https://tribe.uservoice.com/forums/195723-feature-ideas

    Let me know if you have any other questions on this topic!

     

    Thanks,

    Jaime

    #1546494
    Support Droid
    Keymaster

    Hey 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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Limit the event submission date’ is closed to new replies.