PDA

View Full Version : BB Code Enhancements - Scribd BBCode


JhJ
03-05-2008, 10:00 PM
I wrote this BBCode so that the members of my board can post their essays, poems, and any other great literary stuff hosted on scribd.com easily within their posts so that other members wouldn't have to download the files (especially pdf files).

NOTE: This is in beta testing. I claim no responsibility for any mishaps that might happen if you don't follow the directions as noted. As with all mods, please backup anything you deem necessary.

Installation Directions:
In your AdminCP go to Custom BB Codes > Add New BB Code

Title: Scribd
Tag: scribd
Replacement:
<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" id="embedded_flash_2188154_mzztx_object" name="embedded_flash_2188154_mzztx_object" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" align="middle" height="500" width="100%"><param name="flashvars" value="&document_id={param}"> <param name="movie" value="http://documents.scribd.com/ScribdViewer.swf"> <param name="quality" value="high"> <param name="play" value="true"> <param name="loop" value="true"> <param name="scale" value="showall"> <param name="wmode" value="opaque"> <param name="devicefont" value="false"> <param name="bgcolor" value="#ffffff"> <param name="menu" value="true"> <param name="allowFullScreen" value="true"> <param name="allowScriptAccess" value="always"> <param name="salign" value=""> <embed flashvars="&document_id={param}" src="http://documents.scribd.com/ScribdViewer.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" play="true" loop="true" scale="showall" wmode="opaque" devicefont="false" bgcolor="#ffffff" name="embedded_flash_2188154_mzztx_object" menu="true" allowfullscreen="true" allowscriptaccess="always" salign="" type="application/x-shockwave-flash" align="middle" height="500" width="100%"></embed></object>
Example:
2188341&access_key=key-pggizk99nplsltbis9h&page=
Description: Anything you want to add
Use {option}: No
-----
All scribd uploads come with an embed code. Find this part of the embed code (Part that is BOLDED)
embed flashvars="&document_id=2188341&access_key=key-pggizk99nplsltbis9h&page=

And use that selection within the [scribd]selectiongoeshere[ /scribd] (Remove space)
-----

ricardoNJ
09-14-2009, 06:41 AM
Nice but I don't know what is the code that I have to use in Scribd embed?

ricardoNJ
09-27-2009, 05:39 AM
I got it: thanks!

PretorianoAlfa
02-17-2010, 08:24 AM
It works perfectly in Vb 4. He needed this BB to insert my documents directly in the forum and it has made me happy to verify that it works with the last version of the same one.

Thank you very much. Installed. :)

Jacob_ITAPros
04-20-2010, 03:46 PM
Thanks for this. The specific code to grab from the Scribd html embed is the document_id.

Charis
02-03-2012, 05:16 PM
Thanks. I works fine in VB4.06.