Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
BBCode - GoogleMap Details »»
BBCode - GoogleMap
Version: 1.00, by jewelernation jewelernation is offline
Developer Last Online: Feb 2011 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.8.4 Rating:
Released: 11-17-2009 Last Update: Never Installs: 10
 
No support by the author.

I have created and would like to share my BBCode for inserting a static Google Map.

Title: GoogleMap
BB Code Tag Name: googlemap
Replacement: <img src="http://maps.google.com/maps/api/staticmap?center={param}&zoom=13&size=400x400&mark ers=color:red|label:A|{param}&key=[YOUR-GOOGLE-KEY-HERE]&sensor=false" alt="{param}" />
Example: [googlemap]810 7 Ave, Manhattan, New York, NY 10019[/googlemap]
Description: Use this code to add a Google Map to your sublease posting
Use {option}: No
Button Image (Optional): see attached image we use
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies Within This BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes

MAKE SURE TO REPLACE "[YOUR-GOOGLE-KEY-HERE]" in the replacement section. Sign Up for the Google Maps API

Show Your Support

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

Comments
  #2  
Old 11-18-2009, 08:51 PM
csrs csrs is offline
 
Join Date: Oct 2004
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesnt work for me
Reply With Quote
  #3  
Old 11-25-2009, 12:55 PM
Hasanudin's Avatar
Hasanudin Hasanudin is offline
 
Join Date: Jun 2003
Location: Indonesia
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not work too..
Reply With Quote
  #4  
Old 11-25-2009, 01:21 PM
Edrondol Edrondol is offline
 
Join Date: Aug 2009
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work for me, either.
Reply With Quote
  #5  
Old 11-26-2009, 04:22 AM
segwayon segwayon is offline
 
Join Date: Mar 2008
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it to work: There's an extra space in the code which needs to be removed:

You posted: " . . .& key= . . ."

Remove the space between the & and the key=

so that it looks like this:

" . . .&key= . . ."
Reply With Quote
  #6  
Old 11-27-2009, 12:13 PM
segwayon segwayon is offline
 
Join Date: Mar 2008
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone have any suggestions on how to alter this code so that the map is not static but allows for zooming and panning, etc?
Reply With Quote
  #7  
Old 11-28-2009, 03:43 PM
kalisekj kalisekj is offline
 
Join Date: Dec 2006
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great removed the space as required and did not add the [ ] just your key and it works like a charm. Great for real estate Web sites for exact position on a house for sale or rent.
Reply With Quote
  #8  
Old 11-28-2009, 09:50 PM
davew davew is offline
 
Join Date: Oct 2005
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool!!
Thank you..
I second the question about zoom etc
Reply With Quote
  #9  
Old 02-11-2010, 04:32 PM
benstillman benstillman is offline
 
Join Date: Jun 2007
Location: Ohio
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by segwayon View Post
Anyone have any suggestions on how to alter this code so that the map is not static but allows for zooming and panning, etc?
+1

I could definitely use the zoom in/out feature.
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 01:04 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.07573 seconds
  • Memory Usage 2,278KB
  • Queries Executed 23 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete