Home › Forums › Calendar Products › Community Events › Google map radio button code & am/pm problems in add form
- This topic has 11 replies, 5 voices, and was last updated 6 years, 10 months ago by Support Droid.
-
AuthorPosts
-
February 28, 2017 at 4:35 pm #1247274LarsParticipant
I tried this code:
/** * Causes calendar to always show Google Map and Link, regardless of individual event settings */ add_filter( 'tribe_embed_google_map', '__return_true' ); add_filter( 'tribe_show_google_map_link', '__return_true' );
But only the first show as marked (true) – I put it in my themes functions.php
The other thing is no matter how I change timezone settings in WP, the addfform still show am/pm in the fields. See image below:
I have set all the right time/zones format H:i etc etc but it never changed.
========================
PLEASE LEAVE FOR SUPPORT
Reporting the same issue as: https://theeventscalendar.com/support/forums/topic/make-google-maps-mandatory/March 1, 2017 at 7:50 pm #1248161CliffMemberHi, Lars.
Sorry you’re experiencing these issues.
In our forums we keep our threads focused on just one issue at a time to ensure we fully answer each of your questions/issues. Please keep this in mind for the future and start a new thread for your additional questions from this thread. Thanks for your understanding, and I’ll answer only your first question.
Could you please clarify what you mean by “only the first”–only the first of what?
Are you using the CSV importer / Event Aggregator or maybe the Community Events form?
March 1, 2017 at 8:43 pm #1248175LarsParticipantOnly the first radio button go true with that code:
THIS ONE --> add_filter( 'tribe_embed_google_map', '__return_true' ); THIS ONE NO EFFECT --> add_filter( 'tribe_show_google_map_link', '__return_true' );
- This reply was modified 7 years, 1 month ago by Lars.
March 2, 2017 at 10:22 am #1248500CliffMemberThe code you have there is correct; I double-checked the filter names.
Is it not working for 1) all events, 2) all venues, or 3) all events and all venues?
March 3, 2017 at 4:02 am #1248864LarsParticipantThe last one does not have any effect in all form submissions (community).
March 3, 2017 at 4:05 am #1248866LarsParticipantThis reply is private.
March 3, 2017 at 8:56 pm #1249333CliffMemberShow Google Map:
Show Google Maps Link:are terms used on both the wp-admin Event edit screen and the wp-admin Venue edit screen.
Where is this checkbox not getting checked–Event, Venue, or neither?
===
In our forums we keep our threads focused on just one issue at a time to ensure we fully answer each of your questions/issues. Please keep this in mind for the future and start a new thread for your additional questions from this thread. Thanks for your understanding.
If you haven’t previously, please create a new thread regarding the 24-hour time format bug for Community Events.
March 23, 2017 at 8:54 pm #1259304NicoMemberHi there!
Just wanted to share with you that maintenance release 4.4.5 of our plugins is out, which includes a fix for the issue with Google Maps / Maps link field not sticking when submitted via Community Events ?
Find out more about the release → https://theeventscalendar.com/maintenance-release-events-calendar-4-4-5-event-tickets-4-4-5-premium-add-ons/
Best,
NicoApril 14, 2017 at 9:35 am #1270129Support DroidKeymasterHey 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 TeamMay 5, 2017 at 12:32 pm #1279522NicoMemberHi there,
Just wanted to share with you that a new maintenance release (for the Week of 1st May 2017) is out, including a fix for this issue ?
Now the Community Events submission form should work with 24hrs format and 12hrs AM/PM format.
Find out more about the release → https://theeventscalendar.com/maintenance-release-week-1st-may-2017/
Please update the plugins and let us know if the fix works for your site,
Best,
NicoMay 27, 2017 at 9:35 am #1289888Support DroidKeymasterHey 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 ‘Google map radio button code & am/pm problems in add form’ is closed to new replies.