Home › Forums › Calendar Products › Events Calendar PRO › Get rid of "You have venues for which we don't have Geolocation" warning
- This topic has 9 replies, 2 voices, and was last updated 9 years, 12 months ago by Leah.
-
AuthorPosts
-
March 30, 2014 at 8:29 am #124866efromdcParticipant
It wont dismiss and its SERIOUSLY getting on my last nerve 🙂 🙂 🙂
How can I disable the warning?
March 31, 2014 at 2:49 pm #125560LeahMemberHi efromdc,
The best way to get rid of that warning is to generate the geolocation data for those events 🙂 You can do this from Events –> Settings. Scroll down to the Map Options section and you’ll see a button for generating the geolocation. Once that’s generated, your Map View will work better and the prompt should go away.
Best,
Leah
April 4, 2014 at 6:14 am #128003efromdcParticipantI didnt explain this correctly
I dont want the warning under ANY circumstance. AT ALL.
Please do not reply and say “generate map data and it goes away.” I want the message completely gone 100% of the time under ANY circumstance.Can someone tell me the php to turn the message off please?
Thank you…
April 4, 2014 at 6:16 am #128005efromdcParticipant50% of my data will NEVER have geolocation data. So I dont want the warning up there because it takes up space 50% of the time.
Please reply with the php code to shut the warning off under ALL circumstances.
April 4, 2014 at 10:11 am #128170LeahMemberHi efromdc,
Thanks for clarifying. Dropping this snippet into your functions.php might work for you:
remove_action( 'admin_init', array( TribeEventsGeoLoc::instance(), 'maybe_offer_generate_geopoints') );
If that doesn’t work, could you give me an example of one of the addresses you have that doesn’t have geolocation information? Having something to test with will help us build a working snippet.
Best,
Leah
April 5, 2014 at 3:12 pm #128570efromdcParticipantPlacing this code snippet into rooturl/functions.php breaks my site.
I need a solution please ASAP as this is driving apeshyt…April 5, 2014 at 3:15 pm #128572efromdcParticipantNote that I am running 3.4.1 so if the code is for your latest version, I need you to give me the code for MY version. I can NOT update to the latest at this time. Need the fix for my version. Thank you.
April 7, 2014 at 12:21 pm #129087LeahMemberHi efromdc,
I think you might have put the snippet in the wrong place- I apologize for being unclear before! Adding the snippet to rooturl/functions.php would break your site.
Please try again, and this time paste the snippet at the top of your theme’s functions.php file, underneath the first line “<?php”. If your theme does not have a functions.php file, go to your theme folder, create a new text document file called “functions.php”, and paste this text in the first line of the file “<?php”. On line 2 or 3, paste that snippet. You can find your theme’s functions file under wp-content/themes/your-theme/functions.php.
If that still doesn’t work, we’ll need you to give us an example address for further investigation.
Best,
Leah
April 23, 2014 at 9:21 am #140528efromdcParticipantThat did the trick. Thanks!
April 24, 2014 at 1:24 pm #141699 -
AuthorPosts
- The topic ‘Get rid of "You have venues for which we don't have Geolocation" warning’ is closed to new replies.