Events Made Easy › Forums › Generic › add feature that centers the map on the location of visitors (using their IP)
- This topic has 19 replies, 2 voices, and was last updated 14 years, 9 months ago by
Anonymous.
-
AuthorPosts
-
Fri 14 Jan 2011 at 13:46 #42416
Anonymous
Inactivethis feature would be very usefull
so users don’t have to zoom in the map and look for their location
Fri 14 Jan 2011 at 14:33 #46265Franky
KeymasterThis needs an API key to be implemented, and I just got rid of the API key some time ago, so this won’t happen for now.
Fri 14 Jan 2011 at 15:01 #46266Anonymous
Inactivethanks for your response
why did you get rid of the API key
Is there a solution to automotically rank events by town?
Fri 14 Jan 2011 at 15:16 #46267Franky
KeymasterThe API key was needed for google maps API v2, not v3. So it wasn’t needed anymore.
In the next version you can specify location ID’s as a paramter to filter when using the [events_list] shortcode
Fri 14 Jan 2011 at 15:22 #46268Anonymous
Inactivegreat thanks a lot
Fri 14 Jan 2011 at 16:45 #46269Anonymous
Inactivevisitors can specify their location ID or only admin can do that?
Fri 14 Jan 2011 at 20:19 #46270Franky
KeymasterOnly the admin, but in the trunk version there’s a new shortcode that shows a list of locations and using some jquery and the shortcode [events_calendar] on the same page, people can click on a location and the calendar will only show the events for that location.
Mon 17 Jan 2011 at 13:47 #46271Anonymous
Inactivethis is already posible using nexeventslink in a location
will this be posible for a city?
Mon 17 Jan 2011 at 13:58 #46272Franky
KeymasterNever for a city, only for locations
Mon 17 Jan 2011 at 14:01 #46273Anonymous
InactiveI am facing the problem that I have too many events showing on the map, I have to find a way to show only the information that the users will need…
Mon 17 Jan 2011 at 14:25 #46274Franky
Keymasterwell, I can add a WP filter to the locations list, so you can then code up (in your theme’s functions.php) what you want to show based on any info you want.
Mon 17 Jan 2011 at 14:34 #46275Anonymous
InactiveIt would be very useful if I could show locations by cities it would be great
Mon 17 Jan 2011 at 14:37 #46276Franky
KeymasterAdded filters in trunk:
eme_location_filter (1 parameter: $location array)
eme_location_list_filter (1 parameter: array of locations)
For usage: use “add_filter” in your functions.php.
See http://www.e-dynamics.be/bbpress/topic.php?id=389#post-1984
Read up on http://codex.wordpress.org/Function_Reference/add_filter and http://codex.wordpress.org/Function_Reference/add_action (the add_action has better examples)
Mon 17 Jan 2011 at 16:57 #46277Anonymous
Inactiveok all i have to do is put add_filter in functions.php
that is to say this code
add_filter(’eme_event_filter’,’do_my_filtering’);
function do_my_filtering($event) {
….
return $event;
what shoul I insert inside function do_my_filtering?
thanks,
Mon 17 Jan 2011 at 17:16 #46278Franky
Keymasterput in a “print_r($event);” for starters, and go from there
Mon 17 Jan 2011 at 21:34 #46279Anonymous
InactiveActually I never coded do you thing I can do it without knowing how to code
Mon 17 Jan 2011 at 21:38 #46280Franky
KeymasterNope …
Mon 17 Jan 2011 at 22:50 #46281Anonymous
Inactiveok so I just have to wait for new features 🙂
Mon 17 Jan 2011 at 22:52 #46282Franky
Keymasteryup 🙂
Mon 17 Jan 2011 at 22:55 #46283Anonymous
Inactiveok
-
AuthorPosts
- The forum ‘Generic’ is closed to new topics and replies.