Current Locations Plugin Suggestions
The plugin just started with an idea I had. Do you have any ideas for this plugin? Let me know.
Post any type of suggestions you would like to see the plugin have. I’m always willing to grow this plugin.
Welcome to my life in my words! I love to play soccer and spend time with my friends and my AWESOME WIFE Michelle. I enjoy photography and computers. I love my family, Michelle and Heiress (our dog) with all my heart!
The plugin just started with an idea I had. Do you have any ideas for this plugin? Let me know.
Post any type of suggestions you would like to see the plugin have. I’m always willing to grow this plugin.
Hi Justin!
I think the Current Location plugin has stopped working today. It is just saying “User ID incorrect…” to everyone that I’ve seen, even you! Any ideas?
Latitude itself and the public location badge seem to be functioning still, as you can still see the images generated by the standard Google code on external sites.
Cheers,
Nick
Nick,
Can you send me the url of your blog? So I can see it messing up?
Btw, I just updated the code 1.4, can you see if this fixes it.
It would be great if there was some shortcode so I could just put a map of my current location into an activity page rather than making a template…
Florian,
What do you mean activity page?
Hi Justin,
the plugin stopped working for me today. It just says “User ID incorrect. You entered this id: xxxxxxx”. I’ve removed the id from the plugin by now because noone should see that. I’ve double-checked my id and even made copy/paste from the google-badge. But it didn’t work. If you need more information, fee free to contact me by mail.
btw: the plugin should NOT under any circumstance write the latitude user-id on a public page. Even not in error-messages. I’m using your plugin to hide the id to anyone and only publish the name of the city. I was very shocked to se my user id in the public presented error-message in my widget.
I forgot: I’m on 1.5.2 on WP 3.1
Shame on me. Call me silly. I forgot I disabled status update on my phone
)
But the thing with the user id in public error-message should _really_ be fixed. Maybe just printing “unkown”. And print detailed error-message only when admin logged-in.
Dennis that is a great point. Let me see what I can do for you. Hopefully release 1.5.3 with a couple of these issue you all are seeing.
I forgot to say, add a “echo” before the display_current_location(); Part.
So it would look like this: < ?php echo display_current_location(); ?>
Justin,
great plugin, but I noticed a few minor glitches:
(1) If Zoom level is set to automatic you should omit the “&z=” completely in the map iframe as it only leads to a 404 error.
Or leave $map_zoom at the original value of 0 (&z=0 does work for the map display with automatic zoom).
However, zoom level 0 does not work at all for the static map
Might be an idea to move line 19 of cl-function.php into the STATIC statements in lines 69 and 145
(2) For international use it would look much better if you changed the accuracy text from “metres” to a simple “m” – or you go the extra mile for full internationalization
(3) Which is the current version? The plugin itself says 1.5.2 whereas the config screen states we are on 2.2.7 already
(4) for the wishlist: another zoom level “area” at something around 14 – in the static map not as close as automatic, but still a bit closer than city (level 10)
(5) reading Dennis’ comment regarding his user ID being secret it would be good to have some extra hint somewhere: something like “Displaying the map will reveal your user ID in the page source whereas the static map does not. See the hints on the Google Latitude Apps page for further details.”
PS: the static map in function display_current_location() is lacking a trailing
wanted to say: … a trailing linebreak
Hey mnbvcx,
Thanks for the comment and support. I changed the way the zoom works now. So instead of name, they are just numbers. I grabbed all the zoom levels available from Google. I added the trailing linebreak.
I fixed 1 through 5. Pushing release now.
Also I’m interested in the international version of this and will look into it.
Current version is 1.5.3. Not in the 2s yet. Not sure if you are looking at the correct plugin
Thx for the new version.
re Internationalization: I’ll be happy to help out with a German translation if necessary (with the help of Heiko Rabe’s translation plugin: http://www.code-styling.de/english/development/wordpress-plugin-codestyling-localization-en)
And I found the version glitch: apparently $version is used somewhere else on my site – I renamed yours to $cl_version throughout the index.php and all shows up fine.
Good point. Didn’t think about that. Ill update it on my end and ill look at that link. Thanks!
Hey mnbvcx, I have updated the plugin to start the i18n. I hope to get something to you soon about translation. I’ll email you directly.
No problem, just don’t expect much before end of March – I am almost at the airport, off for vacation
Hi Justin, de_DE translation for 1.5.7 is ready – worked like a charm. Download .po and .mo from http://mnbvcx.net/s/4m1oy