Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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
  #2  
Old 03-11-2010, 04:34 PM
Pvtiste Pvtiste is offline
 
Join Date: Nov 2005
Location: Toronto
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for sharing!
Is there any way to just put the address between the BB Code Tag?
Reply With Quote
  #3  
Old 03-11-2010, 04:58 PM
nitra1000's Avatar
nitra1000 nitra1000 is offline
 
Join Date: Dec 2009
Location: uk
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not to my knowledge... All this does is take the URL you provide and add some extras around it in order to embed it onto your forum.

Looking at the address and the link url they are significantly different.
Reply With Quote
  #4  
Old 03-11-2010, 09:16 PM
al_rhar al_rhar is offline
 
Join Date: Dec 2009
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

confirmed this is working on 3.8.4 PL2 and installed
Reply With Quote
  #5  
Old 03-12-2010, 01:59 AM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do I increase the number of characters in the [Example] column?
can't get the last few characters in
Reply With Quote
  #6  
Old 03-12-2010, 03:19 AM
War.Frog's Avatar
War.Frog War.Frog is offline
 
Join Date: Aug 2009
Location: Ontario, Canada
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange - I'm only ever getting the overview image, not the Street View. My links from Google look a lot different though - much more complicated. Such as:

http://maps.google.com/maps?f=l&hl=e...317.83,,0,3.58

Yikes. Any thoughts?
Reply With Quote
  #7  
Old 03-12-2010, 07:42 AM
nitra1000's Avatar
nitra1000 nitra1000 is offline
 
Join Date: Dec 2009
Location: uk
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sulasno View Post
how do I increase the number of characters in the [Example] column?
can't get the last few characters in
No Idea..... Unfortunatly. You could always chop the URL down slightly... as it's only an example of the code to use...
Reply With Quote
  #8  
Old 03-12-2010, 07:44 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 - I'm only ever getting the overview image, not the Street View. My links from Google look a lot different though - much more complicated. Such as:

http://maps.google.com/maps?f=l&hl=e...317.83,,0,3.58

Yikes. Any thoughts?
Are you using the address from the top, or the address from the link dropdown?
Reply With Quote
  #9  
Old 03-12-2010, 10:05 AM
smstoolbox smstoolbox is offline
 
Join Date: Feb 2010
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Absolutely superb! Cheers mate!
Reply With Quote
  #10  
Old 03-12-2010, 02:23 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanxx mate

installed
________
Roll blunts
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 10:34 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.09369 seconds
  • Memory Usage 2,290KB
  • 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_code
  • (2)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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