vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VBGooglemap Member Edition (https://vborg.vbsupport.ru/showthread.php?t=99920)

TTG 11-03-2005 11:42 PM

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 :)

stonyarc 11-03-2005 11:48 PM

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.

silurius 11-04-2005 12:15 AM

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!

chader144 11-04-2005 12:50 AM

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

TJFweb 11-04-2005 03:54 AM

Nice hack. I had to tweak some of the template code though...

tlp000999 11-04-2005 07:24 AM

** 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.

The Geek 11-04-2005 08:45 AM

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!

reteep 11-04-2005 09:33 AM

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

stonyarc 11-04-2005 09:44 AM

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

The Geek 11-04-2005 10:48 AM

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


All times are GMT. The time now is 09:53 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.02016 seconds
  • Memory Usage 1,754KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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