News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Clipfish Video BBC Tag (XHTML Compliant)

Started by Mave, June 04, 2007, 12:19:07 AM

Previous topic - Next topic

Mave

Link to Mod

This mod allows a poster the option to embed a Clipfsh.de video in a post through the use of the [clipfish=425,350][/clipfish] BBC (bulletin board code) tags.  The code it uses is XHTML compliant, this keeping with the forum's XHTML validity.

Its use is easy: simply plug the video Number or the complete html adress between the [clipfish][/clipfish] tags.

Language Integration

To make the mod work with your language, simply open Modifications.*.php, where * is the language you wish to integrate the mod into, and add $txt['clipfish'] = 'Clipfish'; to its own line in the file.

thx goes to Marlon and Gant there coded the Youtube Buttons. I use his code and modified.

Version 1.2 its now XHTML Compliant
Version 1.3 fix relative path and remove gif by uninstall

Apllicmz

Nice work
when update
dont forget Portuguese files

<file name="$themedir/languages/Modifications.portuguese_pt.php" error="skip">
                <operation>
                        <search position="end"></search>
                        <add><![CDATA[
$txt['clipfish'] = 'Clipe de  Peixe';
]]></add>
                </operation>
        </file>
        <file name="$themedir/languages/Modifications.portuguese_pt-utf8.php" error="skip">
                <operation>
                        <search position="end"></search>
                        <add><![CDATA[
$txt['clipfish'] = 'Clipe de  Peixe';
]]></add>
                </operation>
        </file>
        <file name="$themedir/languages/Modifications.portuguese_brazilian.php" error="skip">
                <operation>
                        <search position="end"></search>
                        <add><![CDATA[
$txt['clipfish'] = 'Clipe de  Peixe';
]]></add>
                </operation>
        </file>
        <file name="$themedir/languages/Modifications.portuguese_brazilian-utf8.php" error="skip">
                <operation>
                        <search position="end"></search>
                        <add><![CDATA[
$txt['clipfish'] = 'Clipe de  Peixe';
]]></add>
                </operation>
        </file>




Advertisement: