Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
VBGooglemap Member Edition Details »»
VBGooglemap Member Edition
Version: 3.0.1., by stonyarc stonyarc is offline
Developer Last Online: Aug 2013 Show Printable Version Email this Page

Version: 3.5.8 Rating:
Released: 11-01-2005 Last Update: 08-20-2007 Installs: 827
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.


I'm proud to announce that the new version is currently available to you all !!!


You can now nominate hacks yourself for hacks of the month. There is a link on the right of hacks on top of the files.



Function
This will display the members of the Bulletin Board based on their lattitude and longitude coordinates on a googlemap.

Don't forget to hit install !!!!!!!
Please read the guide before asking for support !!!!!!!

Feel free to support this mod and make a paypal donation to admin@stonyarc.com

INSTALL

HOTSPOT EDITION AVAILABLE ON : https://vborg.vbsupport.ru/showthread.php?t=114149
Detailed installation instructions and screenshots in the included pdf file.

Current Features



NOTE:
VBGooglemap 3.0.0 contains the vulnerability fix. Please upgrade immediately. Version 3.0.0. also contains all features from 2.5.X

As always you use modifications at your own risk.

VBGooglemap Member Edition 2.5.1 brings you a lot of new features. It?s vital that you uninstall any previous version before upgrading/installing version 2.5.1.

Upgrading from version 2.5.0 is easier. Instruction are available in the guide.

As the uninstall function will not remove your googlemap data in the database but only the templates and files you can safely remove an older version. As a precaution you should always take a backup. This should be done on each major change you make to your bulletin board.

IF YOU ARE RUNNING VERSION 1.0.3, 2.0.X AND YOU CHANGED TEXT DIRECTLY IN THE TEMPLATES YOU NEED TO SAVE YOUR CHANGES AS VERSION 2.5.0 REQUIRES YOU TO UINSTALL PREVIOUS VERSIONS.

This has taken quite some work and still will take a lot more. Please give credit where credit is due. You cannot remove any notice without prior written permission.

Changes in this version

SEE FIRST POST FOR FULL ROADMAP AND HISTORY

Planned Features
- TBD

Volume warning

high volume of users may slow down the load. Currently a load counter is included.

Languages

Thanks to Wachtmeister there is a German translation available to you all. Feel free to use it.

The translation will be updated on each new version.

Special

- Read the attached PDF for more information. The pdf is also included in the zip file.
- You'll need a googlemap key for your domain. Get your own key for your domain view http://www.google.com/apis/maps/signup.html for more information.
A googlemap key is only valid for a specific domain. You'll need a specific google account to create one.
All is explained on the googlemap link indicated above.
- Set the file permissions on the marker.xml file to 777
- The googlemap script can handle non-registered users. They will only see the main map and won't be able to enter information. This is reserved for logged in users (detected automatically)
- usergroup permissions are available in the backend
- To change location just drag the map while holding the left mouse key or by using the zoom and key functions on the left
- First time loading of the map may take a few seconds longer because of Google API hosting


Special Xbox Live version
http://www.xboxlivenation.com/community/gamermap.php

Credits

This has taken quite some work and still will take a lot more. Please give credit where credit is due. You cannot remove any notice without prior written permission. Instructions are included in the pdf file (vbgooglemap2.5.0_guide.pdf)
Special credits to Google, Pyg for the javascript tips.



FAQ

The FAQ is included in the pdf file.

INSTALL



Feel free to support this mod and make a paypal donation to admin@stonyarc.com



(c) 2007 Stonyarc

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #112  
Old 11-03-2005, 11:42 PM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stonyarc
Remember this is still a beta but it's going quite well I think
Working amazingly well .. I had no idea google maps were so detailed.
I can almost see the holes in my roof when I zoom in
Reply With Quote
  #113  
Old 11-03-2005, 11:48 PM
stonyarc stonyarc is offline
 
Join Date: Aug 2005
Location: Leuven (Belgium)
Posts: 930
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TTG
Working amazingly well .. I had no idea google maps were so detailed.
I can almost see the holes in my roof when I zoom in
Time to get on the roof :smoke:

Too bad it's not in Europe yet.

