News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

YouTube BBC Tag

Started by Yakuza, July 18, 2006, 06:35:43 PM

Previous topic - Next topic

Yakuza

Link to Mod

This mod adds a bbc tag (with a nice button in post window too) to insert YouTube video in your posts, it's safe and doesn't need you to enable flash bbc on your board.

- Why it's safe to use this bbc?

- Simple: the user cannot enter his own flash file as content, the bbc needs only the video ID and will complete the url itself, entering any type of url will not work.

Syntax: [youtube=width,height]videoID[/youtube]

Example: [youtube=425,350]-sDyVAUb8xE[/youtube]

Demo: http://devel.mangaitalia.it/devsmf/index.php?topic=3.0

Languages supported: English - Italian
In all honesty, the past is the past and problems happen all the time. It's how we deal with it that's important. - Joseph Fung

English: Please don't ask for support on my mods in PM or MSN/ICQ, use the right board. Thank you.
Italiano: NON fornisco supporto tecnico via PM o MSN/ICQ, scrivete nel forum adatto e se posso aiutarvi rispondo con piacere.

desistyle

can u plz make one for smf 1.0.7

Yakuza

Quote from: desistyle on July 19, 2006, 01:08:04 AM
can u plz make one for smf 1.0.7

I don't use 1.0.7 and never used it, maybe if i can find the time to setup an 1.0.7 test board i'll make an 1.0.7 version. I'll pm you in this case.

Thanks for the interest anyway ;)
In all honesty, the past is the past and problems happen all the time. It's how we deal with it that's important. - Joseph Fung

English: Please don't ask for support on my mods in PM or MSN/ICQ, use the right board. Thank you.
Italiano: NON fornisco supporto tecnico via PM o MSN/ICQ, scrivete nel forum adatto e se posso aiutarvi rispondo con piacere.

slaytcafe.com



I installed..
Thanks, nice mod.  ;)

mark25

i can't install it! anyhelp there?

QuoteBrowse Packages
Modification Packages
   Mod Name    Version    
1.    SMF 1.0.7 / 1.1 RC2 Update    1.0    [ Uninstall ] [ List Files ] [ Delete ]
2.    Googlebot & Spiders Mod    1.0.5    [ Uninstall ] [ List Files ] [ Delete ]
3.    Users Online Today Mod    1.4.0 Beta 2    [ Uninstall ] [ List Files ] [ Delete ]
4.    Membergroup Color Legend    1.1    [ Uninstall ] [ List Files ] [ Delete ]
5.    Member Color Link    1.87    [ Uninstall ] [ List Files ] [ Delete ]
6.    Topic Ratings    1.03    [ Uninstall ] [ List Files ] [ Delete ]
7.    Custom Profile Field Mod    3.11    [ Uninstall ] [ List Files ] [ Delete ]
8.    Max Subject Length    1.1    [ Uninstall ] [ List Files ] [ Delete ]
9.    Sticky First Post (extends sticky topic)    1.2.2    [ Uninstall ] [ List Files ] [ Delete ]
10.    CAPTCHA (code verification)    0.1    [ Uninstall ] [ List Files ] [ Delete ]
11.    Streaming 3    4.2.1c    [ Uninstall ] [ List Files ] [ Delete ]
12.    Merge Double Posts    1.05    [ Uninstall ] [ List Files ] [ Delete ]
13.    Password Protect Boards    0.1    [ Uninstall ] [ List Files ] [ Delete ]
14.    YouTube BBCode by Yakuza    0.1    [ Apply Mod ] [ List Files ] [ Delete ]

QuoteInstall Actions
Installations actions for "YouTube BBCode by Yakuza":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Sources/Subs.php    Test failed
2.    Execute Modification    ./Themes/default/Post.template.php    Test successful
3.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
4.    Execute Modification    ./Themes/default/languages/Modifications.italian.php    Test successful
5.    Extract File    Themes/default/images/bbc/youtube.gif    

