Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
BBCode - Embed Google Documents Collection (BB Code) Details »»
BBCode - Embed Google Documents Collection (BB Code)
Mod Version: 1.00, by BirdOPrey5 (Moderator) BirdOPrey5 is offline
Developer Last Online: Jul 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (3 votes - 5.00 average) Installs: 18
Released: 18 Sep 2010 Last Update: 18 Sep 2010 Downloads: 59
Supported Re-usable Code Translations External Content  

Embed Various Google Docs

Live Demo: Here

Google Docs is a free service by Google. Google Docs are a professional collection of "Office" applications like a Word Processor, Spreadsheet, Presentation Designer, and Drawing tool. Google Docs is a serious alternative to the very expensive Microsoft Office. Documents are stored online, can be shared among users, and in the case of this BB Code they can be embedded in other web pages.

There are several BB Codes in this collection, Google Doc (Document), Google Spreadsheet and Google Presentation. Google Drawings can be embedded using the standard [img] tags but I will give an example here anyway.

When working on any Google Document in the top right of the window will be a "Share" button with drop-down arrow. Click on this arrow and choose "Publish to Web" or "Publish / Embed" and you will be given code to link to and/or embed the document. You will be given a URL such as:
https://docs.google.com/document/pub?id=1bhtK-AhiXqfWK5bGJcULvEO3zMahcFgnJEsT1YvYsuc

What you need is the document ID which is the long string of characters after "id=" or "key=" and before the ampersand (&) if present, in this case your id is:
1bhtK-AhiXqfWK5bGJcULvEO3zMahcFgnJEsT1YvYsuc

In all cases you put the ID between the appropriate tag for the type of document.

Google Document (Word Processor Document)
[gd]1bhtK-AhiXqfWK5bGJcULvEO3zMahcFgnJEsT1YvYsuc[/gd]

Google Spreadsheet
[gs]0AmOHO6Cm8vvAdFR2b0dMMnVwMUE0MlpXYnowWnowWWc[/gs]

Google Presentation
[gp]dcjktv94_1fcpptwqc[/gp]

Google Drawing
No special BB Code is needed to embed a drawing because it's rendered as any other image. Just put the URL given between IMG tags...
[IMG]https://docs.google.com/drawings/pub?id=1C1arwoUzUyzxnzk9yD7ysx6vyMfcDuDXXzQTqnngh2c&w=640&h=480[/IMG]

To add one or more of these BB Codes follow any of the below instructions:

Add a New BB Code

Title: Google Document
BB Code Tag Name: gd
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example:[gd]1bhtK-AhiXqfWK5bGJcULvEO3zMahcFgnJEsT1YvYsuc[/gd]
Description: Embed a Google Document.
Use Option: No
Button Image: (optional)
Remove Tag If Empty: Yes
All Disable Options: Yes

------

Add a New BB Code

Title: Google Spreadsheet
BB Code Tag Name: gs
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [gs]0AmOHO6Cm8vvAdFR2b0dMMnVwMUE0MlpXYnowWnowWWc[/gs]
Description: Embed a Google Spreadsheet.
Use Option: No
Button Image: (optional)
Remove Tag If Empty: Yes
All Disable Options: Yes

------

Add a New BB Code

Title: Google Presentation
BB Code Tag Name: gp
Replacement:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example:[gp]dcjktv94_1fcpptwqc[/gp]
Description: Embed a Google Presentation.
Use Option: No
Button Image: (optional)
Remove Tag If Empty: Yes
All Disable Options: Yes

------

In any of the above codes you can edit the height and width attributes to suit your needs.

------

Please mark as installed if you use this.

Check My Profile for other BB Code enhancements. They work on all versions.

Download the .txt file for a copy of the Install instructions.

Screenshots Attached:

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	ss_googlepresentation.png
Views:	172
Size:	17.9 KB
ID:	122134Click image for larger version

Name:	ss_googlespreadsheet.png
Views:	201
Size:	20.5 KB
ID:	122135Click image for larger version

Name:	ss_googledocs.png
Views:	144
Size:	28.2 KB
ID:	122136

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
BBCode - Embed Google Documents Collection (BB Code) BirdOPrey5 vBulletin 4.x Add-ons 62 17 Jun 2014 04:22
Jigzone.com BB Code - Embed Puzzles in your forums - (BBCode) BirdOPrey5 vBulletin 4.x Add-ons 27 09 Nov 2011 07:34
BB Code embed Videos from Google into posts. Vaupell vBulletin 3.8 Add-ons 2 31 Jan 2010 02:52

Comments
  #2  
Old 22 Oct 2010, 13:07
WoodiE WoodiE is offline
 
Join Date: May 2002
I have the spreadsheet set to publish to anyone with the link and I still can't show the spreadsheet on my site. The iframe displays:

We're sorry.

The publishing options given are not valid. Please check the options and try again.
Reply With Quote
  #3  
Old 22 Oct 2010, 14:20
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
For a Spreadsheet you click on "Share" on the top right of the Google Spreadsheet window, choose "Publish as Web Page" and follow instruction to publish.

The "key" is pretty long, such as: 0AmOHO6Cm8vvAdFR2b0dMMnVwMUE0MlpXYnowWnowWWc
Make sure you copy only up to the ampersand (&) if you copy too much you may get an error.

If this still doesn't work it might be a Google problem. I would copy and paste all the data into a new spreadsheet and try sharing that.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #4  
Old 21 May 2011, 20:20
cowcowcow cowcowcow is offline
 
Join Date: Jul 2009
works perfect ty
Reply With Quote
  #5  
Old 18 Jan 2012, 15:04
taylor_smith taylor_smith is offline
 
Join Date: Oct 2010
Has anyone tried this with vBulletin 3.7?
Reply With Quote
  #6  
Old 18 Jan 2012, 23:17
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
It will work fine in 3.7... all bbcodes work with all versions pretty much.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #7  
Old 19 Jan 2012, 01:27
taylor_smith taylor_smith is offline
 
Join Date: Oct 2010
Thank you.
Reply With Quote
  #8  
Old 22 May 2014, 22:40
whodah whodah is offline
 
Join Date: Feb 2004
Oops - just realized there is a separate thread for 4.x branch. Moved question there, post #59:
http://www.vbulletin.org/forum/showt...ogle+Documents

Last edited by whodah : 22 May 2014 at 22:47.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 02:19.

Layout Options | Width: Wide Color: