add feature that centers the map on the location of visitors (using their IP)

Events Made Easy Forums Generic add feature that centers the map on the location of visitors (using their IP)

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #42416
    Anonymous
    Inactive

    this feature would be very usefull

    so users don’t have to zoom in the map and look for their location

    #46265
    Franky
    Keymaster

    This 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.

    #46266
    Anonymous
    Inactive

    thanks for your response

    why did you get rid of the API key

    Is there a solution to automotically rank events by town?

    #46267
    Franky
    Keymaster

    The 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

    #46268
    Anonymous
    Inactive

    great thanks a lot

    #46269
    Anonymous
    Inactive

    visitors can specify their location ID or only admin can do that?

    #46270
    Franky
    Keymaster

    Only 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.

    #46271
    Anonymous
    Inactive

    this is already posible using nexeventslink in a location

    will this be posible for a city?

    #46272
    Franky
    Keymaster

    Never for a city, only for locations

    #46273
    Anonymous
    Inactive

    I 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…

    #46274
    Franky
    Keymaster

    well, 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.

    #46275
    Anonymous
    Inactive

    It would be very useful if I could show locations by cities it would be great

    #46276
    Franky
    Keymaster

    Added 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)

    #46277
    Anonymous
    Inactive

    ok 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,

    #46278
    Franky
    Keymaster

    put in a “print_r($event);” for starters, and go from there

    #46279
    Anonymous
    Inactive

    Actually I never coded do you thing I can do it without knowing how to code

    #46280
    Franky
    Keymaster

    Nope …

    #46281
    Anonymous
    Inactive

    ok so I just have to wait for new features 🙂

    #46282
    Franky
    Keymaster

    yup 🙂

    #46283
    Anonymous
    Inactive

    ok

Viewing 20 posts - 1 through 20 (of 20 total)
  • The forum ‘Generic’ is closed to new topics and replies.
Scroll to Top