Yakuza

#5
Quote from: mark25 on July 19, 2006, 06:18:26 AM
i can't install it! anyhelp there?

QuoteBrowse Packages
Modification Packages
   Mod Name    Version    
1.    SMF 1.0.7 / 1.1 RC2 Update    1.0    [ Uninstall ] [ List Files ] [ Delete ]
2.    Googlebot & Spiders Mod    1.0.5    [ Uninstall ] [ List Files ] [ Delete ]
3.    Users Online Today Mod    1.4.0 Beta 2    [ Uninstall ] [ List Files ] [ Delete ]
4.    Membergroup Color Legend    1.1    [ Uninstall ] [ List Files ] [ Delete ]
5.    Member Color Link    1.87    [ Uninstall ] [ List Files ] [ Delete ]
6.    Topic Ratings    1.03    [ Uninstall ] [ List Files ] [ Delete ]
7.    Custom Profile Field Mod    3.11    [ Uninstall ] [ List Files ] [ Delete ]
8.    Max Subject Length    1.1    [ Uninstall ] [ List Files ] [ Delete ]
9.    Sticky First Post (extends sticky topic)    1.2.2    [ Uninstall ] [ List Files ] [ Delete ]
10.    CAPTCHA (code verification)    0.1    [ Uninstall ] [ List Files ] [ Delete ]
11.    Streaming 3    4.2.1c    [ Uninstall ] [ List Files ] [ Delete ]
12.    Merge Double Posts    1.05    [ Uninstall ] [ List Files ] [ Delete ]
13.    Password Protect Boards    0.1    [ Uninstall ] [ List Files ] [ Delete ]
14.    YouTube BBCode by Yakuza    0.1    [ Apply Mod ] [ List Files ] [ Delete ]

QuoteInstall Actions
Installations actions for "YouTube BBCode by Yakuza":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Sources/Subs.php    Test failed
2.    Execute Modification    ./Themes/default/Post.template.php    Test successful
3.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
4.    Execute Modification    ./Themes/default/languages/Modifications.italian.php    Test successful
5.    Extract File    Themes/default/images/bbc/youtube.gif    

You have probably an heavy modified subs.php, manual install the mod or attach your subs.php and i'll find out why the installar cannot find the right string of code.
In all honesty, the past is the past and problems happen all the time. It's how we deal with it that's important. - Joseph Fung

English: Please don't ask for support on my mods in PM or MSN/ICQ, use the right board. Thank you.
Italiano: NON fornisco supporto tecnico via PM o MSN/ICQ, scrivete nel forum adatto e se posso aiutarvi rispondo con piacere.

daragor

#6
thanks! great mod mate!
Webscom: Wordpress + SMF
Software Libre, Noticias y Entretenimiento.-

Yakuza

In all honesty, the past is the past and problems happen all the time. It's how we deal with it that's important. - Joseph Fung

English: Please don't ask for support on my mods in PM or MSN/ICQ, use the right board. Thank you.
Italiano: NON fornisco supporto tecnico via PM o MSN/ICQ, scrivete nel forum adatto e se posso aiutarvi rispondo con piacere.

qtime

#8
Excellent mod, great option to show these movies.

I like youtube, because a user can click a movie to start downloading, this will save bandwith for the user.

Vinspire

Awesome mod .... It came right at the moment i am looking for it ;)

Yakuza

Quote from: Vinspire on July 25, 2006, 09:21:10 AM
Awesome mod .... It came right at the moment i am looking for it ;)

Yeah YouTube it's becoming more and more popular everyday :)
In all honesty, the past is the past and problems happen all the time. It's how we deal with it that's important. - Joseph Fung

English: Please don't ask for support on my mods in PM or MSN/ICQ, use the right board. Thank you.
Italiano: NON fornisco supporto tecnico via PM o MSN/ICQ, scrivete nel forum adatto e se posso aiutarvi rispondo con piacere.

Papa

