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

BB Code for Scribd Documents 1.0

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

Saeed

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

BB Code for Scribd Documents (version 1.0) - Add BB Code support for Scribd media (documents)

-----------------------------------------------------------------------------------------
I would first like to thank Jake Bunce, for helping me out with this BB Code.

This resource / tutorial will help you add an entry for Scribd Media to your BB Code Media Sites in your Admin Control Panel. This includes support for the following file formats:

*.pdf
*.xls
*.doc
*.ppt
*.pps
*.ps
*.txt
*.rdf
*.odt
*.odp
*.ods
*.odf
*.odg
*.sxw
*.sxi
*.sxc
*.sxd
*.tif
*.tiff
*.docx
*.pptx
*.ppsx
*.xslx

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: scribd

Site Title: Scribd

Site URL: http://www.scribd.com/

Match URLs:
http://www.scribd.com/doc/{$id}/
http://www.scribd.com/*/d/{$id:digits}

Embed HTML:

Code:
<iframe class="scribd_iframe_embed" src="http://www.scribd.com/embeds/{$id}/content?start_page=1&view_mode=list&access_key=key-2lh4nqcawtxot02q2lwh" data-auto-height="true" data-aspect-ratio="0.640167364016736" scrolling="no" id="doc_75039" width="100%" height="600" frameborder="0"></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 Scribd Media file, click "Embed Media" and paste the URL.

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

Code:
[media=scribd]90924585[/media]
The result should look something like this:

screenshot.png



Read more about this resource...