• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

BB Code Media Site support for Google Spreadsheets 1.0

No permission to download
Allows embedding of Google Spreadsheets by adding support under XenForo's BB Code Media Site Manager

Saeed

Well-known member
#1
Saeed submitted a new resource:

BB Code Media Site support for Google Spreadsheets (version 1.0) - Allows embedding of Google Spreadsheets by adding support under XenForo's BB Code Media Site Manager

This resource / tutorial will help you add an entry for Google Spreadsheets to your BB Code Media Sites in your Admin Control Panel.

--------------------------------------------------


1. Go to your Admin Control Panel > Home > BB Code Media Sites > Add BB Code Media Site.

2. Here, enter the following information:

Media Site ID: googlespreadsheet

Site Title: Google Spreadhsheet

Site URL: https://docs.google.com/

Match URLs:
https://docs.google.com/spreadsheet/ccc?key={$id}#

Embed HTML:

Code:
<iframe width='750' height='750' frameborder='0' src='https://docs.google.com/spreadsheet/pub?key={$id}&output=html&widget=true'></iframe>
You may change the width and height to your liking (shown in the code above in blue).

3. Click "Save the BB Code Media Site".

4. To embed the document with the URL of a Google Spreadsheet, click "Embed Media" and paste the URL.

5. To embed the spreadsheet manually, the format would be something like this:

Code:
[media=googlespreadsheet]0Aq-ZUoz4kLmPdGlLX2tOSEpPZFlaQ2t1VXMyZ1U0U1E[/media]
The result should look something like this:

GoogleSpreadsheet.png
 

principia

Well-known member
#3
fyi
after switching my google account to google drive the bb code doesnt work any longer.
is it possible, that something is changed?
 

Saeed

Well-known member
#4
fyi
after switching my google account to google drive the bb code doesnt work any longer.
is it possible, that something is changed?
I just tried with a spreadsheet now uploaded at my own Google Drive. It seems to be still working for me.

Could you post a link to a document uploaded on your Google Drive and I could probably have a look?
 

principia

Well-known member
#5
I just tried with a spreadsheet now uploaded at my own Google Drive. It seems to be still working for me.

Could you post a link to a document uploaded on your Google Drive and I could probably have a look?
Mhh, very interesting. I have tried it again and it works :eek:
Sorry :whistle:
 

CFodder

Well-known member
#7
Using XF 1.2.3 I get the error

The specified URL cannot be embedded as media
Have followed the steps as per your instructions (also tried chinleng's fix) but it keeps comign up with the error.
 

DFI

Active member
#11
BBCode is no more working for new spreadsheets. I thing google changes the extensions.

Its Showing like this :

Code:
https://docs.google.com/spreadsheet/d?key={$id}#