vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Phoogle! An interactive Google Maps mapping system. (https://vborg.vbsupport.ru/showthread.php?t=141584)

Slave 05-01-2007 06:53 AM

Quote:

Originally Posted by Darat (Post 1238095)
No I haven't got it working with UK street addresses - that will require magnus to make the changes he's made in his development version publicly available or him doing something very clever like switching the yahoo look-up depending on the country.

Ahh .. ok .. thanks for the reply, that makes it much clearer. :)

Doctor Death 05-05-2007 06:58 PM

With a custom skin, when displaying a post with map tags in it, it shows a white box with map controls and a very small bit of map in top left corner of map.

Interestingly enough, when you click on the QUICK REPLY button, the map suddenly appears but there is not the spot marker which you would expect in normal google mapping.

Any ideas on how this conflict is occurring?

Thanks

P.S. I sincerely appologize for my inaccurate comments earlier this spring. I hope that the coders accept this.

Regards.

magnus 05-06-2007 02:22 PM

Quote:

Originally Posted by Doctor Death (Post 1242000)
With a custom skin, when displaying a post with map tags in it, it shows a white box with map controls and a very small bit of map in top left corner of map.

Interestingly enough, when you click on the QUICK REPLY button, the map suddenly appears but there is not the spot marker which you would expect in normal google mapping.

Any ideas on how this conflict is occurring?

Thanks

P.S. I sincerely appologize for my inaccurate comments earlier this spring. I hope that the coders accept this.

Regards.

Sounds like there may be an open HTML tag somewhere. Try running the custom skin through the W3C XHTML Validator to search for possible issues.

Doctor Death 05-07-2007 01:04 AM

I had someone check and sure enough there was an open <table> tag in the header.

Once it was closed properly, it worked like a charm.

Thanks for the clue.

apfparadise 05-14-2007 01:29 PM

I love the hack but it has somewhat limited functionality. For using it to list the address of an event, it would be VERY useful to have a way to link it to "directions" information, so that people can go from seeing the map to actually mapping directions from their locations to the event. Is that possible for future versions ?

bugriders 05-15-2007 09:11 AM

Installed and working!! Thanks. Great hack.

The only thing.... I want to use the map for countries: Belgium and Holland.
If I try I receive: Invallid adress.

I supose I have to change the Geocode API URL

I've been looking for that code on http://www.google.com/apis/maps/docu...oding_Examples

but no results:(

ManniC 05-15-2007 12:35 PM

Also works fine for me, thx magnus :up:

@bugriders:

Some posts above was mentioned that the street-data is verified by yahoo.com, neither uk- or ge-adresses are covered with this solution. magnus wrote that the googlemap-API doesnt give back an error code.

Question: Does anybody have a yahoo-call for verifying german adresses?

Code:

http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&location=rhaland+5+bottrop
responses "The street could not be found. Here is the center of the city."

When i directly call googlemap-API with the same street-adress, i get back code 200:
Code:


        <kml>

        <Response>
<name>Rhaland 5 Bottrop</name>

        <Status>
<code>200</code>
<request>geocode</request>
</Status>

        <Placemark id="p1">
<address>Rhaland 5, 46242 Bottrop, Germany</address>

        <AddressDetails Accuracy="8">

        <Country>
<CountryNameCode>DE</CountryNameCode>

        <AdministrativeArea>
<AdministrativeAreaName>Nordrhein-Westfalen</AdministrativeAreaName>

        <SubAdministrativeArea>
<SubAdministrativeAreaName>Bottrop</SubAdministrativeAreaName>

        <Locality>
<LocalityName>Bottrop</LocalityName>

        <Thoroughfare>
<ThoroughfareName>Rhaland 5</ThoroughfareName>
</Thoroughfare>

        <PostalCode>
<PostalCodeNumber>46242</PostalCodeNumber>
</PostalCode>
</Locality>
</SubAdministrativeArea>
</AdministrativeArea>
</Country>
</AddressDetails>

        <Point>
<coordinates>6.913915,51.502829,0</coordinates>
</Point>
</Placemark>
</Response>
</kml>

By mistyping the street (Rxaland instead of Rhaland) i get back code 602 which seems to be an error code:
Code:


        <kml>

        <Response>
<name>Rhxaland 5 Bottrop</name>

        <Status>
<code>602</code>
<request>geocode</request>
</Status>
</Response>
</kml>

Anybody an idea ???

Thx in advance

Blittz 05-19-2007 03:08 PM

Installed and working as advertised with no bugs! Congrats on a great product Magnus.

I can think of 3 things I'd love to see added someday.
  1. Ability to pick Map/Satellite/Hybrid in the [map] tag
  2. Add a location that Google doesn't have an address for. Here is an example of what I'm talking about:
    Our RC Flying club uses this park:But to use this hack, I have to use an address that google knows:
    • [map]600 S Columbia Center Blvd, Kennewick, WA 99336[/map]
    While its close, it would be cool to maybe have:
    • [map=url]google_link_goes_here[/map] or something *shrug*
  3. Add a default link below the map to open it up in a new full normal google map window. That way people can now use google's tools to get driving directions, etc...
Great hack even as it stands now, thanks for all your hard work Magus!

truCido 05-21-2007 10:50 AM

Great hack, like the others I am from the UK so having a few problems however I can pin point the road which is good enough for now :)

