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.
Hi Aichholzer,
Your plugin “Visitor maps generator” is in conflict with other plugin “mySTAT”.
Regards
KaRLiK
Thank you very much, it’s fixed and version 0.5.3 is out.
Looks very nice in your page. Thank you for using it.
Hello,
I always geht this error, when I insert the php statment to my footer:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /srv/www/vhosts/c-giesen.de/httpdocs/charlotte/blog/wp-content/plugins/visitos-map-ip/geoip/class_geoip.php on line 20
any idea?
Regards
Carsten
Carsten Giesen <<< What version are you using? What’s the PHP version on your server?
Carsten Giesen / Martino <<< Version 0.5.2 is out! It will allow you to collect data from posts. You have to set that from the plug-in’s options page. Let me know how it goes. It also includes a mini-fix that should solve this issue. Post a link to see how your using it.
Thanks for your response — eagerly await being able to put live visitors in pages without altering template files — I am just displaying the map in a page and post without data awaiting your update when you have time.
Regards Martino
Thank you for using the plug-in. I’ll try to update the version tonight. Do you want to track your visits only from your “Visitor map” page? By the way, you should log into your plug-in options page and set the css width to a little less, it’s seems the map it currently to big for the space you provided there. (That’s just a suggestion)
Hello, thank you for your quick response!
Yes, that’s what I mean.
Hello, I’ve found your plugin crossing the internet and I would love to use its map generating mechanisme.
But what I would like to do is place a piece of code on the page I want the views of en place the generated map in the index page of the admin section of wordpress.
Can you help?
Do you mean display the map only on your admin panel index page?, well in that case the map would only collect data for users who actually log in into your panel, otherwise we would need figure out some kind of hack so data get collected from the frontpage but the map only gets rendered in the admin panel. Let me know if that’s what you need.
Hi again -
Read the problem in comments above mine that was similar. I followed the advice you gave the “captain”, used the latest version downloaded from wordpress site, and re-uploaded the whole thing.
Still getting error.
Thanks -
W
wwwindi <<< Ok, I’ve fixed the code and released a new version, the new release should fix this issue, which by the way was caused because of using a previous version of PHP on your server. Please upgrade and let me know how it goes.
Capitán Far <<< He publicado una nueva version que resuelve el problema que tenías (lo reportó otro usuario también), por favor actualiza a la versión actual: 0.5.1
I want to be able to insert in a page or post and be able to collect data — I realize the plugin does not do this at the moment –
i have on a page and and a post on the site, awaiting upgrade from you hopefully.
Great plugin potentially
Regards
Martino < << Yes, at the moment you can only insert the maps (and have it collect data) in your templates using the PHP code provided. You can also insert it into posts or pages using the identifiers but -as mentioned- doesn’t collect any data. I will update this and release a new version as soon as I have some time. Thank you for posting.
also, i don’t have to know any google map api to use this right? it should all be automatic.
Crazy man <<< Yes, you don’t need any Google API knowledge, the only thing you need to do is insert the valid API key from Google.
Thank you for this very useful plugin -
I received this error after I placed the php on a wordpress page:
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 7
Any idea how I fix this?
Thanks -
W
hey! my email should be posted with this response. if its not let me know. I still have yet to see any map.
if anyone else feels like they can help me I would appreciate it.
Thanks for the help!! when you said, “I will add an option so you can enable the plug-in to collect data if inserted into posts” I thought that would fix my problem, but I don’t know how the update helped me. so I’m still where i was yesterday. and I cannot get the map to show up in my post at all. I don’t want to enter any code into my style sheet because I don’t want it to collect data from there. I only want it to collect from the page. my website is fairly popular so I’m hesitant to give away the name. if you want to send me an email we can probably work that way.
Gracias Aichholzer, voy intentar subir todo de vuelta y te comento.
Excelente plugin, para socializar más el blog, sin embargo a pese que creo hice cada paso bien..
me tira este error
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /www/microbita.com/htdocs/wp-content/plugins/visitos-map-ip/geoip/class_geoip.php on line 7
¿Que puede ser?, tengo la API de Google aplicada que ya también uso Google Maps
Agradeceria una explicación tuya para poder resolverlo.
Un saludo!
Capitán Far <<< Ese no es un error común, al menos no que yo haya visto, y a más de todo viene de la clase de geo-localización la cual no ha cambiado. Puede ser posible que al cargar los archivos a tu servidor, a través de FTP- alguno (este) se haya truncado y no este completo, de ahí el error que da. Te sugiero que vuelvas a cargar de nuevo los archivos y compruebes como va. La versión actual es 0.4.9. Saludos.
Yeah, if you made that adjustment it would probably solve my issue. I have tried to understand the plugin directions for the CSS. It points me to your website. so, since i am not a good coder, I haven’t been able to understand what to do. I tried using the short identifiers inside the post to see a blank map, but it just said “Visitor map / Mapa visitas” . I haven’t messed with any PHP or edited any templates.
besides that, It would also be nice to select whether or not the unique IP is collected only once. and also to select the total number of visitors to only be collected once per IP or per visit. make sense?
thanks for your help!
I have updated the version, current is: 0.5.0
In this new version you’ll be able to set custom CSS properties right from the plug-in options page. If your still having so much problems you could give me access to your WP panel and I’ll set the map up for your in a minute.
I don’t see the page I want to edit under ‘templates’ than ‘edit’ . The Page I would like the IP’s to be collected from is only found in ‘pages’ then ‘edit’ (wordpress 2.7). when i created the page it was originally under the “Write” option, it looks similar to making a new post.
Ok, now I know what you mean. In that case you would have to insert the map plug-in using an identifier (also provided in the plug-in page). Just paste the identifier where you want your map to be rendered. As for now, using the identifiers to insert a map into a post does not collect any data, that is intended to display visits only. It’s late night now and I need some sleep, tomorrow I will add an option so you can enable the plug-in to collect data if inserted into posts, that will fix your issue. Is that ok?
Meanwhile, try inserting the map into that page (using the identifier, as explained below) you should get a blank map (with no location markers). Let me know if that works and we’ll go on from there. Remember that you will still need to add some custom CSS to your style sheet, as the plug-in does not create any CSS, it only creates a container with the map inside it.
the code didn’t show up. it was the one that is in the plugin page. the one that starts with php
Thanks for the response!
Yes, it seems you understand my problem. so to be clear, if I go to edit page in the wordpress dashboard and enter this code: “” it should only collect IP’s from that page?
I’m not a very good coder, so is there any certain details in making this post that I would need to know?
Crazy man <<< You’re welcome. Yes, go to your WP dashboard, then “Themes” and then “Editor”, from there you can actually select the page you want to edit. Find the page you want and paste the plug-in code (which you can find in the plug-in page), save and that’s it. The map will only be rendered on that page and only collect IP information from visitors who get to that page. By the way: yes the PHP code. Please post a link once you’re done, I’d like to see how it looks.
it seems like a great plugin!
I have a large number of visitors and only want to showcase a few of them through only allowing access to one section of my site.
it would help if there was a way to control which portion of the website the IP’s are collected from. for instance: selected users or just one page(not template) that collects the data.
is that possible?
is every IP only collected one time?
Thanks!!
Crazy man <<< Well, I don’t quite follow you but I guess you could simply use the plug-in code inside a certain template, the one that you wish to collect IP information from. For example, let’s say you only want to collect data through your “About” page because that’s the traffic that matters to you, then you could simply use the code in that page only, do you know what I mean?, am I getting anywhere near to what you need?
IP addresses get collected only once -yes- but each time a visitor comes back with the same IP address it ads up to the total that IP address visited you.
Un plug-in muy interesante, si señor.
Gracias, al menos veo que no solo interesa a los de habla inglesa. Un saludo.
hi. Thanks for plugin
perfect.
Regards
You’re welcome.
I’m glad it works for you. Enjoy!
Not yet, but I can make that in a future release…
I saw your CSS file, but with the file only I’m not able to test, I will to try to test on your site and let you know if I find anything else. On the other hand, I don’t have IE, so I can’t really test that for now, it’s perhaps some JS issue, since IE has some serious JS flaws…
Thank you