Problem with Filter to require Venue entry

Home Forums Calendar Products Community Events Problem with Filter to require Venue entry

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1300215
    Abigail Marshall
    Participant

    This is in reference to this closes thread & post:

    Can’t set the venue field as required

    I am experiencing the same problem as reported before, with the latest versions of The Events Calendar and Community Events. I did not report this problem immediately, because I had read the other threads on this and thought that the problem or bug was already known.

    However, at least for me, it has not been fixed in Community Events 4.5. I experience the same issue as previously reported by others — the failure to supply an Organizer does yield an error message, but an event with no venue can be submitted.

    I am using the following filter:

    function my_community_required_fields( $fields ) {
    
        if ( ! is_array( $fields ) ) {
            return $fields;
        }
    
        $fields[] = 'venue';
        $fields[] = 'organizer';
    
        return $fields;
    }

    (Note: this is not a critical problem because my users almost always set the venue anyway — but I did want to let you know that at least on my system, the problem is persisting, unless there is some error in the way I coded my filter).

    ========================
    PLEASE LEAVE FOR SUPPORT
    Reporting the same issue as: https://theeventscalendar.com/support/forums/topic/cant-set-the-venue-field-as-required/

    #1301371
    Andras
    Keymaster

    Hello Abigail,

    Thanks for reporting that!

    It looks like this bug came back. I filed a ticket and our devs will get to fixing this.

    I am going to set the status of this ticket to “pending fix” and we will update it once the fix is released. If you have any new questions or issues please create a new ticket and we’ll be happy to help.

    Thanks and cheers,
    Andras

    #1312413
    Nico
    Member

    Hey,

    Just wanted to share with you that a new maintenance release (for the Week of 26th June 2017) is out, including a fix for this issue ?

    You should be able to use the snippet described in this article to make venue/organizers required.

    Find out more about this release → https://theeventscalendar.com/maintenance-release-week-26th-june-2017/

    Please update the plugins and let us know if the fix works for your site,
    Best,
    Nico

    #1324430
    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 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Problem with Filter to require Venue entry’ is closed to new replies.