Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
[BB Code] Google video Details »»
[BB Code] Google video
Version: 1.00, by Stifmeister2 Stifmeister2 is offline
Developer Last Online: Jun 2011 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 07-03-2006 Last Update: 08-08-2006 Installs: 25
 
No support by the author.

This is a simple BB code which allows you to display Google videos.

Installation:

Go to 'Custom BB Codes' -> 'Add New BB Code'

Title: Google Video
Tag: gv
Replacement:
Code:
<embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId={param}" allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL"  FlashVars="playerMode=embedded"> </embed>
Example: [gv]8719729790252878017[/gv]
Description: Allows you to display Google videos. Simply add the video ID inside the tag.
Use {option}: No

OPTIONAL STEP
Button Image (Optional): [enter the url to the attached pic you uploaded]

And "Save".


This was not my idea, I just noticed a recently posted hack which didn't work so I thought I'd make one that actually works. (At least worked for me, tested with three different videos.)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-16-2006, 12:17 PM
Benedict Benedict is offline
 
Join Date: Jan 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This rocks thanks
Reply With Quote
  #13  
Old 07-26-2006, 05:43 AM
chkdgate's Avatar
chkdgate chkdgate is offline
 
Join Date: Jun 2006
Location: US
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, very simple.

**clicks install**

Quote:
Originally Posted by xtremeteam
how do you get the video ID?
EDIT n/m got it lol
view page source at the bottom>
var TAG_DISPLAY_URI = "/tags";
var did = "-2992183880068262304";
Where do you look for this?
Reply With Quote
  #14  
Old 07-26-2006, 08:23 AM
BiReL41r BiReL41r is offline
 
Join Date: Nov 2005
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would you make it so that the gv shows up in the default BB Code line on the thread editor?
Reply With Quote
  #15  
Old 07-26-2006, 04:11 PM
chkdgate's Avatar
chkdgate chkdgate is offline
 
Join Date: Jun 2006
Location: US
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm just getting black screens.
Reply With Quote
  #16  
Old 08-07-2006, 03:07 PM
Stifmeister2 Stifmeister2 is offline
 
Join Date: Feb 2006
Location: Finland
Posts: 755
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BiReL41r
How would you make it so that the gv shows up in the default BB Code line on the thread editor?
First of all, sorry for my absence as I was on a vacation and forgot about this thread.


Anyway, you have to upload the attached image to your server first.
Then go to AdminCP and Custom BB Codes --> BB Code Manager.

Then edit the "Google Video" BBcode and add the right path to the image you just uploaded for the "Button Image (Optional)" field.
Reply With Quote
  #17  
Old 08-07-2006, 03:20 PM
Stifmeister2 Stifmeister2 is offline
 
Join Date: Feb 2006
Location: Finland
Posts: 755
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chkdgate
I'm just getting black screens.
Then I guess you've added the wrong "code".


Here's a little example how you should add the "code":

Example #1
Link to Google video: http://video.google.com/videoplay?do...73580166301634

Just copy that big number code and add it between the [gv] tag like this:
[gv]566073580166301634[/gv]


Example #2
Link to Google video: http://video.google.com/videoplay?do...05241957167536

You have to notice the little "-" mark before the numbers in this video. There are sometimes that little "-" in some videos. You have to include that too. I made same mistakes before too with that and got black screens.

Copy that big number code (and remember to include that little "-" in front of the numbers) and add it between the [gv] tag like this:
[gv]-1457005241957167536[/gv]
Reply With Quote
  #18  
Old 08-08-2006, 04:48 PM
chkdgate's Avatar
chkdgate chkdgate is offline
 
Join Date: Jun 2006
Location: US
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It worked Stifmeister2! Awesome!
Reply With Quote
  #19  
Old 08-08-2006, 05:04 PM
Renmiri Renmiri is offline
 
Join Date: Jul 2006
Location: Chicago, USA
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oooo this one is more secure than my BB code for flash!!!

Loved it, thanks!
Reply With Quote
  #20  
Old 08-09-2006, 02:18 PM
Stifmeister2 Stifmeister2 is offline
 
Join Date: Feb 2006
Location: Finland
Posts: 755
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chkdgate
It worked Stifmeister2! Awesome!
Yeah you just have to be careful with those "-".
Reply With Quote
  #21  
Old 06-03-2007, 06:40 PM
vitrag24's Avatar
vitrag24 vitrag24 is offline
 
Join Date: Nov 2006
Location: India
Posts: 639
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have installed for youtube
can i add for google in same?
how?
guide step by step plz
Reply With Quote
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05130 seconds
  • Memory Usage 2,299KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete