News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

YouTube BBC Tag (XHTML Compliant)

Started by Daniel Marquard, January 03, 2007, 09:18:19 AM

Previous topic - Next topic

Daniel Marquard

Quote from: eu_soleil on July 13, 2007, 03:55:52 PM
hi, mm, when it would be ready for the smf 1-1-3 version...

great mod, greetz for the developer(s)



Works just fine with all versions of SMF 1.1*.

Farmacija

Marlon
Quote from: Farmacija on July 09, 2007, 08:03:51 AM
Quote from: Marlon on July 07, 2007, 04:05:45 PM
Quote from: Farmacija on July 06, 2007, 10:58:38 AM
i've got some errors in error log caused by this mod

and i in post.croatian.php file don't have 790 lines?

You have not added the mod's 'YouTube' text variable to Post.croatian.php.  My mod is working as intended for you, it's just that you never modified it to your language.
which  'YouTube' text variable  i should add?
www.farmaceuti.com
www.farmaceuti.com/tekstovi

Daniel Marquard

Quote from: Farmacija on July 09, 2007, 08:03:51 AM
which  'YouTube' text variable  i should add?

It should be $['txt']YouTube = 'YouTube';

Farmacija

incorrect!
shoul be $txt[youtube]='youtube' !
www.farmaceuti.com
www.farmaceuti.com/tekstovi

Darren996

Hi,

I installed the mod everything went fine.  Nothing worked however.  I had to manually change everything, then it worked fine.

I have installed other mods with pacman no problem.

Thanks,
Darren

HansCheska

At first it didn't work for me or I shall say it does not auomatically add the $txt
', 'description' => $txt['youtube']),
]]></add>
                </operation>
        </file>
        <file name="$themedir/languages/Modifications.english.php">
                <operation>
                        <search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[

//YouTube BBCode
$txt['youtube'] = 'YouTube';
]]></add>
                </operation>
        </file>
</modification>
[/code]

desimatrix

Quote from: HansCheska on July 22, 2007, 01:54:39 PM
At first it didn't work for me or I shall say it does not auomatically add the $txt
', 'description' => $txt['youtube']),
]]></add>
                </operation>
        </file>
        <file name="$themedir/languages/Modifications.english.php">
                <operation>
                        <search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[

//YouTube BBCode
$txt['youtube'] = 'YouTube';
]]></add>
                </operation>
        </file>
</modification>
[/code]

what to do with this code.. where does it go..?
Hang Out Point -- Everything from Everywhere!! www.HangOutPoint.com [nofollow]

GameMania : One Site -- Countless Games!!  www.gamemania.co.nr [nofollow]

Project under construction : www.vrStupid.com [nofollow]

Get affliciated PM me for detail.

VegasBoxers

Nice mod!&nbsp; My site and theme is heavily customized, so the installer didn't do didley for me.&nbsp; But I manually moded the 3 files and put the youtube.gif file in the correct place, and it works great!

I always hated the idea of asking visitors to leave my site to view a video.&nbsp; Nice Mod!&nbsp; I love it!

VB

Farmacija

new error from error log
Quote8: Use of undefined constant YouTube - assumed 'YouTube'
Datoteka: /home/farmaceu/public_html/forum/Themes/default/languages/PersonalMessage.croatian.php (eval?)
Linija: 3
Quote8: Undefined index: youtube
Datoteka: /home/farmaceu/public_html/forum/Themes/default/Post.template.php (eval?)
Linija: 790
www.farmaceuti.com
www.farmaceuti.com/tekstovi

Haguen

#389
I installed correctly but it doesn't work. Because?
it is just the place where should appear the video, but doesn't appear

Kindred

You need to provide a little more detail...

you installed correctly:
How do you know that you installed correctly?

it doesn't work:
HOW does it not work? Does it not show the youtube button on the post form?   Does it show the button, but nothing happens when you click it? Does it load the code, but no video is displayed?

Are you running this on the SMF default theme? If not, did you bother to read any of the previous pages of this thread (or any other mod thread) that indicate that you will have to manually install portions of this (or nearly any other mod) if you are not using the default theme?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Haguen

#391
I use the theme default and the standard language&nbsp; &nbsp;
&nbsp; &nbsp;
It happens like this: the option in the post appears normal and the tags also but the video doesn't appear, it is just his space in the post.

version 1.1.3

Kindred

and what are you posting between the youtube tags?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Haguen


kolt

Hello I, install the cartele youtube inside my host include all "package-info" "yt_bbcxhtml_1.0" e "youtube.gif" inside of   /themes/default

after i remove "youtube.gif" and I put it in  /Themes

after I modify the code in post.template.php

but does't work, I don't see nothing

Any one can help me please.

Kindred

Quote from: Haguen on July 30, 2007, 05:05:40 PM
like this:
[youtube=425,350]http://www.youtube.com/watch?v=A1c1G24GWDg[/youtube]

and *THAT* is your problem.
it needs to be:
[youtube=425,350]htA1c1G24GWDg[/youtube]
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

kolt


Daniel Marquard

Quote from: kolt on July 30, 2007, 05:39:10 PM
Hello I, install the cartele youtube inside my host include all "package-info" "yt_bbcxhtml_1.0" e "youtube.gif" inside of   /themes/default

after i remove "youtube.gif" and I put it in  /Themes

after I modify the code in post.template.php

but does't work, I don't see nothing

Any one can help me please.

Check the page's source code.  It just may be a problem on your end.

Haguen

Quote from: Kindred on July 30, 2007, 05:50:30 PM
Quote from: Haguen on July 30, 2007, 05:05:40 PM
like this:
[youtube=425,350]http://www.youtube.com/watch?v=A1c1G24GWDg [nofollow][/youtube]

and *THAT* is your problem.
it needs to be:
[youtube=425,350]htA1c1G24GWDg[/youtube]
thanks

cru

this worked great on my 1.1.3! thanks!

Advertisement: