Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Google Streetview BB Code Details »»
Google Streetview BB Code
Version: 1.00, by nitra1000 nitra1000 is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.2 Rating:
Released: 03-10-2010 Last Update: Never Installs: 26
Re-useable Code  
No support by the author.

Hi all, this little bit of code, will allow your members to use google street view on your site...

As seen At my Leicester Talk Forum

Theres no products to upload, or templates to edit.. Just follow these steps.

Creating the basic Widget
Go To "Admin CP --> Custom BB Codes --> Add New BB Code"

Enter the following...

Title: Street View
BB Code Tag Name: sview
Replacement:
Code:
<div align="center"  style="margin: 5px 5px 5px 5px;">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%">
        <tr>
                <td class="thead" style="text-align:center"><iframe width="100%" height="600" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="{param}&amp;source=embed&output=svembed"></iframe></td>
        </tr>
</table>
</div>
Example: [sview]Example[/sview]
Description: Add Google Street View to the forum. Locate the place of interest you want, using maps.google.com street view then click LINK icon right hand side, and copy the link info in the very first box, and paste between the [sview] tags
Use {option}: No
Button Image (Optional): whatever 20x20 image you want, I've put one at the bottom. Please upload the file and then refer to it...
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




Thats It Folks..

lot's off map icons: http://commons.wikimedia.org/wiki/Category:Map_icons

If you wish to thank me, consider my advertisers for your next purchases

Show Your Support

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

Comments
  #12  
Old 03-12-2010, 02:42 PM
War.Frog's Avatar
War.Frog War.Frog is offline
 
Join Date: Aug 2009
Location: Ontario, Canada
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nitra1000 View Post
Are you using the address from the top, or the address from the link dropdown?
I was using the link dropdown address.
Reply With Quote
  #13  
Old 03-12-2010, 04:23 PM
nitra1000's Avatar
nitra1000 nitra1000 is offline
 
Join Date: Dec 2009
Location: uk
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by War.Frog View Post
I was using the link dropdown address.
Very odd... I will take a look and let you know.
Reply With Quote
  #14  
Old 03-12-2010, 04:42 PM
War.Frog's Avatar
War.Frog War.Frog is offline
 
Join Date: Aug 2009
Location: Ontario, Canada
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nitra1000 View Post
Very odd... I will take a look and let you know.
Strange - it seems to be sporadic actually. That same link WORKED for other maps! Hmm....maybe it's just a Google thing?
Reply With Quote
  #15  
Old 03-12-2010, 06:40 PM
is_it_me is_it_me is offline
 
Join Date: Mar 2009
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Timing couldn't have been better for me, I am just building an eating-out section and this will be a nice extra feature, especially as our part of the UK was only put on street-view yesterday!

Example listing with street-view
Reply With Quote
  #16  
Old 03-13-2010, 03:22 AM
nitra1000's Avatar
nitra1000 nitra1000 is offline
 
Join Date: Dec 2009
Location: uk
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by War.Frog View Post
Strange - it seems to be sporadic actually. That same link WORKED for other maps! Hmm....maybe it's just a Google thing?
It has something to do with the way google formats the URL for that specific spot... not sure why it's different for elsewhere yet...
Reply With Quote
  #17  
Old 03-13-2010, 03:23 AM
nitra1000's Avatar
nitra1000 nitra1000 is offline
 
Join Date: Dec 2009
Location: uk
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by is_it_me View Post
Timing couldn't have been better for me, I am just building an eating-out section and this will be a nice extra feature, especially as our part of the UK was only put on street-view yesterday!

Example listing with street-view
Very nice, glad you happy
Reply With Quote
  #18  
Old 03-13-2010, 03:53 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the how to, I've added it to my forum, the members will have fun with it
Reply With Quote
  #19  
Old 03-13-2010, 05:19 AM
pauldack pauldack is offline
 
Join Date: May 2008
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Superb BB, working perfectly on my sites, members are loving it, cheers!!!!
:up:
Reply With Quote
  #20  
Old 03-13-2010, 06:26 AM
denman75 denman75 is offline
 
Join Date: Aug 2006
Location: Netherlands
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you ,working great
Reply With Quote
  #21  
Old 03-13-2010, 04:12 PM
AzzidReign's Avatar
AzzidReign AzzidReign is offline
 
Join Date: Apr 2006
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting, I'm going to have to check this out later.
Reply With Quote
Reply


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 12:02 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.04436 seconds
  • Memory Usage 2,307KB
  • 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_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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