Home › Forums › Calendar Products › Community Events › Problem with Filter to require Venue entry
- This topic has 4 replies, 3 voices, and was last updated 8 years, 9 months ago by
Abigail Marshall.
-
AuthorPosts
-
June 19, 2017 at 3:40 pm #1300215
Abigail Marshall
ParticipantThis is in reference to this closes thread & post:
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/June 21, 2017 at 2:59 pm #1301371Andras
KeymasterHello 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,
AndrasJune 29, 2017 at 12:03 pm #1312413Nico
MemberHey,
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,
NicoJuly 21, 2017 at 9:35 am #1324430Support Droid
KeymasterHey 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 ‘Problem with Filter to require Venue entry’ is closed to new replies.
