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

Unmaintained BB Code Media Site support for Google Documents 1.0

No permission to download
Allows embedding of Google Documents by adding support under XenForo's BB Code Media Site Manager
This resource / tutorial will help you add an entry for Google Documents 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: googledocument

Site Title: Google Document

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

Match URLs:
https://docs.google.com/document/pub?id={$id}
https://docs.google.com/document/d/{$id}/

Embed HTML:

Code:
<iframe src="https://docs.google.com/document/pub?id={$id}&amp;embedded=true" width="100%" height="600"></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 Document, click "Embed Media" and paste the URL.

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

Code:
[media=googledocument]1dgkXZbQIeQX_VauDwG-Bp-n2iyN16eR-aJnXZY0CW6c[/media]
The result should look something like this:

GoogleDocument.png
Author
Saeed
Downloads
82
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Saeed