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.


All times are GMT. The time now is 09:56 PM.

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.01089 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete