PDA

View Full Version : Mini Mods - Google map, last 100 visitors.


Vaupell
01-19-2009, 10:00 PM
A visitor goole map.

A visitor visits your site, and a small flag is marked on google map
which all can click and enjoy. much fun.

quite useless, but interesting in any case.

I cant take credits for code since its all made availible
for free by http://www.zipwise.com/geomap/

i just modified the link and img and added into footer.

enjoy..

Update 21/Jan-09 : Decrease server load.

For those allready installed, i suggest remove the code from the footer,
and place it in forumhome instead, so it only loads on the front forumhomepage.

To remove from Footer, browse to AdminCP > Styles and Templates >click "go" on your right on the template your editing.

in the footer section remove the
<!---- Visitor map ---->
.......Remove all
<!---- End visitormap ->


Demo : http://www.evisystems.org/ (http://www.evisystems.org) Using a collapsed cmps module on that site. below navigation.
Installation :

Admincp > Styles and templates > Style manager >
Select Edit templates on your right in the dropdown table,
browse through the list of templates double click Forum display templates >
and double click "FORUMHOME"

Forumhome template :

search for : <!-- end what's going on box -->
Add below :
<!---- Visitor map ---->
<div align="right"><a href="http://www.zipwise.com/geomap/" target="_blank"><img src="http://www.zipwise.com/images/geomap.jpg" alt="ZIP Code Maps" border="0"></a></div>
<!---- End visitormap ->
Click save, you may want to edit the Div tag for placement.

browse to your site, and viola, click it to check its working.

enjoy..

I made a small Module for those with Vbadvanced which can be found Here (http://www.vbadvanced.com/forum/showthread.php?t=33559)

I have permission by Zipwise to redistribute their Geomap free version.

jayzy1
01-20-2009, 09:46 PM
nice addition, thanks:

http://www.getthroughguides.co.uk/forum/?styleid=1

Internetcafe
01-20-2009, 09:52 PM
Nice and simple but effective .. thanks.

MrEyes
01-21-2009, 06:57 AM
Unless I have misunderstood there is a fatal flaw here

Looking at the code/implementation it doesn't and can't track all site visits. Flags are only added to the geomap if a user clicks the image added into the template.

Vaupell
01-21-2009, 11:33 AM
Unless I have misunderstood there is a fatal flaw here

Looking at the code/implementation it doesn't and can't track all site visits. Flags are only added to the geomap if a user clicks the image added into the template.

Nope the image is loaded from the hosts site, via remote linking.
so each time someone sees the image on a url the site adds the flag.

All instructed on their website,
Ive been in contact asking about the same thing.
So the trace is made via your ip when you load the image.

MrEyes
01-22-2009, 07:11 AM
Nope...

You are absolutely right, and I am of course an idiot, apologies :o

Leo Brazil
01-22-2009, 12:43 PM
I liked it.

Thanks for sharing.

LeatherNeck
01-22-2009, 05:09 PM
Excellent work, thanks for this.

Vaupell
01-28-2009, 09:46 PM
In case u got mails of update, dont mind, just changed the text in the thread.
no biggie..

fred13
01-29-2009, 09:50 PM
In all truth and honesty, I find the fact that simply by clicking on an image, my location and thus identity is disclosed to the rest of the world... daunting.

fred13
01-29-2009, 09:58 PM
Luckily this program is so incredibly, amazingly inaccurate that you have no fear of being sued.

Vaupell
01-29-2009, 10:13 PM
you have no fear of being sued.

Never feared of getting sued, and if someone feel like it. go ahead
those american laws dont really apply here.

all this talk about sued, i coundt care less.

But i would appriciated it if we could stay on topic, and if you want to discuss law
then start a new thread in the section designed for "off topic" chat.

Thank you.
:down:

fred13
02-10-2009, 12:32 PM
"The american law does not apply here"


First of all, that is not just a law in america. Second, american law DOES apply.
I am not saying you would get sued.

gwerzal
02-15-2009, 07:04 PM
How server heavy is this mod

Will it slow my site down much

mattpist
02-15-2009, 07:26 PM
it would be nicer if it embedded the google map directly on the forum instead of having to click on an image.

Vaupell
02-15-2009, 08:12 PM
it would be nicer if it embedded the google map directly on the forum instead of having to click on an image.

Well that is possible, but then the mod wouldnt be free anymore.
a spoke with someone from the company and you pay per license
and use,

The free part is using the image, and was original intended to be
a exsample, but evolved and used around the web ;)

I personally use the CMPS module, instead, find it much easyer to manage a module
than adding small code bits around.

VonDoom
05-17-2009, 07:01 PM
Very cool, Installed. Actually installed the vBadvanced Module.

Brathamike
09-30-2009, 02:21 PM
Would be great if this shows there IP address. So that way we can ban some countries

ZeroHour
10-09-2009, 12:00 AM
Luckily this program is so incredibly, amazingly inaccurate that you have no fear of being sued.

LOL this is not illegal in ANY WAY. Your IP is public, its up to your isp to list where its located. Speak to them as they are the only ones with your address and if they set the geo info for your ip it has nothing to do with what anyone else can see. Its just like having your phone number in the phone book but there are not many ways to be delisted. Most isps DONT list your address but can set the city you are in on the ip and there is NOTHING ILLEGAL about it.
How the hell do you think google analytics shows the SAME INFORMATION.

Now back to the mod, it would be nice if there was the last x random visitors in say a 10 minute period. I can have 500 people online at once and 100 points wouldnt really be ideal. A rough map of the last 10 mins though could save possible load on the server too.