I also would love to have this working for 1.0.7. If you are willing to do this and compensation is needed please give me a PM.

denislici

Love the Creature for Creator's sake. (English)
Duje Krijesen per hire te Krijuesit. (Albanian)
Yaradılan'ı sev Yaradan'dan ötürü. (Turkish)
Ami la Creatura per ce la creato il Creatore. (Italian)

Yakuza

#13
Quote from: Papa on July 25, 2006, 11:47:45 AM
I also would love to have this working for 1.0.7. If you are willing to do this and compensation is needed please give me a PM.

You are the second asking for 1.0.7 version, if you really want it i can arrange to have it ready in few time but without the button in the posting screen. You'll have just the tag available on your board. Is this ok?
In all honesty, the past is the past and problems happen all the time. It's how we deal with it that's important. - Joseph Fung

English: Please don't ask for support on my mods in PM or MSN/ICQ, use the right board. Thank you.
Italiano: NON fornisco supporto tecnico via PM o MSN/ICQ, scrivete nel forum adatto e se posso aiutarvi rispondo con piacere.

Yakuza

Quote from: denislici on July 25, 2006, 12:45:35 PM


can u do it for video.google to ?

Was doing it, but another modder added google support to his mod, you can find it here: http://mods.simplemachines.org/index.php?mod=121
In all honesty, the past is the past and problems happen all the time. It's how we deal with it that's important. - Joseph Fung

English: Please don't ask for support on my mods in PM or MSN/ICQ, use the right board. Thank you.
Italiano: NON fornisco supporto tecnico via PM o MSN/ICQ, scrivete nel forum adatto e se posso aiutarvi rispondo con piacere.

Yakuza

Quote from: Papa on July 25, 2006, 11:47:45 AM
I also would love to have this working for 1.0.7. If you are willing to do this and compensation is needed please give me a PM.

Nevermind, i already did it, enjoy: http://mods.simplemachines.org/index.php?mod=390
In all honesty, the past is the past and problems happen all the time. It's how we deal with it that's important. - Joseph Fung

English: Please don't ask for support on my mods in PM or MSN/ICQ, use the right board. Thank you.
Italiano: NON fornisco supporto tecnico via PM o MSN/ICQ, scrivete nel forum adatto e se posso aiutarvi rispondo con piacere.

denislici


thanks... i did a search but couldnt find anything..
Love the Creature for Creator's sake. (English)
Duje Krijesen per hire te Krijuesit. (Albanian)
Yaradılan'ı sev Yaradan'dan ötürü. (Turkish)
Ami la Creatura per ce la creato il Creatore. (Italian)

Papa

#17
Quote from: Yakuza on July 25, 2006, 01:14:55 PM
Quote from: Papa on July 25, 2006, 11:47:45 AM
I also would love to have this working for 1.0.7. If you are willing to do this and compensation is needed please give me a PM.

Nevermind, i already did it, enjoy: http://mods.simplemachines.org/index.php?mod=390

wow thanks, will be installing it soon and testing it.

Working great.. Now only need to find someone to help me make a button. XD lol

Scubasteve

apparently i need to manual install it, but my theme doesnt have a Post.template.php (as indicated below). I'm using RC2 with TP 0.86 ENTERPRISE TP theme....


</operation>
</file>
<file name="$themedir/Post.template.php">
        <operation>
                <search position="before"><![CDATA[
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),
]]></search>
                        <add><![CDATA[
'youtube' => array('code' => 'youtube', 'before' => '[youtube=425,350]', 'after' => '[/youtube]', 'description' => $txt['youtube']),
If it aint broke, break it.

Joshsux

Bahh! can you please help me? i really don't have any idea how to install this, theres no installing notes that i can see nothing? can you please tell me, i'm using smf 1.07 or what ever, i'm also using the pitchblack theme. i also don't know how to install this other code mod which i have absalutly no idea why its needed as r1.1 doesnt?
If you can't hear it before you see it, then it ain't a harley

Advertisement: