Visitors map generator

Mapa de visitas

This plug-in will grab your visitors IP address and generate a Google map with markers on those visits. You will need a valid Google API key in order for this to work. – Este plug-in guarda la dirección IP de tus visitantes y genera un mapa (Google) con marcadores para dichas visitas. Necesitas una clave válida de Google API para que esto funcione.

• Download the plug-in from WP plug-in page
Descarga el plug-in desde la página de plug-in de WP

• Upload the plug-in folder into your plugins directory
Sube la carpeta del plug-in a tu directorio de plugins

• Install te plug-in in the usual way and set your configuration through “Options/Visitor maps by IP”
Instala el plug-in de la manera usual y configuralo desde la página de opciones en “Opciones/Visitor maps by IP”

Insert the plug-in in your template pages using:
Inserta el plug-in en tu página (template) con este código:

<?php
    if(function_exists('ip_tracker_draw_map'))
        ip_tracker_draw_map();
?>
  • If you want to insert the plug-in in your template but don’t want to show the map use this:
    Si quieres insertar el mapa en tus plantillas pero no mostrar el mapa, utiliza esto:
<?php
    if(function_exists('ip_tracker_draw_map'))
        ip_tracker_draw_map('track_only');
?>
  • You can also insert maps into your posts. In your post simply use any of the identifiers provided to render the map at any given place. Valid identifiers are: [vm] [visits] [visitormap]
    Desde la versión 0.4.8 también se pueden insertar los mapas en las entradas. Para insertar un mapa en una entrada, simplemente utiliza uno de los identificadores en un lugar determinado.

If you have any problems or find a bug, please let me know.
Si tienes algún problema o descubres un fallo, por favor dímelo.

Please look at the plug-in page at WP and/or the plug-in options page for details.
Por favor mira la página del plug-in en WP y/o la página de opciones del plug-in para detalles.

Current release / Versión actual: 0.7.3
Version history / Histórico de versiones:
http://wordpress.org/extend/plugins/visitos-map-ip/other_notes/

This plug-in requires PHP 5 on your server
Este plug-in requiere PHP 5 en tu servidor


Please keep in mind that this plug-in uses geo-ip location information (GeoLite City) provided by MaxMind, which is limited to some extent, this means it will not track down your exact address (location of your IP number) but it will show the city your visitors are coming from which works just fine for me.
Por favor recuerda que este plug-in utiliza información para geo-localización (GeoLite City) gracias a MaxMind, la cual está limitada hasta cierto punto, esto significa que no es capaz de detectar tu dirección exacta en base a la IP, pero si es capaz de mostrar la ciudad de donde vienen las visitas, lo cual funciona muy bien para mi.

GeoLite City is similar to the GeoIP City database, but is less accurate. Should you require greater accuracy, GeoIP City is a drop-in replacement for GeoLite City. GeoLite City is an ideal cost-effective solution, since it is more accurate than many other commercial geolocation solutions.

The free version -which this plug-in uses- gets updated each month, so I will update the plug-in as well -at least each month- so you can have the latest IP information.
La versión gratuita -la cual utiliza este plug-in- es actualizada cada mes, de modo que actualizaré -al menos cada mes- el plug-in para que puedas tener la información más reciente.

Next releases:
Próxima versiones:

  • Be able to upload / define a custom icon for markers Done
    Posibilidad de cargar / definir un marcador propio Hecho
  • Set number of markers to display (limit query) Done
    Definir el número máximo de marcadores a mostrar (limitar la consulta)
    Hecho
  • Small JS fix in the options page (on marker select) Done
    Resolver un pequeño error de JS en la página de errores (al seleccionar un marcador)
    Hecho
  • Be able to insert maps into posts and pages (not through templates) Done
    Posibilidad de incluir un mapa en las entradas (no solo a través de la plantilla)
    Hecho

A comment would be much appreciated.
Un comentario sería apreciado.

Do you like what this plug in can do?
¿Te parece bueno lo que hace este plug-in?


;)

Got a cool plug-in idea? Let me know and if it’s cool enough I’ll write it.
¿Tienes una buena idea para un plug-in? Dímelo y si es buena yo lo escribo.

285 Responses

  • Now I’m getting another error:

    “Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /mnt/local/home/wwwindi/innerstellarmedium.com/wp-content/plugins/visitos-map-ip/geoip/class_geoip.php on line 22″

  • I am no longer getting the error after I updated to your new version. However, the plugin is disabling my existing “Inline Google Maps” plugin I use on:

    http://www.innerstellarmedium.com/consultations/inperson/

    Any way around this?
    Thank you for your help and support for this great plugin!

    -W

  • I want to say thank you for this Plugin and for your help!

    One additonal question:
    What in detail is
    [vm]
    ???
    [visits]
    A over view about the visitors
    [visitormap]
    current visitor

    Is that right?

    Carsten

  • Is there any license for your software? This could be a commercial package.

    • No there’s no license. It’s absolutely open source. You’re free to use, distribute and/or modify it as long as you leave the credits in place, however it may not be bundled or distributed with any commercial software. And yes, it could be a commercial package for some other platforms, wouldn’t be much of a problem for me to write different versions, perhaps even a stand-alone version but again: it is and will remain open source. I wrote this plug-in because I needed something like it and released it because I thought it might help others. I have no intention of making any money with it, besides, one thing brings another: if this plug-in get really popular people might want me to develop custom applications for them and that might land me some freelance work (from which I can make some money). I live by the motto: “Today I help you, tomorrow I might ask you for help…”
      Thank you all for using this plug-in and enjoy!

  • Ok, I’ll spend some time with it to see what I can work out. *digs out the old CSS books*
    I’m excited to put this plugin to use though, aside from my trying to use it outside of it’s intention it is very slick.

    Thanks,
    Greg

    • Just released version 0.5.4 (Please upgrade) and read the options page. It’s now possible to insert the plug-in and don’t display the map. It’s now a feature so users don’t have to hack around to get what they need. Enjoy! (It’ll might take some for the new version be available on wordpress’s plug-in site)

  • Thank you very much for developing this plugin.
    Is there anyway to say collect who hits the index of my site, without showing the map on that page and instead display the map on another location?

    When I added the code to my index template it drew the map, which I really don’t want to do there.

    Thanks,
    Greg

    • Thank you very much. Glad it worked for you. As posted previously you could insert the plug in (using the PHP code) in your home template and using CSS hide it there and then simply insert the map (using an identifier) where ever you want to display the data. This is just a quick fix, but I might the option to track visits even if the map is not visible.

  • Oops — Thanks — the plugin is now working perfectly in pages and posts with the simple identifier — collecting data — i did not noticed the new option in the new update

  • Thanks for feedback about map size — I am decreasing it slightly –yes I only want to display visits on my “visitor-map” page.

    • As posted above, upgrade to latest version. Then from the plug-in options page select “Yes” in the “Collect in posts” option, that will enable your map to record data from visitors who visit that page (Considering the plug-in is inserted with an identifier)

  • Look forward to it and in the mean time keep up the excellent work!

  • No i simply changed the marker icon that comes included with the plugin. You have the option to select the market. I edited the selected marker.

  • Did my last comment get registered? Please contact me on my e-mail directly with you idea. We will be more then glad to help you out.

  • To see how the plugins look with a little modification to the markers to reflect the brand logo! :)

    http://www.malta-restaurants.com/about-us/

  • Sure! Always happy to support great free products such as this plugin. Drop me an e-mail with your idea and let us know what you need.

  • Thanks a lot for the excellent plugin as well as the excellent support that you constantly give to your users.

    The plugin works just great and collects data just fine (I have just started using it however everything seems to be working just fine).

    Keep up the good work! And if you need any graphic design help please contact me on david@xxxxxxxxx. We’ll be glad to help you out for free pal ;)

    • Thank you very much for your comments. I’m glad the plug-in is working for you. Actually I have a new plug-in idea on which I need some great (but simple) design, are you willing to jump in?, of course you’ll be credited for your work.

  • So back end stats viewing is a possibility now?

  • Hallo,

    natürlich habe ich als erstes Version .3 installiert ;)
    Aber der Fehler ist geblieben.

    Achso noch ein Vorschlag!
    Lass diese riesige DB aus dem Paket raus. Der Automatisch Update klappt sonst nicht, Timeout!
    Vielleicht macht es sinn ein Update für die DB in die Administration von Deinem Tool zu legen?!?!

    LG

    Carsten

  • Hi,

    very fast responce, greate. But my problem is still there. Look here:
    http://www.giesen-familie.info/charlotte/blog

    By the way. Is there a way to collect IP’s without showing the map? In my main template I only want to collect, and then show with the post!

    My PHP Version is some thing with 5.x im ot sure in the moment. Where can I see it?

    cu

    Carsten

    • Have you upgraded to version 0.5.3? I released a fix for that.
      You could insert the map in your home to have it collect data there and hide it with CSS and use the regular way in your post to display that data.

    • Hallo, hast du schon die aller-letzte Version installiert? Damit sollte sich dieser Fehler eigentlich lösen. Wenn nicht sag’s mir und ich versuche dir auf anderer Weise zu helfen. Schöne Grüsse noch…

  • Aichholzer, gracias por avisarme de la actualización, de hecho lo hice bajandome el último pack.

    El mapa se visualiza bien, el problema es no me aparecen los Marker Icon (Me asegure de seleccionarlo bien) o sea las visitas reales, jamas me salieron desde que lo instale por primera vez.

    Lo podes ver en este link, al final de la página.
    http://microbita.com/archivo/

    • Capitán Far <<< He visitado el enlace que has dejado y no veo el mapa. Por otro lado en la página de opciones asegurate de seleccionar la “Yes” en la opción de “Collect in posts”, esto hace que el plug-in de hecho recoja información al ser insertado con un identificador. Si -por el contrario- insertas el plug-in directamente en las plantillas entonces tendrás que usar el código PHP y dejar sin seleccionar la opción de “Collect in posts”. Por otro lado, recuerda que el plug-in solo recoge información de los visitantes que llegan a la página que contenga el mapa.

  • hi there!
    Nice plugin, will there be a openstreetmap version possible?

Leave a Reply