[map]Bletcham Way,Milton Keynes,Buckshire,MK78HP[/map] worked for me!

One other thing I noticed is that if I goto http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&location=<texthere> and enter a UK postcode in place of <texthere> it actually returns a result is it possible to have it work from just entering a postcode?

krela 05-30-2007 06:52 PM

Is there any way this would work by putting in lat/long yourself and not relying on a geocoder at all?

i.e.

Code:

[map=name]lat, long[/map]
I know this bypasses some functionality, but it would make this module workable for people who either a) don't want to use it specifically for postal addresses or b) have international geocoding issues.

Preferably the option for both would be cool, some kind of check to see if the code given is already in lat/long format, if not parse it through a geocoder.

It must be possible reasonably easily because the geocoder simply converts the address to long/lat anyway.

This would make it the perfect mod for me!

tei727 05-31-2007 02:38 PM

i get the map just fine but at the end it say's titleCase then the city's name.

titleCase('TIMONIUM'

krela 06-05-2007 07:27 AM

Quote:

Originally Posted by krela (Post 1257824)
Is there any way this would work by putting in lat/long yourself and not relying on a geocoder at all?

i.e.

Code:

[map=name]lat, long[/map]
I know this bypasses some functionality, but it would make this module workable for people who either a) don't want to use it specifically for postal addresses or b) have international geocoding issues.

Preferably the option for both would be cool, some kind of check to see if the code given is already in lat/long format, if not parse it through a geocoder.

It must be possible reasonably easily because the geocoder simply converts the address to long/lat anyway.

This would make it the perfect mod for me!

No matter, I've edited the mod so it works with zip, address or lat,long inputs :)

ThePiston 07-05-2007 08:40 PM

is there a way to add maps for UK addresses?

nsusa 07-06-2007 03:18 AM

How does this thing uninstall? I uninstalled it from the "Manage Products" area, but now it triggers a database error every time someone is trying to write a posting or is starting a new topic.

magnus 07-07-2007 10:48 PM

There's no magic to uninstalling. I've installed/uninstalled dozens of times with no ill-effect. Without knowing the database error, there's not much that can be done.

Tralala 07-25-2007 06:50 AM

Any updates to this, magnus? Curious to know if you're still working on it.

Digital Jedi 07-25-2007 06:42 PM

I've went nuts trying to make BBC code that would do this a couple of months ago. I even asked at vB.com and they didn't know about this. This will really enhance the regional tournament section of our forums, as I usually just post links to all the map sites with the address inputted. This will simplify, and enhance things greatly. I've installed it on our demo forums. It seems to work perfectly, and with my [wrap] tags it looks sharp.

Thanks a bunch.

Cyburbia 07-28-2007 06:31 AM

Quote:

Originally Posted by bugriders (Post 1247924)
Installed and working!! Thanks. Great hack.

The only thing.... I want to use the map for countries: Belgium and Holland.
If I try I receive: Invallid adress.

I supose I have to change the Geocode API URL

I've been looking for that code on http://www.google.com/apis/maps/docu...oding_Examples

but no results:(

Bumping. I'd also like to know if there's an alternative geocode API URL that isn't as finicky as the Yahoo URL. As in Google Maps, I'd like to be able to enter a city, state and zip code alone, or just a city and state/province alone.

EDIT: This doesn't seem to be working in Opera (9.10, Windows XP, Java and JavaScript enabled). I'm having the same problems others have reported with IE 7, too. It does work with K-Meleon, though.

filt 08-18-2007 09:13 PM

This seems like a great mod, but i would really LOVE to just use lat and long!

cynthetiq 08-20-2007 01:35 AM

Awesome. thank you works right off the shelf as advertised.

jwashburn 08-23-2007 01:35 PM

I cant get it to work. I am using the default settings. I am trying to use the white house example and I get invalid address

Digital Jedi 08-23-2007 04:22 PM

Quote:

Originally Posted by jwashburn (Post 1323993)
I cant get it to work. I am using the default settings. I am trying to use the white house example and I get invalid address

Clear the red coloring and bolded text from your address. I get the same error if I try to put in text with formatting applied. It's trying to parse the [b] and [color] codes as part of the address.

cynthetiq 08-25-2007 05:38 PM

I'd like to try to get this to float the image via bbcode.

can anyone explain how I can make a map bbcode replacement like:

<div style="float: left">https://vborg.vbsupport.ru/</div>

pedrovazquez10 08-25-2007 06:04 PM

Its posible to put the adress with coordinates or POIs?

dibbz 08-26-2007 04:09 AM

Has anybody had any luck getting Australian addresses to work?

Digital Jedi 08-26-2007 06:19 AM

Quote:

Originally Posted by cynthetiq (Post 1325573)
I'd like to try to get this to float the image via bbcode.

can anyone explain how I can make a map bbcode replacement like:

<div style="float: left">https://vborg.vbsupport.ru/</div>

I did this on my forum by simply creating a stand-alone float BBCode in the Admin CP. Then I just wrap it around the the Map code when I go to post it. For example:

[float=right][map]1600 Pennsylvania Avenue NW, Washington, DC 20500[/map][/float]

Not as integrated as you may like, but the option is you can float either left or right.

cynthetiq 08-26-2007 06:34 AM

thank you. I just wasn't sure if the wrap would still work and was too afraid (or lazy) to try.

thanks for your input.

Digital Jedi 08-26-2007 08:20 AM

Quote:

Originally Posted by cynthetiq (Post 1325893)
thank you. I just wasn't sure if the wrap would still work and was too afraid (or lazy) to try.

thanks for your input.

No problem. It works great, though I should point out, there's a slight issue when there's not a lot of text in the post. It will wrap the user's signature around the object as well. Not a problem when you have a lot of text in the post, or when you get a bunch of hard returns to post underneath. Or if you just turn you sig off for that post. Other then that, it has a very professional look.

cynthetiq 09-14-2007 02:40 AM

anyone get the address inside the map cloud pointer to wrap? otherwise it's just long and goes outside the map window and you cannot read it all.

pheller 10-03-2007 12:25 PM

Works well, however I'd like to do Multiline text in the balloon... possible?

Also, would it be possible to place an ordered list of the entries in a scrollable div layer within the same post, such that the entry could be clickable and cause the embedded map to show the entry's balloon?

pheller 10-05-2007 08:32 PM

Also, what needs to be done to work in the [map] parsing within other places.... For instance, I have installed event forums, but the tag does not work in the post body there.

Also, I've adjusted the FAQ template to parse bbcode, but similarly, the map tag is not understood.

I gather that map must be handled outside bbcode....

AWJunkies 10-16-2007 05:39 PM

Quote:

Originally Posted by pheller (Post 1353684)
Also, what needs to be done to work in the [map] parsing within other places.... For instance, I have installed event forums, but the tag does not work in the post body there.

Also, I've adjusted the FAQ template to parse bbcode, but similarly, the map tag is not understood.

I gather that map must be handled outside bbcode....

I havent tested the events part yet but that is a MUST for it to work. Also anyone getting freezing issues. Crashing of web browser in firefox when you move the map any direction?

AWJunkies 10-19-2007 02:00 AM

It doesn't work in events mod and that is a must anyone help in this matter?

Crazy Serb 10-27-2007 09:25 AM

Quote:

Originally Posted by pheller (Post 1353684)
Also, what needs to be done to work in the [map] parsing within other places.... For instance, I have installed event forums, but the tag does not work in the post body there.

Also, I've adjusted the FAQ template to parse bbcode, but similarly, the map tag is not understood.

I gather that map must be handled outside bbcode....

Yea, and that's the only reason why I'd need this mod in the first place... I guess I'll wait until someone figures out a way to make it work with VB Event Forums.

unitedbreaks 10-27-2007 09:55 PM

Quote:

Originally Posted by Crazy Serb (Post 1369607)
Yea, and that's the only reason why I'd need this mod in the first place... I guess I'll wait until someone figures out a way to make it work with VB Event Forums.

Quote:

Originally Posted by AWJunkies (Post 1363465)
It doesn't work in events mod and that is a must anyone help in this matter?

Quote:

Originally Posted by AWJunkies (Post 1361717)
I havent tested the events part yet but that is a MUST for it to work. Also anyone getting freezing issues. Crashing of web browser in firefox when you move the map any direction?

Quote:

Originally Posted by pheller (Post 1353684)
Also, what needs to be done to work in the [map] parsing within other places.... For instance, I have installed event forums, but the tag does not work in the post body there.

Also, I've adjusted the FAQ template to parse bbcode, but similarly, the map tag is not understood.

I gather that map must be handled outside bbcode....


Ditto!! Would be sweet if someone can collab. this with Event Forums mod

laura66a 10-29-2007 10:02 PM

This is a great utility, but it doesn't work in calendar or announcement entries. Can it be converted to regular BBCode so it will work in these areas?

Thanks.

rabidkevin 11-03-2007 08:20 PM

Quote:

Originally Posted by laura66a (Post 1371505)
This is a great utility, but it doesn't work in calendar or announcement entries. Can it be converted to regular BBCode so it will work in these areas?

Thanks.

Same here I mainly want to use it in calendar events

incisor 11-03-2007 10:47 PM

try to install the product and it goes into lost in space mode, sits there for ages do nothing..

mykkal 12-06-2007 08:07 AM

I'd love to have this. anyone using this in 3.6.8?

mykkal 12-06-2007 08:08 AM

Is there a way to make it ignore this? User's won't know that.
It'll confuse the heck outta them.

Quote:

Originally Posted by Digital Jedi (Post 1324095)
Clear the red coloring and bolded text from your address. I get the same error if I try to put in text with formatting applied. It's trying to parse the [b] and [color] codes as part of the address.



All times are GMT. The time now is 04:22 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.01508 seconds
  • Memory Usage 1,846KB
  • 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
  • (5)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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