View Full Version : Gars Youtube Block

Lizard King
04-03-2008, 08:41 AM
I had a need for a video block for gars. Yesterday i had some free time and i worked on it. You need to have the following hack installed : http://www.vbulletin.org/forum/showthread.php?t=130868 I didn't test with other multimedia hacks since i donot use any other. It also works with 3.7

Installation :

Add a template named GARS_youtube
<if condition="$stage == 'display'">
<table class="tborder" cellpadding="4" cellspacing="0" border="0" width="100%">
<td class="tcat">
<div style="white-space: nowrap;"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('gar_$itemid')"><img src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_gar].gif" alt="" border="0" /></a>
<tbody style="$vbcollapse[collapseobj_gar]" id="collapseobj_gar_$itemid">
<td class="alt1">
<else />
<fieldset class="fieldset">
<div style="padding:$stylevar[formspacer]px">
$custom_description<br />
<textarea name="$custom_name" id="$custom_name" style="height:75px;width:364px;">$customvalue</textarea>

Add 2 phrases
GARS_youtube - video
GARS_youtube_for_x - {1} Video

Unzip the attached file and upload them to geek/gars/mods folder

Then go to your Admincp and register new gars module.

Demo : http://depkac.com/sarki-incelemeleri/17115-soldier-of-fortune-deep-purple/

04-07-2008, 05:57 PM
Thanks for the contribution. :)

06-07-2009, 02:39 PM
Hi Lizard King
This Modul works really great, but i have a small question.

How can i move the inputarea for the videos under my Custom Fields?
The inputarea for the videos are now under the Titel inputarea.


Greetz Markus