I have detailed zip-codes too but if I would do that it would cause and amazing extra data load on the database. Just think all the zipcodes in the world. If you have only local users 1 country that could be done. It even makes my life easier.

In the US you can even find scripts that give you the L&L based on your address. just fill it in and it sets your marker.

I think I would need some other infrastructure. That would mean building a server farm to handle that amount of data.
Reply With Quote
  #114  
Old 11-04-2005, 12:15 AM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fantastic extension! Installed without a hitch.

Any chance you could define your roadmap for this, plus tips & tricks, on the first reply on this thread?

If you are taking requests, I would vote to have VBGooglemap read user profile fields, and do something to integrate it with an events calendar.

Great stuff!
Reply With Quote
  #115  
Old 11-04-2005, 12:50 AM
chader144 chader144 is offline
 
Join Date: Aug 2005
Location: USA, Ohio
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Google Map API resources
http://mapki.com/index.php?title=Main_Page

Just to help.

Google Maps API Basic Tutorial
http://www.econym.demon.co.uk/googlemaps/index.htm
Reply With Quote
  #116  
Old 11-04-2005, 03:54 AM
TJFweb TJFweb is offline
 
Join Date: Dec 2001
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack. I had to tweak some of the template code though...
Reply With Quote
  #117  
Old 11-04-2005, 07:24 AM
tlp000999 tlp000999 is offline
 
Join Date: Sep 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

** installed ** http://www.falconryforum.co.uk/VBGooglemap.php

- first installation, got the xbox urls.
- re-installed the fix, but now the links in the bubbles just go to forum root
- updated all the pyg_addNewPoint(lat,lng,title,text,type) functions to

PHP Code:
      function pyg_addNewPoint(latlngtitletexttype) {
        var 
point = new GPoint(latlng);
        var 
icon pyg_icon(type);
        var 
marker = new GMarker(pointicon);
        if ( (
type=="yellow") || (type=="red") ){
            
title "<a href='/memberlist.php?do=getall&ausername="+title+"'>"title +"</a>";
        }
        var 
content "<div align=\"center\"><strong>"+title +"</strong></div>" "<hr width=\"100\"/><div align=\"left\" style=\"width: 20em\">" text +"</div>";
        
GEvent.addListener(marker"click", function() {
            
marker.openInfoWindowHtml(content);
          });
        
map.addOverlay(marker);
      } 
Think I need to url encode the title in the above but not familiar enough with the php's way of doing it.
Reply With Quote
  #118  
Old 11-04-2005, 08:45 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another suggestion that would make this even better:

Create a shortcut to various countries (ie. lat, long and zoom level). Already no one can even see the UK on mine. Its one giant red blob!
Reply With Quote
  #119  
Old 11-04-2005, 09:33 AM
reteep reteep is offline
 
Join Date: Mar 2004
Location: Germany
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got a strange bug, yesterday it worked on IE and Firefox. Today the red flags are only shown on Firefox, not on IE anymore. Any clue why?

http://www.musiker-board.de/vb/VBGooglemap.php
Reply With Quote
  #120  
Old 11-04-2005, 09:44 AM
stonyarc stonyarc is offline
 
Join Date: Aug 2005
Location: Leuven (Belgium)
Posts: 930
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stormblast
I got a strange bug, yesterday it worked on IE and Firefox. Today the red flags are only shown on Firefox, not on IE anymore. Any clue why?

http://www.musiker-board.de/vb/VBGooglemap.php

Hello Stormblast,

It's a purely data error. I've written a remove special chars function but not all chars are in there.

Quick fix is to open phpmyadmin and remove any special chars from the text field.

<marker lng="10.968475341796875" lat="49.02514993862271" title="Archers in Stint" text="Wei?enburg" type="red"/>

I think this one may be causing the problem. Can you give the special chars people are using so I can add them to my list.

Greetz
Reply With Quote
  #121  
Old 11-04-2005, 10:48 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I havent looked at the code - however why not just use htmlspecialchars() or vbs htmlspecialchars_uni() function to write the data to the markers?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05906 seconds
  • Memory Usage 2,326KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete