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
Code:
<if condition="$stage == 'display'">
<table class="tborder" cellpadding="4" cellspacing="0" border="0" width="100%">
<thead>
<tr>
<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>
Video
</div>
</td>
</tr>
</thead>
<tbody style="$vbcollapse[collapseobj_gar]" id="collapseobj_gar_$itemid">
<tr>
<td class="alt1">
$customvalue
</td>
</tr>
</tbody>
</table>
<else />
<fieldset class="fieldset">
<legend>$custom_title</legend>
<div style="padding:$stylevar[formspacer]px">
$custom_description<br />
<textarea name="$custom_name" id="$custom_name" style="height:75px;width:364px;">$customvalue</textarea>
</div>
</fieldset>
</if>
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...e-deep-purple/