Street view

Street view 1.3

No permission to buy ($25.00)
Compatible XF 2.x versions
2.0
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $25.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Note: all my XF1 add-ons are still 100% free and are supported by donations.

Description:

Creates an embedded Google street view into a message.

Live Example:

http://www.southbayriders.com/forums/threads/2143/

(Example of Street view in message)

pic001.jpg


(Example of link in visitor tab)

pic002.jpg


(Example of Street View input form)

pic003.jpg


(Example of Street View results)

pic004.jpg


Features:
  • Google street view is displayed in the message.
  • Easy to use link creator.
Installation:
  1. Download Andy-StreetView-1.3.zip and unzip it.
  2. Copy the src/addons/Andy/StreetView directory to your server.
  3. From the Admin Control Panel Install the add-on.
Setup step 1:

Copy the streetview.php file from the add-on folder to a /misc/ folder that you create. For example:

http://www.domain.com/misc/

Setup step 2:

Get your Google API key using this link:

https://developers.google.com/maps/documentation/javascript/get-api-key

Update the streetview.php file variable called $googleKey located at the top of the file.

Setup step 3:

Add the following code to your config.php file:

$config['debug'] = true;

Navigate to the following:

Admin control panel -> Content -> Custom BB codes -> streetview

Edit the HTML replacement. Your forum domain name needs to be added in place of the example domain.

How to use:
  1. Go to Google maps.
  2. Select a location and click street view.
  3. Copy URL in address bar.
  4. Under the Visitors tab, click the Street view link.
  5. Paste the URL into the form and click submit.
  6. Copy the streetview code and paste it into a message
Error message:

If the add-on cannot convert a Google street view URL successfully, an error message "The URL entered cannot be converted" will be displayed. Make sure you're viewing a Google street view when copying a URL.
Author
AndyB
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from AndyB

Latest updates

  1. See description

    Street view v1.3 changes: Made a minor change to the Custom BB codes.
  2. See description

    Street view v1.2 changes: Corrected phrasing issue.
  3. See description

    Street view v1.1 changes: Updated addon.json file.
Top