vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - Google map, last 100 visitors. (https://vborg.vbsupport.ru/showthread.php?t=202500)

Vaupell 01-19-2009 10:00 PM

Google map, last 100 visitors.
 
1 Attachment(s)
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/ 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 :
Code:

<!----  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

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

Quote:

Originally Posted by MrEyes (Post 1719835)
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

Quote:

Originally Posted by Vaupell (Post 1719999)
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

Quote:

Originally Posted by fred13 (Post 1728508)
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

Quote:

Originally Posted by mattpist (Post 1745204)
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

Quote:

Originally Posted by fred13 (Post 1728508)
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.


All times are GMT. The time now is 05:31 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01121 seconds
  • Memory Usage 1,759KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete