The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Add-ons (http://www.thevbgeek.com/forumdisplay.php?f=16)
-   -   Gars Youtube Block (http://www.thevbgeek.com/showthread.php?t=4128)

Lizard King 04-03-2008 07:41 AM

Gars Youtube Block
 
1 Attachment(s)
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/

Morgan 04-07-2008 04:57 PM

Thanks for the contribution. :)

Markus79 06-07-2009 01:39 PM

1 Attachment(s)
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.

Attachment 1084


Greetz Markus


All times are GMT. The time now is 08:25 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.

Release powered by GARS 2.1.9 ©2005-2006