vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - G4TV BBCode (https://vborg.vbsupport.ru/showthread.php?t=284410)

Gemma 06-13-2012 10:00 PM

G4TV BBCode
 
1 Attachment(s)
Someone asked for this, I'd never heard of G4TV before but maybe it will be of use to some folks :)


Add a new bbcode (AdminCP > Custom BB Codes > Add New BB Code)

Title: G4TV BBCode
BB Code Tag Name: g4tv
Replacement:
Code:

   
<object classId="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="480" height="418" id="VideoPlayer"><param name="movie" value="http://g4tv.com/lv3/{param}" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><embed src="http://g4tv.com/lv3/{param}" type="application/x-shockwave-flash" name="VideoPlayer" width="480" height="418" allowScriptAccess="always" allowFullScreen="true" /></object>

Description: Embed videos from G4TV.com into posts
Example: [g4tv]59269[/g4tv]
User Option: No
Button Image (Optional): path-to-your-styles/editor/g4tv.png

Example: http://www.g4tv.com/videos/59269/gra...eplay-trailer/

To use the G4TV tag you need the video ID # - in this case it is 59269.

ProFifaLeagues 06-14-2012 01:21 PM

Just taken a quick look at G4TV Never seen it before,Could be very handy thank you Gemma

Preech 06-14-2012 01:47 PM

They have their own television network, one of my mods asked me about it. Thank you Gemma for such a quick response.

Preech 06-14-2012 03:54 PM

I don't know why, but I only get the video of the one from the Replacement code.

Gemma 06-14-2012 04:02 PM

Quote:

Originally Posted by Preech (Post 2339557)
I don't know why, but I only get the video of the one from the Replacement code.

Can you try again, sorry I thought I had changed the code but the site kept timing out so possibly the edit didn't save.

Preech 06-14-2012 04:06 PM

Good to go. Something that I did.


All times are GMT. The time now is 09:10 AM.

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.01126 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete