Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Yakuza on July 18, 2006, 06:35:43 PM

Title: YouTube BBC Tag
Post by: Yakuza on July 18, 2006, 06:35:43 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=390)

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
Title: Re: YouTube BBC Tag
Post by: desistyle on July 19, 2006, 01:08:04 AM
can u plz make one for smf 1.0.7
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 19, 2006, 04:01:09 AM
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 ;)
Title: Re: YouTube BBC Tag
Post by: slaytcafe.com on July 19, 2006, 04:36:14 AM


I installed..
Thanks, nice mod.  ;)
Title: Re: YouTube BBC Tag
Post by: 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    
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 19, 2006, 06:25:14 AM
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.
Title: Re: YouTube BBC Tag
Post by: daragor on July 19, 2006, 10:10:43 AM
thanks! great mod mate!
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 19, 2006, 10:12:15 AM
Quote from: daragor on July 19, 2006, 10:10:43 AM
thanks! great mod mate!

Happy you like it :)
Title: Re: YouTube BBC Tag
Post by: qtime on July 19, 2006, 11:36:16 AM
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.
Title: Re: YouTube BBC Tag
Post by: Vinspire on July 25, 2006, 09:21:10 AM
Awesome mod .... It came right at the moment i am looking for it ;)
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 25, 2006, 09:29:34 AM
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 :)
Title: Re: YouTube BBC Tag
Post by: 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.
Title: Re: YouTube BBC Tag
Post by: denislici on July 25, 2006, 12:45:35 PM


can u do it for video.google to ?
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 25, 2006, 12:46:24 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.

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?
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 25, 2006, 12:47:44 PM
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
Title: Re: YouTube BBC Tag
Post by: 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
Title: Re: YouTube BBC Tag
Post by: denislici on July 25, 2006, 01:20:40 PM

thanks... i did a search but couldnt find anything..
Title: Re: YouTube BBC Tag
Post by: Papa on July 25, 2006, 01:31:10 PM
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
Title: Re: YouTube BBC Tag
Post by: Scubasteve on July 25, 2006, 07:19:10 PM
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']),
Title: Re: YouTube BBC Tag
Post by: Joshsux on July 25, 2006, 11:48:03 PM
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?
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 26, 2006, 01:40:53 AM
Quote from: Scubasteve on July 25, 2006, 07:19:10 PM
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 your theme doesn't have it, then edit the default theme one :)

P.S. have in mid that usually mods are tested and created only with default theme, so id you have another theme there are indeed needed mods.
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 26, 2006, 01:43:07 AM
Quote from: Joshsux on July 25, 2006, 11:48:03 PM
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?

There are no install notes because packages can be installed in the packages section of your admin panel.
Faster parsecode is needed in 1.0.7 because it really speeds the parsing and it simplifies the creation of custom bbcode, in 1.1 it's not needed because it's already in.
Title: Re: YouTube BBC Tag
Post by: Scubasteve on July 26, 2006, 10:36:23 PM
Sweet simply using the post.template from the default theme did the trick. I didnt even need to move it into the current theme directory.

Thanks again, awsome mod!!
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 27, 2006, 03:22:06 AM
Quote from: Scubasteve on July 26, 2006, 10:36:23 PM
Sweet simply using the post.template from the default theme did the trick. I didnt even need to move it into the current theme directory.

Thanks again, awsome mod!!

Thanks :)

P.S. when a theme doesn't have a specific template, it uses the one from default ;)
Title: Re: YouTube BBC Tag
Post by: nmsmooth on July 27, 2006, 03:37:12 AM
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    

-----------------------------------

I too have this problem.

Running 1.1 RC2 and several mods.

Mod Name Version 
1. Googlebot & Spiders Mod 1.0.5   [ Uninstall ] [ List Files ] [ Delete ] 
2. MessagePreview 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
3. User Email System 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
4. Streaming 3 4.2.1c   [ Uninstall ] [ List Files ] [ Delete ] 
5. Location Mod - Additional Maps 1.2   [ Uninstall ] [ List Files ] [ Delete ] 
6. Location Mod - Who Flags 1.2   [ Uninstall ] [ List Files ] [ Delete ] 
7. Registered Links 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
8. SMF Arcade 1.2.4b   [ Uninstall ] [ List Files ] [ Delete ] 
9. EmailFlash 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
10. Simple ImageShack 1.2.1   [ Uninstall ] [ List Files ] [ Delete ] 
11. RSS Feed Icon 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
12. Google Talk Field 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
13. New Topic Button 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
14. Integrated Chat 2.6   [ Uninstall ] [ List Files ] [ Delete ] 
15. Location Mod 1.2   [ Uninstall ] [ List Files ] [ Delete ] 
16. SMF Shoutbox 1.04   [ Uninstall ] [ List Files ] [ Delete ] 
17. PM On Registration 1.0.1   [ Uninstall ] [ List Files ] [ Delete ] 
18. SMF 1.0.7 / 1.1 RC2 Update 1.0   [ Uninstall ] [ List Files ] [ Delete ] 

Avatar Packages
Mod Name Version 
1. White Magic Symbols 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
2. 2DTV 100px 1.0.100   [ List Files ] [ Delete ] 
3. Electric Guitar Avatars 1.0   [ List Files ] [ Delete ] 
4. Tribal Designs 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
5. Habbo Head avatars 1.0   [ List Files ] [ Delete ] 

----------------------------------

Could you help me please?

Thanks.
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 27, 2006, 04:24:42 AM
Quote from: nmsmooth on July 27, 2006, 03:37:12 AM
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    

-----------------------------------

I too have this problem.

Running 1.1 RC2 and several mods.

Mod Name Version 
1. Googlebot & Spiders Mod 1.0.5   [ Uninstall ] [ List Files ] [ Delete ] 
2. MessagePreview 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
3. User Email System 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
4. Streaming 3 4.2.1c   [ Uninstall ] [ List Files ] [ Delete ] 
5. Location Mod - Additional Maps 1.2   [ Uninstall ] [ List Files ] [ Delete ] 
6. Location Mod - Who Flags 1.2   [ Uninstall ] [ List Files ] [ Delete ] 
7. Registered Links 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
8. SMF Arcade 1.2.4b   [ Uninstall ] [ List Files ] [ Delete ] 
9. EmailFlash 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
10. Simple ImageShack 1.2.1   [ Uninstall ] [ List Files ] [ Delete ] 
11. RSS Feed Icon 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
12. Google Talk Field 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
13. New Topic Button 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
14. Integrated Chat 2.6   [ Uninstall ] [ List Files ] [ Delete ] 
15. Location Mod 1.2   [ Uninstall ] [ List Files ] [ Delete ] 
16. SMF Shoutbox 1.04   [ Uninstall ] [ List Files ] [ Delete ] 
17. PM On Registration 1.0.1   [ Uninstall ] [ List Files ] [ Delete ] 
18. SMF 1.0.7 / 1.1 RC2 Update 1.0   [ Uninstall ] [ List Files ] [ Delete ] 

Avatar Packages
Mod Name Version 
1. White Magic Symbols 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
2. 2DTV 100px 1.0.100   [ List Files ] [ Delete ] 
3. Electric Guitar Avatars 1.0   [ List Files ] [ Delete ] 
4. Tribal Designs 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
5. Habbo Head avatars 1.0   [ List Files ] [ Delete ] 

----------------------------------

Could you help me please?

Thanks.

Whit all those mods it's not strange you have that error, subs.php is heavy modified for sure, anyway if you attach your subs.php here i can see if i can find a way to make an "heavy modified subs.php" version should be made.

If you can't wait then install it manually.
Title: Re: YouTube BBC Tag
Post by: nmsmooth on July 27, 2006, 04:43:48 AM
Thank you.

Here is the subs.php file.

I haven't got the option to attatch yet as  I think I am too low a member on here.

I have a link to my subs.php file on my Filefront hosting here instead: http://files.filefront.com/Subsphp/;5312256;;/fileinfo.html (http://files.filefront.com/Subsphp/;5312256;;/fileinfo.html)

Only way I could make it available for download. Hope that's ok.

Thanks. :)
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 27, 2006, 05:19:14 AM
Quote from: nmsmooth on July 27, 2006, 04:43:48 AM
Thank you.

Here is the subs.php file.

I haven't got the option to attatch yet as  I think I am too low a member on here.

I have a link to my subs.php file on my Filefront hosting here instead: http://files.filefront.com/Subsphp/;5312256;;/fileinfo.html (http://files.filefront.com/Subsphp/;5312256;;/fileinfo.html)

Only way I could make it available for download. Hope that's ok.

Thanks. :)

Thanks, it was a lot helpful, i noticed that another mod modifies a line that the package searches to modify Subs.php . I now released a new version of the package to avoid this problem, it should now install successfully on any board that gave Subs.php error with 0.1 version :)

Download it on the mod page: http://mods.simplemachines.org/index.php?mod=390
Title: Re: YouTube BBC Tag
Post by: nmsmooth on July 27, 2006, 06:24:44 AM
Excellent thanks for doing that, works fine now. :)
Title: Re: YouTube BBC Tag
Post by: Joshsux on July 27, 2006, 10:13:34 PM
Quote from: denislici on July 25, 2006, 12:45:35 PM


can u do it for video.google to ?

Still reckon it should be able for this mod too, hehe... by the way mate it says its installed and all of that no errors, i havent got any mods installed yet nothing but when i go into post a message i dont see the youtube button on 1.1rc2 i also cant find the admin panel thing for it, help? ty

update: just tested the [youtube=425,350]-sDyVAUb8xE[/youtube] thing, and it works fine, so all thats happening is the gif isn't showing up.
Title: Re: YouTube BBC Tag
Post by: Joshsux on July 28, 2006, 01:13:53 AM
I know it might seem inpatient, but does anybody know how i can fix it? the whole mod is working but i don't see the little button when i go to post, so nobody will know the code and that? thanks in advance.
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 28, 2006, 01:41:00 AM
Quote from: Joshsux on July 28, 2006, 01:13:53 AM
I know it might seem inpatient, but does anybody know how i can fix it? the whole mod is working but i don't see the little button when i go to post, so nobody will know the code and that? thanks in advance.

You are probably using a theme that has it's custom post.template.php, so you have to manually edit this template and add the required lines. If this is not the case, but you are anyway not using the default theme, you should copy the youtube.gif in the images/bbc dir of your currente theme.

P.S. GoogleVideo mod it's waiting to be approved.
Title: Re: YouTube BBC Tag
Post by: Joshsux on July 28, 2006, 02:43:05 AM
yeah i think it has its own template.php thing mate, what are the requested lines? oh by the way i really do like the mod 10/10 but right now because i dont see no button 9.9/10!
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 28, 2006, 02:59:25 AM
Quote from: Joshsux on July 28, 2006, 02:43:05 AM
yeah i think it has its own template.php thing mate, what are the requested lines? oh by the way i really do like the mod 10/10 but right now because i dont see no button 9.9/10!

Have in mind mods are developed for the default theme, it's not guaranteed that any addon will work with other themes, and yes it's not a mod flaw if you cannot see the button.
The required lines for the default theme are in the package, open the xml and watch for them, anyway it's not guaranteed that them are ok for your theme.
Title: Re: YouTube BBC Tag
Post by: Joshsux on July 28, 2006, 03:23:26 AM
please explain dude, i have no idea about SMF really? look for what? i know you say for me to keep in mind that  mods are made for the default theme but asif anybody ever actually uses the default theme, its so plain. people should make a little tut with there mod on what scripts to put where to work on other themes, i've seen some people do it. but i may as well remove it as i cannot look for code i have no idea about.
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 28, 2006, 03:39:30 AM
Quote from: Joshsux on July 28, 2006, 03:23:26 AM
please explain dude, i have no idea about SMF really? look for what? i know you say for me to keep in mind that  mods are made for the default theme but asif anybody ever actually uses the default theme, its so plain. people should make a little tut with there mod on what scripts to put where to work on other themes, i've seen some people do it. but i may as well remove it as i cannot look for code i have no idea about.

This the line you have to search in post.template.php
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),

And this is what you have to add after that line:
'youtube' => array('code' => 'youtube', 'before' => '[youtube=425,350]', 'after' => '[/youtube]', 'description' => $txt['youtube']),

This is the line you have to add to your languages/Modifications.english.php
$txt['youtube'] = 'YouTube';

I can't really do more for you, we cannot make the mods compatible with every custom theme in the world, and it's unbelievable you ask the modders to do something to make them compatible.
If you are not able to customize your forum then try to ask for some free/paid help in this board: http://www.simplemachines.org/community/index.php?board=50.0
Title: Re: YouTube BBC Tag
Post by: Joshsux on July 28, 2006, 03:51:32 AM
thanks mate and please dont get a grudge or something againsed me i'm just used to the mods that are out having some info on how to get them to work on other themes, again thank you!

also quickly i dont have a languages folder and that file, so ill try the first 2 things

Edit: thank you mate, its worked like a charm! now your mod is a 10/10 for me.

by the way quickly, what do you mean by your googlevideo mod is being verified? you testing it?
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 28, 2006, 04:00:06 AM
Quote from: Joshsux on July 28, 2006, 03:51:32 AM
by the way quickly, what do you mean by your googlevideo mod is being verified? you testing it?

Mod Team must approve it before you can download it:

http://mods.simplemachines.org/index.php?mod=401

You can see a fully functional demo on my test board:

http://devel.mangaitalia.it/devsmf/index.php?topic=5.0
Title: Re: YouTube BBC Tag
Post by: Joshsux on July 28, 2006, 04:12:12 AM
BLOODY NICE MATE! again though will the code be exacly the same for the google video one to put on my theme? i just need to put it straight after the youtube one?

BTW how long it take? i cannot wait these are the best mods on smf in my opinion it took bloody ages to put clips on the forum before now it's so easy!

gotta love ya work bro
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 28, 2006, 04:27:45 AM
Quote from: Joshsux on July 28, 2006, 04:12:12 AM
BLOODY NICE MATE! again though will the code be exacly the same for the google video one to put on my theme? i just need to put it straight after the youtube one?

BTW how long it take? i cannot wait these are the best mods on smf in my opinion it took bloody ages to put clips on the forum before now it's so easy!

gotta love ya work bro

Usually you must wait 2/3 days, you'll have to add similar lines to your theme files. Anyway all the lines you need are in the .xml file.
Title: Re: YouTube BBC Tag
Post by: 1948Pal on July 28, 2006, 12:07:16 PM
WOW, youtube was going to be the next addition to my streaming 3 mod (http://mods.simplemachines.org/index.php?mod=121), which already have google video, wma, quicktime and real media streeaming, but now I don't have to do it.
Title: Re: YouTube BBC Tag
Post by: vancraft on July 29, 2006, 02:24:50 AM
I use 1.1R2, but the Youtube BBC only works when I have flash enabled.
Otherwise it merely shows a text link to the movie file.

When I re-enable flash, the youtube movie re-appears where the text link was.

The motivation for this was to allow youtube movies without enabling flash.

It doesn't really accomplish that, does it?
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 29, 2006, 04:19:39 AM
Quote from: vancraft on July 29, 2006, 02:24:50 AM
I use 1.1R2, but the Youtube BBC only works when I have flash enabled.
Otherwise it merely shows a text link to the movie file.

When I re-enable flash, the youtube movie re-appears where the text link was.

The motivation for this was to allow youtube movies without enabling flash.

It doesn't really accomplish that, does it?

There's something wrong with your board, if you look at my test board: http://devel.mangaitalia.it/devsmf/index.php
I don't have flash enabled at all and so others that installed it.
Title: Re: YouTube BBC Tag
Post by: Norbert on July 31, 2006, 06:09:13 AM
Fine Mod. Thx.
Title: Re: YouTube BBC Tag
Post by: GN/Henny on July 31, 2006, 10:47:56 AM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.imperiumcapitalis.com%2Fotherimages%2Ferror.PNG&hash=7bbc82a7b89059de85f0c0fa1f31110d0548d2b8)

it's not working at my forum, and the googlevideo either, when I try to put the bcc
I only can see the code
Title: Re: YouTube BBC Tag
Post by: Yakuza on July 31, 2006, 11:12:16 AM
Quote from: GN/Henny on July 31, 2006, 10:47:56 AM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.imperiumcapitalis.com%2Fotherimages%2Ferror.PNG&hash=7bbc82a7b89059de85f0c0fa1f31110d0548d2b8)

it's not working at my forum, and the googlevideo either, when I try to put the bcc
I only can see the code

Have you noticed there is a 0.2 version? try it ant tell me if it works.
Title: Re: YouTube BBC Tag
Post by: GN/Henny on July 31, 2006, 01:16:13 PM
no, it doesn't work, I have this one; FasterParsecode1-10_SMF1-0-6.zip (7KB)
is that ok?
Title: Re: YouTube BBC Tag
Post by: GN/Henny on July 31, 2006, 01:32:25 PM
Allow guests to browse the forum 
Enable user-selectable language support 
Allow users to edit their displayed name? 
Allow non-administrators to hide their online status? 
Allow users to hide their email from everyone except admins? 
Do not reveal contact details of members to guests 
Enable custom titles 
Default personal text 
Maximum allowed characters in signatures
(0 for no max.) 
Remove nested quotes when posting 
Embed flash into posts
(may be a security risk!) 
Enable basic HTML in posts 
Disabled BBC Code (comma separated) 
Enable bulletin board code (BBC) 
Maximum allowed characters in posts
(0 for no max.) 
Warn members of new replies made while posting? 


Package Manager - Browse Packages
Modification Packages
   Mod Name Version   
1. Simple ImageShack 1.0.4  [ List Files ] [ Delete ] 
2. SMF 1.0.6 Update 1.0  [ List Files ] [ Delete ] 
3. GoogleVideo BBCode by Yakuza 0.1   [ Uninstall ] [ List Files ] [ Delete ] 
4. YouTube BBCode by Yakuza 0.2   [ List Files ] [ Delete ] 
5. SMF 1.0.7 / 1.1 RC2 Update 1.0  [ List Files ] [ Delete ] 
6. YouTube BBCode by Yakuza 0.1   [ Uninstall ] [ List Files ] [ Delete ] 
7. Faster Parsecode 1.10   [ Uninstall ] [ List Files ] [ Delete ] 

Title: Re: YouTube BBC Tag
Post by: Gargoyle on July 31, 2006, 07:44:05 PM
Installed on RC-2 and works great!! Thanks!!!
Title: Re: YouTube BBC Tag
Post by: Yakuza on August 01, 2006, 05:54:20 AM
Quote from: GN/Henny on July 31, 2006, 01:16:13 PM
no, it doesn't work, I have this one; FasterParsecode1-10_SMF1-0-6.zip (7KB)
is that ok?

The 1.0.7 it's not fully tested with older versions, you have 1.0.6 i cannot guaranteee it works, and also fort the future i'll support only 1.1
Title: Re: YouTube BBC Tag
Post by: GN/Henny on August 01, 2006, 05:58:50 AM
If you want i can give you my accountdates, so you can see if I have done everything allright
Title: Re: YouTube BBC Tag
Post by: Yakuza on August 01, 2006, 11:09:01 AM
Quote from: GN/Henny on August 01, 2006, 05:58:50 AM
If you want i can give you my accountdates, so you can see if I have done everything allright

The problem is that you have smf 1.0.6 and i partially support only 1.0.7, also i really did 1.0.7 version a sa bonus, i can work only on latest version available bcause honestly i don't have the time to test on all versions.
Title: Re: YouTube BBC Tag
Post by: GN/Henny on August 01, 2006, 12:48:32 PM
no I have 1.0.7 \i jused a picture of another person ;)
Title: Re: YouTube BBC Tag
Post by: Yakuza on August 01, 2006, 01:26:58 PM
Quote from: GN/Henny on August 01, 2006, 12:48:32 PM
no I have 1.0.7 \i jused a picture of another person ;)

But you have FasterParsecode1-10_SMF1-0-6.zip and i based my 1.0.7 version on faster parsecode for 1.0.7
It seems your version was 1.0.6 then updated to 1.0.7 with an addon, i really cannot predict how this can affect the mod. Anyway i did the mod in 5 mins and not tested it, 1.1 it's the only version fully tested that i can support.
Title: Re: YouTube BBC Tag
Post by: Joshsux on August 02, 2006, 01:35:10 AM
why don't you guys just upgrade to 1.1 i did it just for this and the shoutbox mod....? it really isn't all that hard to upgrade at all and heaps more stuff gets supported.
Title: Re: YouTube BBC Tag
Post by: londonhogfan on August 04, 2006, 01:48:08 AM
Anyway you could make this work with only certain member groups through the permissions system.  I really want it on my site but I have some people that would just spam it so I only want it available for admins or people that have donated.

Thanks for the mod
(posted inthe google thread also)
Title: Re: YouTube BBC Tag
Post by: Yakuza on August 04, 2006, 06:50:18 AM
Quote from: londonhogfan on August 04, 2006, 01:48:08 AM
Anyway you could make this work with only certain member groups through the permissions system.  I really want it on my site but I have some people that would just spam it so I only want it available for admins or people that have donated.

Thanks for the mod
(posted inthe google thread also)

This will require the coding of a complete new mod, anyway it's an interesting request, maybe you should request for someone to make a BBCode permissions mod?
Title: Re: YouTube BBC Tag
Post by: GN/Henny on August 04, 2006, 04:32:23 PM
Mod-naam Versie van de Mod   
1. Simple ImageShack 1.0.4  [ Overzicht bestanden ] [ Verwijderen ] 
2. MessagePreviewOnHover 1.0   [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ] 
3. SMF 1.0.6 Update 1.0  [ Overzicht bestanden ] [ Verwijderen ] 
4. GoogleVideo BBCode by Yakuza 0.1   [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ] 
5. SMF 1.0.7 / 1.1 RC2 Update 1.0   [ Overzicht bestanden ] [ Verwijderen ] 
6. YouTube BBCode by Yakuza 0.1   [ Deïnstalleer ] [ Overzicht bestanden ] [ Verwijderen ] 
7. Faster Parsecode 1.07  [ Overzicht bestanden ] [ Verwijderen ] 

Do I have SMF 1.0.7 / 1.1 RC2 Update 1.0 ?
Powered by SMF 1.0.7.


Title: Re: YouTube BBC Tag
Post by: SlyBaldGuy on August 06, 2006, 01:11:07 AM
Does anyone know where to get Faster Parsecode 1.07?  It's no longer available on the FasterParsecode Mod page.  I was able to install 1.06, but I see that version won't work.
Title: Re: YouTube BBC Tag
Post by: Miyagi on August 06, 2006, 05:25:43 AM
Great little mod and one that my members will utilise a lot... we are all big YouTube fans.  :D
Title: Re: YouTube BBC Tag
Post by: Weapon X on August 08, 2006, 03:45:46 PM
Everything went fine but I only get a white screen.

I run 1.1 RC2 and installed the .2 version???

Any ideas ????
Title: Re: YouTube BBC Tag
Post by: Joshsux on August 08, 2006, 11:32:58 PM
you mean the video is just a white screen? make sure the video you put up is the correct url you can preview before you post, also sometimes the page doesn't load the video so it stays as a white screen.
Title: Re: YouTube BBC Tag
Post by: jarnex on August 10, 2006, 09:00:27 PM
Love the mods, and was going to play with it to embed the imageshack slideshows they now do:

'content' => '<embed src="http://imageshack.us/slideshow/smilplayer.swf" width="$2" height="$3" name="smilplayer" id="smilplayer" bgcolor="394551" menu="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=$1"/>',

I did that, however the issue is, imageshack gives an id querystring like this :

"img101/6379/1155237055h64.smil"

If they place just that between the brackets, you would need to take the portion to the first slash (as highlighted) to the embed URL, like this:

http://img101.imageshack.us/slideshow/smilplayer.swf

I can take the php page url from the service, and make it create the url:

    $string = "http://img83.imageshack.us/slideshow/player.php?id=img83/3086/1155190909dfq.smil";
    list ($var1, $var2) = explode("player.php?id=", $string);
    echo $var1 . "smilplayer.swf?id=" . $var2;


But I am not sure how to put that into the content part of the mod.

I would really appreciate if you had any suggestions :)
Title: Re: YouTube BBC Tag
Post by: aglioeolio on August 11, 2006, 09:35:46 AM
Smooth MOD

Thanks a LOT Yakuza   8)
Title: Re: YouTube BBC Tag
Post by: sportman3333333 on August 23, 2006, 04:19:04 PM
Can you make it work for 1.1 rc 3. It doesnt work prolly. It doesnt show the video.
Title: Re: YouTube BBC Tag
Post by: TraderJake on August 23, 2006, 04:35:14 PM
I have written a conversion for it, but I don't exactly know if and how I should go about submitting it as I didn't write the original script. If anyone in the know is willing to tell me what to do about my 1.1 RC3 Conversion please let me know.
Title: Re: YouTube BBC Tag
Post by: sportman3333333 on August 23, 2006, 05:39:54 PM
I need a new version so I'll be happy to try it as soon as you get the green light.
Title: Re: YouTube BBC Tag
Post by: sipko on August 23, 2006, 07:31:11 PM
I just installed this with 1.1 RC 3 and I don't get the video in the profile either, just the link to the YouTube Video.
Title: Re: YouTube BBC Tag
Post by: Mohib on August 23, 2006, 07:58:01 PM
Awesome Mod, I would be really thankful if it could be upgraded to 1.1 RC3.
:)

Cheers!
Title: Re: YouTube BBC Tag
Post by: edchapman on August 23, 2006, 10:22:56 PM
just get a white screen too.
Google is not working either. player comes up but the video never plays.
Title: Re: YouTube BBC Tag
Post by: TraderJake on August 23, 2006, 10:26:09 PM
This mod is not yet approved by the Mod staff, but for those who want to give the mod a try, here is currently unapproved mod page for my conversion that works with SMF 1.1 RC3. It is pretty much identical to Yakuza's mod with the exception of the edits required to make it work with RC3. It's worked on at least three people's boards, so I am thinking it should go well on most if not all 1.1 RC3 boards. But, again, let me stress, this is currently unapproved, and is provided "AS IS", though I will attempt to walk you through if something goes horribly wrong.

EDIT: There is an error that occurs if the youtube tag is the first thing in the post. Would like to fix that first.
Title: Re: YouTube BBC Tag
Post by: desistyle on August 23, 2006, 10:49:08 PM
wow cant wait to try this
Title: Re: YouTube BBC Tag
Post by: karlbenson on August 23, 2006, 11:14:15 PM
nope most users AFAIK can't download until its approved by mods.
Title: Re: YouTube BBC Tag
Post by: TraderJake on August 23, 2006, 11:36:16 PM
Hmm... I've made this one and the Googlevideo mod "installable" on 1.1 RC3 and both of them have the same problem where if the tag is the first thing in the post the video and the rest of the post will not appear, and the post box will return an error. I or the mod author will have to look at that, but if it gets approved keep that in mind there must be a line break or text before the tag, or it causes the post template to return an error saying the message body was not filled out.
Title: Re: YouTube BBC Tag
Post by: HIsPoCratiC on August 24, 2006, 02:57:21 PM
hi!

THis mod is really good, but as many ppl, I don't have deafult theme. (BlackTed) So, I want to manually install, but how¿? That¡s the question!

The Post.Template.php is on BlackTed "Display.Template", and I'm using RC3.
Thanks for advance
Title: Re: YouTube BBC Tag
Post by: Tanks on August 30, 2006, 01:58:34 AM
I did a manual install on my heavy modded board and it works fine. Thanks for a great mod, my members will be happy about it.  ;)
Title: Re: YouTube BBC Tag
Post by: Lew Cipher on September 01, 2006, 02:04:47 PM
Can this be updated for RC3?

Title: Re: YouTube BBC Tag
Post by: Alan S on September 01, 2006, 02:13:40 PM
Yakuza hasnt been on for nearly a month but this is what you need to change.

unzip the package and open  youtube_0.2.xml

Open it with notepad or something

Find

<search position="before"><![CDATA[
array(
'tag' => 'hr',
'type' => 'closed',
'content' => '<hr style="clear: both;" />',
'block_level' => true,
),
]]></search>


Replace with

<search position="before"><![CDATA[
array(
'tag' => 'hr',
'type' => 'closed',
'content' => '<hr />',
'block_level' => true,
),
]]></search>



Then go to file -> save and replace the old youtube_0.2.xml with the new edited youtube_0.2.xml
and it should install perfectly through the package manager
Title: Re: YouTube BBC Tag
Post by: desistyle on September 01, 2006, 02:16:05 PM
thanks a lot dude i wil give this a try
Title: Re: YouTube BBC Tag
Post by: karlbenson on September 02, 2006, 07:03:57 PM
yep thats the change that has to be made to get it to work with 1.1 RC3

[download removed]

use alan S's a couple of posts down
Title: Re: YouTube BBC Tag
Post by: WarBirD on September 20, 2006, 12:50:23 PM
Has the syntax changed ? Because even after i installed the new one, the old posts which had youtube links in it, don´t work. I only see the syntax there. I also dont have the Youtube button anymore in the editor when I write a new post, it was there before. Now its gone.
Title: Re: YouTube BBC Tag
Post by: karlbenson on September 20, 2006, 08:13:36 PM
nope, I've got that exact one working on my test board

Working posts and all
Title: Re: YouTube BBC Tag
Post by: WarBirD on September 21, 2006, 12:20:02 AM
Anything else works, and I installed my new board just, but it doesn´t work. LInks that worked before fine. So, what now ?
Title: Re: YouTube BBC Tag
Post by: Alan S on September 21, 2006, 11:37:48 AM
Try this one.

http://theteenzone.net/upload/download.php?file=9a20030ecd029139adf8150f1d774516
Title: Re: YouTube BBC Tag
Post by: WarBirD on September 21, 2006, 01:19:22 PM
Aaaah, that works. ;) Seems there must be a difference. Thx m8.  :D
Title: Re: YouTube BBC Tag
Post by: Alan S on September 21, 2006, 01:27:00 PM
No problem.

There was just a error in the package info that stopped the image from appearing.

It was

<require-file name="youtube_bbc.gif" loc......"Themes/images/bbc/">

it should have been

<require-file name="youtube_bbc.gif" loc......"$imagesdir/bbc">
Title: Re: YouTube BBC Tag
Post by: Fourm.Man on September 29, 2006, 10:31:44 PM
i can't get the audio play, only the video works
Title: Re: YouTube BBC Tag
Post by: Vinspire on September 30, 2006, 12:46:33 AM
RC 3 Version pls  >:( :D ;D
Title: Re: YouTube BBC Tag
Post by: chase_m on October 02, 2006, 07:00:24 AM
Quote from: Alan S on September 21, 2006, 11:37:48 AM
Try this one.

http://theteenzone.net/upload/download.php?file=9a20030ecd029139adf8150f1d774516

It works!

Thanks Alan and Co.  :D
Title: Re: YouTube BBC Tag
Post by: Vinspire on October 04, 2006, 12:05:51 AM
It work ... thanks yakuza for such a great mod and thanks alan for get it to work on RC3 :)
Title: Re: YouTube BBC Tag
Post by: Adam S on October 05, 2006, 05:00:27 PM
Anyway to get this to work with 1.0.8?? I need it.
Title: Re: YouTube BBC Tag
Post by: Alan S on October 05, 2006, 05:29:45 PM
I'll have a go with making it work with 1.0.8 later ,im too tired now.
Title: Re: YouTube BBC Tag
Post by: Adam S on October 07, 2006, 12:56:13 PM
I don't need it anymore, upgraded.
Title: Re: YouTube BBC Tag
Post by: Fiery on October 09, 2006, 12:06:26 AM
Hey,

What happened the rc3 youtube mod that was up for approval?
Title: Re: YouTube BBC Tag
Post by: Alan S on October 09, 2006, 01:13:24 PM
Was rejected , probably because it was another persons mod that i updated.

Download it here though.

http://theteenzone.net/upload/download.php?file=9a20030ecd029139adf8150f1d774516
Title: Re: YouTube BBC Tag
Post by: Jennah on October 14, 2006, 07:00:13 PM
HI can someone plzzz help me??? I upgraded to 1.0.8 tday from 1.0.5 yeahhh!!! great huh? but I reallllly wanted to add that new mod that allows you to do the youtube thingy.. but when I added it through my package manager in admin it seems to have loaded (oh and also added streaming vid package) but it's not working? I still can add youtube directly into posts and nothing looks dif? I know I'm not using default theme either.. is that why? I'm so totally lost plz someone come to my rescue i'm frustrated and need help!!!! lol ..

btw i know 'bout the whole manual thing but i don't bloody get it?? lol i opened the .mod file but what do i change? and i added the files all ready so if i change it do i have to delete and re-add them again? sry i'm a noob
Title: Re: YouTube BBC Tag
Post by: Jennah on October 15, 2006, 09:37:30 AM
plzzz can someone plz tell me how to put this mod on my 1.0.8 forum? I'm new at it.. and I'm not using the default theme ... what do i do? I added the package thru admin..seemed to load in ok ..no errors..don't think? I've only been working in forums and php junk for the past six months so I'm really useless at it yet.. plz guys if someone can just lay out what I'm meant to do? Like do I edit the .mod file and the .php file? or just one? then wat?  :( ughh lost!!!

thanks in advance for anyeee help!!  ;)
Title: Re: YouTube BBC Tag
Post by: aglioeolio on October 19, 2006, 05:26:37 PM
open .mod file with notepad, the steps are simply to execute mannualy Jennah





This Mod is awesome!!

I Don´t think that I´ll uninstall it so soon  ;D
Title: Re: YouTube BBC Tag
Post by: WhatsUp on October 21, 2006, 07:46:55 AM
This mod adds no functionality to SMF: there is no need to install it to embed YouTube.
Just use turn on the flash function for SMF.
The YouTube vids are flash movies. So take the code, strip away everything other than the url, and embed as flash. I've done this to dozens of YouTube movies for my site.
Title: Re: YouTube BBC Tag
Post by: aglioeolio on October 22, 2006, 08:33:23 AM
Quote from: WhatsUp on October 21, 2006, 07:46:55 AM
This mod adds no functionality to SMF: there is no need to install it to embed YouTube.
Just use turn on the flash function for SMF.
The YouTube vids are flash movies. So take the code, strip away everything other than the url, and embed as flash. I've done this to dozens of YouTube movies for my site.

I don´t agree...

1.security reason - This MOD dont have the security issue of a swf movie posted maybe with some javascript inside it...

2.easy, easy posting - I think posting a video from youtube which hardly will be offline it´s amazing, a lot of people contribute with joking, beraking news etc... Flash only will be more specific stuff and could get a lot of broken and useless sources in topics in a short time...


Thanks for the MOD developer !!
And I hope that google dont f#$ck this great video site

excuse for the language mistakes, that´s not my native lang




Title: Re: YouTube BBC Tag
Post by: Douglas on October 29, 2006, 08:54:13 PM
Any chance this can be made available again, please?
Title: Re: YouTube BBC Tag
Post by: Vinspire on October 29, 2006, 10:18:14 PM
Quote from: Douglas on October 29, 2006, 08:54:13 PM
Any chance this can be made available again, please?

For which version ? If for RC 3 then i think i might have it saved on my comp.

I could email it to you if you want :)
Title: Re: YouTube BBC Tag
Post by: Dom on October 30, 2006, 12:25:47 PM
Hi,
Sorry,a speek litle english.
For 1.0.6, 1.0.7, 1.0.8, 1.1 RC1, 1.1 RC2, 1.1 RC3
File = streaming_4.2.2a.zip (http://mods.simplemachines.org/index.php?mod=121)


mfg Eregister :-)
Title: Re: YouTube BBC Tag
Post by: radel on November 02, 2006, 01:30:38 AM
Quote from: Vinspire on October 29, 2006, 10:18:14 PM
For which version ? If for RC 3 then i think i might have it saved on my comp.
I could email it to you if you want :)

I'd really like to have the mod for RC 3. Can you email it to me? ;)
Title: Re: YouTube BBC Tag
Post by: Vinspire on November 02, 2006, 01:39:53 AM
Quote from: radel on November 02, 2006, 01:30:38 AM
Quote from: Vinspire on October 29, 2006, 10:18:14 PM
For which version ? If for RC 3 then i think i might have it saved on my comp.
I could email it to you if you want :)

I'd really like to have the mod for RC 3. Can you email it to me? ;)

radel, i am sorry for my late reply. I've received ur pm about ur email.

Will try to email it to you asap. Currently I am in the office ... the file is at home.

been very busy lately ... u know, end of the mth and early of the mth  >:(
Title: Re: YouTube BBC Tag
Post by: radel on November 05, 2006, 10:06:02 PM
Quote from: Vinspire on November 02, 2006, 01:39:53 AM
radel, i am sorry for my late reply. I've received ur pm about ur email.

Will try to email it to you asap. Currently I am in the office ... the file is at home.

been very busy lately ... u know, end of the mth and early of the mth  >:(

got it. thanks. got it to work for RC3
Title: Re: YouTube BBC Tag
Post by: Jennah on November 07, 2006, 10:49:34 AM
hey guys I still don't have a clue how to make this mod work on my forum??????? pweeeezy help me!!!
Title: Re: YouTube BBC Tag
Post by: Vinspire on November 07, 2006, 12:48:50 PM
Quote from: Jennah on November 07, 2006, 10:49:34 AM
hey guys I still don't have a clue how to make this mod work on my forum??????? pweeeezy help me!!!

Are u using custom theme ?  :o
Title: Re: YouTube BBC Tag
Post by: Jennah on November 07, 2006, 06:43:10 PM
hi

umm yeah it's a theme that's called Saf-Blue i think? Does that make it hard to change the php file and the mod file??
Title: Re: YouTube BBC Tag
Post by: Vinspire on November 07, 2006, 09:34:18 PM
Quote from: Jennah on November 07, 2006, 06:43:10 PM
hi

umm yeah it's a theme that's called Saf-Blue i think? Does that make it hard to change the php file and the mod file??

Its a bit hard for beginner but you need to learn it sooner or later as you need to manually install all the mods in a custom theme.

Here is the link on how to make mods work with other themes : http://www.simplemachines.org/community/index.php?topic=34526.0
Title: Re: YouTube BBC Tag
Post by: MiR on November 22, 2006, 03:19:27 AM
Great mod. Thank you!!!!!
Title: Re: YouTube BBC Tag
Post by: shinbushi on December 02, 2006, 05:30:39 PM
I had it working for rc3 but does not see to be working in 1.1 final
Title: Re: YouTube BBC Tag
Post by: haktanir2 on December 05, 2006, 07:12:04 AM
Yes could someone please make it available for 1.1 or just provide a tip to get it to work like last time?
Title: Re: YouTube BBC Tag
Post by: Jennah on December 06, 2006, 12:02:36 PM
I'm still having trouble getting it to work on saf-blue theme.. i don't know what i'm doing wrong? Can anyone assit at all????  :(
Title: Re: YouTube BBC Tag
Post by: Dave123 on December 06, 2006, 01:12:53 PM
Quote from: haktanir2 on December 05, 2006, 07:12:04 AM
Yes could someone please make it available for 1.1 or just provide a tip to get it to work like last time?

yes please
Title: Re: YouTube BBC Tag
Post by: Jennah on December 06, 2006, 07:10:18 PM
plzzzzzzzzzzzzzzzzzzzzzz can someone give me some better advice? I tried to sort it in the php but couldn't figure it out?
Title: Re: YouTube BBC Tag
Post by: Spartankonin on December 07, 2006, 08:53:42 AM
I am just throwing my voice in here as my site has extensive YouTube video section and I need a version that works with the latest 1.1 final release...If anyone that knows how to code could do this, it would be much appreciated.. Thanks!
Title: Re: YouTube BBC Tag
Post by: Dreamer on December 11, 2006, 05:42:45 PM
Can anyone tell me how to use this mod on 1.1 final?  :(
Title: Re: YouTube BBC Tag
Post by: Chmura on December 11, 2006, 11:00:42 PM
I am also very interested in one for 1.1, really hope someone does it  :)
Title: Re: YouTube BBC Tag
Post by: rockinaway on December 12, 2006, 12:56:52 PM
Updated?`
Title: Re: YouTube BBC Tag
Post by: Zenigata on December 16, 2006, 12:00:23 PM
Please update this mod for 1.1 final. Thanks
Title: Re: YouTube BBC Tag
Post by: 1milehi on December 16, 2006, 06:44:52 PM
okay.  i've added all the coding from the "how to make mods work with themes" instructions but i'm still getting only the large white box, (no video or audio), and the you tube icon only shows in the default theme.  i added the youtube gif to my theme's images file but what code do i add to link to it and what file does that info go in?  any other suggestions i should try?  i'm using 1.1 rc2.

thank you.
Title: Re: YouTube BBC Tag
Post by: Gargoyle on December 16, 2006, 08:06:24 PM
Alright guys I modified the code from the download area here so it'll install on SMF 1.1 Final version.

I HAVE ONLY TESTED THIS ON 1.1 FINAL!! No other version may work!!

Enjoy.. ;D


P.S. I didn't write this mod... I only modified it for 1.1 final so some of you could use it.
Title: Re: YouTube BBC Tag
Post by: 1milehi on December 17, 2006, 07:02:18 AM
Quote from: Gargoyle on December 16, 2006, 08:06:24 PM
Alright guys I modified the code from the download area here so it'll install on SMF 1.1 Final version.

I HAVE ONLY TESTED THIS ON 1.1 FINAL!! No other version may work!!

Enjoy.. ;D


P.S. I didn't write this mod... I only modified it for 1.1 final so some of you could use it.

i was going to try this on rc2 but when i go to uninstall the .2 youtube version, i'm getting an error that wasn't showing when i installed:

Quote./Themes/default/languages/Modifications.english.php Test failed

*sigh*
Title: Re: YouTube BBC Tag
Post by: Zenigata on December 17, 2006, 08:52:14 AM
Quote from: Gargoyle on December 16, 2006, 08:06:24 PM
I HAVE ONLY TESTED THIS ON 1.1 FINAL!! No other version may work!!

It works. Thanks very much!
Title: Re: YouTube BBC Tag
Post by: Gargoyle on December 17, 2006, 10:51:13 AM
Quote from: 1milehi on December 17, 2006, 07:02:18 AM
Quote from: Gargoyle on December 16, 2006, 08:06:24 PM
Alright guys I modified the code from the download area here so it'll install on SMF 1.1 Final version.

I HAVE ONLY TESTED THIS ON 1.1 FINAL!! No other version may work!!

Enjoy.. ;D


P.S. I didn't write this mod... I only modified it for 1.1 final so some of you could use it.

i was going to try this on rc2 but when i go to uninstall the .2 youtube version, i'm getting an error that wasn't showing when i installed:

Quote./Themes/default/languages/Modifications.english.php Test failed

*sigh*

Sorry bro... I only modded it for 1.1 final... The original MOD should work with RC2 though. It sounds like you have a conflict with another MOD going on...



Quote from: Zenigata on December 17, 2006, 08:52:14 AM
Quote from: Gargoyle on December 16, 2006, 08:06:24 PM
I HAVE ONLY TESTED THIS ON 1.1 FINAL!! No other version may work!!

It works. Thanks very much!
Not a problem... ;D
Title: Re: YouTube BBC Tag
Post by: 1milehi on December 19, 2006, 07:34:35 AM
Quote from: Gargoyle on December 17, 2006, 10:51:13 AM

Sorry bro... I only modded it for 1.1 final... The original MOD should work with RC2 though. It sounds like you have a conflict with another MOD going on...

i'm not a bro  ;) but maybe you or someone else can help me out.  these are the mods i have installed:

QuoteModification Packages
Mod Name Version 
1. Custom Action Mod 2.0   [ Uninstall ] [ List Files ] [ Delete ] 
2. SMF 1.0.7 / 1.1 RC2 Update 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
3. Streaming 3 4.2.1c   [ Uninstall ] [ List Files ] [ Delete ] 
4. Karma Buttons 1.01  [ Apply Mod ] [ List Files ] [ Delete ] 
5. Registered Links 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
6. YouTube BBCode by Yakuza 0.2   [ Uninstall ] [ List Files ] [ Delete ] 
7. Simple ImageShack 1.2.1   [ Uninstall ] [ List Files ] [ Delete ] 

Avatar Packages
Mod Name Version 
1. WOW dancing avatars 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
2. Tribal Designs 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
3. Sci-Fi Avatars 1.0   [ Uninstall ] [ List Files ] [ Delete 

i uninstalled and deleted the award mod - which was there when i installed the you tube mod.  do i need to add that one back on to clear up whatever went wrong?

thanks.
Title: Re: YouTube BBC Tag
Post by: Zenigata on December 19, 2006, 07:49:46 AM
Quote from: Gargoyle on December 16, 2006, 08:06:24 PM
I HAVE ONLY TESTED THIS ON 1.1 FINAL!! No other version may work!!

It also works on 1.1.1
Title: Re: YouTube BBC Tag
Post by: curtiskline on December 19, 2006, 10:13:06 AM
Quote from: Zenigata on December 19, 2006, 07:49:46 AM
Quote from: Gargoyle on December 16, 2006, 08:06:24 PM
I HAVE ONLY TESTED THIS ON 1.1 FINAL!! No other version may work!!

It also works on 1.1.1

Or not... I am running 1.1.1 and this is what I get:

"Installations actions for "YouTube BBCode by Yakuza":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
Title: Re: YouTube BBC Tag
Post by: Zenigata on December 19, 2006, 11:04:17 AM
Quote from: curtiskline on December 19, 2006, 10:13:06 AM
Quote from: Zenigata on December 19, 2006, 07:49:46 AM
Quote from: Gargoyle on December 16, 2006, 08:06:24 PM
I HAVE ONLY TESTED THIS ON 1.1 FINAL!! No other version may work!!

It also works on 1.1.1

Or not... I am running 1.1.1 and this is what I get:

"Installations actions for "YouTube BBCode by Yakuza":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

Hi, you have to install the modified version attached here: http://www.simplemachines.org/community/index.php?topic=100332.msg860681#msg860681
Title: Re: YouTube BBC Tag
Post by: Gargoyle on December 19, 2006, 06:10:52 PM
Quote from: 1milehi on December 19, 2006, 07:34:35 AM
Quote from: Gargoyle on December 17, 2006, 10:51:13 AM

Sorry bro... I only modded it for 1.1 final... The original MOD should work with RC2 though. It sounds like you have a conflict with another MOD going on...

i'm not a bro  ;) but maybe you or someone else can help me out.  these are the mods i have installed:

QuoteModification Packages
Mod Name Version 
1. Custom Action Mod 2.0   [ Uninstall ] [ List Files ] [ Delete ] 
2. SMF 1.0.7 / 1.1 RC2 Update 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
3. Streaming 3 4.2.1c   [ Uninstall ] [ List Files ] [ Delete ] 
4. Karma Buttons 1.01  [ Apply Mod ] [ List Files ] [ Delete ] 
5. Registered Links 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
6. YouTube BBCode by Yakuza 0.2   [ Uninstall ] [ List Files ] [ Delete ] 
7. Simple ImageShack 1.2.1   [ Uninstall ] [ List Files ] [ Delete ] 

Avatar Packages
Mod Name Version 
1. WOW dancing avatars 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
2. Tribal Designs 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
3. Sci-Fi Avatars 1.0   [ Uninstall ] [ List Files ] [ Delete 

i uninstalled and deleted the award mod - which was there when i installed the you tube mod.  do i need to add that one back on to clear up whatever went wrong?

thanks.


Where do you get your failure ?? What file ?

If it is only modifications.english.php the only thing you will be missing is the alt text for the image in the bbc code area. Not a big deal.

If you like I can try to mod the file for you so it'll be done but honestly if you load the images to all your themes I don't think it'll hurt not being there.
Title: Re: YouTube BBC Tag
Post by: 1milehi on December 20, 2006, 03:24:44 PM
Quote from: Gargoyle on December 19, 2006, 06:10:52 PM

Where do you get your failure ?? What file ?

If it is only modifications.english.php the only thing you will be missing is the alt text for the image in the bbc code area. Not a big deal.

that's the only error i get when i try to uninstall.  i'm getting the alt text, but the image is only showing up in the default theme.  i can live without that but it would be nice to get it to show with the board theme i'm using.

QuoteIf you like I can try to mod the file for you so it'll be done but honestly if you load the images to all your themes I don't think it'll hurt not being there.

the main problem now is that we only see the big white box when we use the you tube feature.  i know that was brought up earlier in this thread but i don't know what needs to be done to fix it.  help?!  :'(

thanks~
Title: Re: YouTube BBC Tag
Post by: Maniakc on December 20, 2006, 03:38:17 PM
Quote from: Gargoyle on December 16, 2006, 08:06:24 PM
Alright guys I modified the code from the download area here so it'll install on SMF 1.1 Final version.

I HAVE ONLY TESTED THIS ON 1.1 FINAL!! No other version may work!!

Enjoy.. ;D


P.S. I didn't write this mod... I only modified it for 1.1 final so some of you could use it.
You are the sun and the moon! :P Thanks!
Title: Re: YouTube BBC Tag
Post by: Gargoyle on December 20, 2006, 05:49:28 PM
Quote from: 1milehi on December 20, 2006, 03:24:44 PM
Quote from: Gargoyle on December 19, 2006, 06:10:52 PM

Where do you get your failure ?? What file ?

If it is only modifications.english.php the only thing you will be missing is the alt text for the image in the bbc code area. Not a big deal.

that's the only error i get when i try to uninstall.  i'm getting the alt text, but the image is only showing up in the default theme.  i can live without that but it would be nice to get it to show with the board theme i'm using.

You just need to upload the image (youtube bbc button) to your current themes images directory with the other bbc buttons. Then the button should show just fine.

Quote
QuoteIf you like I can try to mod the file for you so it'll be done but honestly if you load the images to all your themes I don't think it'll hurt not being there.

the main problem now is that we only see the big white box when we use the you tube feature.  i know that was brought up earlier in this thread but i don't know what needs to be done to fix it.  help?!  :'(

thanks~

Well it could be a few things... The best thing to do would be to go into the modify section of one of the non-working you tube posts with the white box in it and copy the code that is in there and post it up here so I can see what is actually being rendered by the tag. It is probably something simple as this mod is very basic.
Title: Re: YouTube BBC Tag
Post by: 1milehi on December 20, 2006, 06:53:36 PM
Quote from: Gargoyle on December 20, 2006, 05:49:28 PM

You just need to upload the image (youtube bbc button) to your current themes images directory with the other bbc buttons. Then the button should show just fine.

thanks gargoyle.  i've uploaded the image but it's not showing through.  how or where do i check the source coding which is linking to the image?  (i know in HTML it would be the <img src> code but i don't know what it would be in SMF coding)

QuoteWell it could be a few things... The best thing to do would be to go into the modify section of one of the non-working you tube posts with the white box in it and copy the code that is in there and post it up here so I can see what is actually being rendered by the tag. It is probably something simple as this mod is very basic.

here is the code:

Quote[youtube=425,350]<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/nae4OV2lJ1M"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/nae4OV2lJ1M" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>[/youtube]

:)
Title: Re: YouTube BBC Tag
Post by: Gargoyle on December 20, 2006, 07:10:31 PM
Alright the BBC code is not passing correctly at all...

I will need to see your subs.php file as well as your post.template.php file from the theme you are using. I have to see if the code is there and if it is whether or not it is done right.

What did you say happened again ?? Upgrade or something like that to cause this issue ? Just trying to figure things out in my head.

The image should be placed in your current theme directory.. So it would be yourthemename/images/bbc/youtube.gif If that is where the image is then you could try a refreash. If that still does not do it then I will have to look at your files to see the code.
Title: Re: YouTube BBC Tag
Post by: RoarinRow on December 20, 2006, 07:14:12 PM
Quote from: 1milehi on December 16, 2006, 06:44:52 PM
okay.  i've added all the coding from the "how to make mods work with themes" instructions but i'm still getting only the large white box, (no video or audio), and the you tube icon only shows in the default theme.  i added the youtube gif to my theme's images file but what code do i add to link to it and what file does that info go in?  any other suggestions i should try?  i'm using 1.1 rc2.

thank you.

I've got a white box too on my SMF 1.1.1 final forum using the last .03 post a couple of posts back.  Icon is there no installation errors and nothing in my error log.   ???
Title: Re: YouTube BBC Tag
Post by: 1milehi on December 20, 2006, 07:35:29 PM
QuoteThe image should be placed in your current theme directory.. So it would be yourthemename/images/bbc/youtube.gif If that is where the image is then you could try a refreash. If that still does not do it then I will have to look at your files to see the code.

the image is still not showing.  here is the code:  /Themes/helios11rc2/images/bbc/youtube.GIF

Quote from: Gargoyle on December 20, 2006, 07:10:31 PM
Alright the BBC code is not passing correctly at all...

I will need to see your subs.php file as well as your post.template.php file from the theme you are using. I have to see if the code is there and if it is whether or not it is done right.

What did you say happened again ?? Upgrade or something like that to cause this issue ? Just trying to figure things out in my head.

i've had the large white box from the beginning.  what i tried to do was uninstall the mod because i wanted to install the .3 version but i received an [un] installation error that i was not getting when i first installed.  i'm not going to uninstall now so i don't know if that error makes a difference or not.  after i installed the you tube mod, i deleted some other mods that i really didn't need so is that what is causing the error?

here is the post.template file:


Quote);
      $context['bbc_tags'][] = array(
         'flash' => array('code' => 'flash', 'before' => 'http://',%20'after'%20=>%20'', 'description' => $txt[433]),

         'youtube' => array('code' => 'youtube', 'before' => '[youtube=425,350]', 'after' => '[/youtube]', 'description' => $txt['youtube']),
         'stream' => array('code' => 'stream', 'before' => '[stream=200,200]', 'after' => '[/stream]', 'description' => $txt['stream']),
         'real' => array('code' => 'real', 'before' => '[real=200,200]', 'after' => '[/real]', 'description' => $txt['real']),
         'quick' => array('code' => 'quick', 'before' => '[quick=200,200]', 'after' => '[/quick]', 'description' => $txt['quick']),
         'img' => array('code' => 'img', 'before' => '(http://',%20'after'%20=>%20')', 'description' => $txt[435]),
         'url' => array('code' => 'url', 'before' => '', 'after' => ' (http://',%20'after'%20=>%20')', 'description' => $txt[257]),
         

and from the subs.php:

      
Quote),
         array(
            'tag' => 'hr',
            'type' => 'closed',
            'content' => '<hr style="clear: both;" />',
            'block_level' => true,
         ),

         array(
            'tag' => 'youtube',
            'type' => 'unparsed_commas_content',
            'test' => '\d+,\d+\]',
            'content' => '<object width="$2" height="$3"><param name="movie" value="http://www.youtube.com/v/$1" ></param><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" width="$2" height="$3"></embed></object>',
            'validate' => create_function('&$tag, &$data, $disabled', '
               if (isset($disabled[\'url\']))
                  $tag[\'content\'] = \'$1\';'),
            'disabled_content' => '<a href="$1" target="_blank">$1</a>',
         ),
Title: Re: YouTube BBC Tag
Post by: RoarinRow on December 20, 2006, 08:56:47 PM
just from looking at the subs.php code below, shouldn't the param name and embed src be something like this:

http://www.youtube.com/watch?v/$1

instead of this:

http://www.youtube.com/v/$1



I was just watching this video from youtube.com right now - http://www.youtube.com/watch?v=Y9-ctuBFAUg
Title: Re: YouTube BBC Tag
Post by: 1milehi on December 21, 2006, 07:16:36 AM
Quote from: RoarinRow on December 20, 2006, 08:56:47 PM
just from looking at the subs.php code below, shouldn't the param name and embed src be something like this:

http://www.youtube.com/watch?v/$1

instead of this:

http://www.youtube.com/v/$1

well, i made the change in the coding but i'm still getting the white box.  :(


Title: Re: YouTube BBC Tag
Post by: Gargoyle on December 21, 2006, 12:50:01 PM
Subs should look like this according to the mod file

array(
'tag' => 'youtube',
'type' => 'unparsed_commas_content',
'test' => '\d+,\d+\]',
'content' => '<object width="$2" height="$3"><param name="movie" value="http://www.youtube.com/v/$1" ></param><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" width="$2" height="$3"></embed></object>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),


Post template like this according to the mod file...

'youtube' => array('code' => 'youtube', 'before' => '[youtube=425,350]', 'after' => '[/youtube]', 'description' => $txt['youtube']),

If your code is correct it should work... If it does not at this point I am not sure why. I do not know what changes the 1.1.1 did but I doubt it has much to do with this.

I am running 1.1.1 on one of my sites and the youtube mod works fine.
Title: Re: YouTube BBC Tag
Post by: 1milehi on December 21, 2006, 02:25:36 PM
Quote from: Gargoyle on December 21, 2006, 12:50:01 PM

If your code is correct it should work... If it does not at this point I am not sure why. I do not know what changes the 1.1.1 did but I doubt it has much to do with this.

I am running 1.1.1 on one of my sites and the youtube mod works fine.

well, thanks for the suggestions.  my coding matches what you posted but it's still not showing video - even on the default theme.
Title: Re: YouTube BBC Tag
Post by: chase_m on December 21, 2006, 03:39:28 PM
Quote from: curtiskline on December 19, 2006, 10:13:06 AM
Quote from: Zenigata on December 19, 2006, 07:49:46 AM
Quote from: Gargoyle on December 16, 2006, 08:06:24 PM
I HAVE ONLY TESTED THIS ON 1.1 FINAL!! No other version may work!!

It also works on 1.1.1

Or not... I am running 1.1.1 and this is what I get:

"Installations actions for "YouTube BBCode by Yakuza":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

Yep, I'm getting the same error.

It installed, but when I apply it, I get that error, and I'm using the default theme (http://chasingculture.com/liberty/index.php).

Thanks in advance.
Title: Re: YouTube BBC Tag
Post by: Gargoyle on December 21, 2006, 06:14:22 PM
Quote from: 1milehi on December 21, 2006, 02:25:36 PM
Quote from: Gargoyle on December 21, 2006, 12:50:01 PM

If your code is correct it should work... If it does not at this point I am not sure why. I do not know what changes the 1.1.1 did but I doubt it has much to do with this.

I am running 1.1.1 on one of my sites and the youtube mod works fine.

well, thanks for the suggestions.  my coding matches what you posted but it's still not showing video - even on the default theme.

Did the youtube mod ever work for you ??


Now I am going to attach one for 1.1.1 ---- I HAVE NOT TESTED IT VERY MUCH SO INSTALL AT OWN RISK!! It should work fine though...
Title: Re: YouTube BBC Tag
Post by: 1milehi on December 21, 2006, 06:36:44 PM
Quote from: Gargoyle on December 21, 2006, 06:14:22 PM
Did the youtube mod ever work for you ??


no, it never did but i've got the you tube gif showing now and when i preview a post i get a message that says "fetching preview" but still nothing shows up.  so, i don't know what the deal is.
Title: Re: YouTube BBC Tag
Post by: 1milehi on December 22, 2006, 05:42:07 AM
wow - i feel so silly right about now.   the following is from the very first post in this thread and explains the reason i was getting the large white box (and probably the reason anybody else is getting it)...


Quote from: Yakuza on July 18, 2006, 06:35:43 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=390)

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

instead of pasting all of that <embed>.....<param> coding between the youtube tags, all that needs to be posted is the video ID, i.e. sDyVAUb8xE.

:-[  why didn't someone just tell me that instead of letting me go on for days - LOL. 
Title: Re: YouTube BBC Tag
Post by: Dave123 on December 24, 2006, 07:57:02 PM
pfftt no button in the default theme at all.
my luck
Title: Re: YouTube BBC Tag
Post by: Dave123 on December 24, 2006, 08:01:39 PM
Demo: http://devel.mangaitalia.it/devsmf/index.php?topic=3.0


great
Title: Re: YouTube BBC Tag
Post by: [Lucien] on January 01, 2007, 12:24:42 PM
The latest attachement workt great at my forum! Only the youtube.gif file i had to add manually through the ftp server.

But for the rest just great, Thnx!  :D
Title: Re: YouTube BBC Tag
Post by: dmz_pt on January 02, 2007, 07:54:59 PM
Quote from: Gargoyle on December 21, 2006, 06:14:22 PM
Now I am going to attach one for 1.1.1 ---- I HAVE NOT TESTED IT VERY MUCH SO INSTALL AT OWN RISK!! It should work fine though...

The version 0.2 didn't work, it give me an error saying the file is corrupted or wrong smf version!! I use the default theme without any mod.
After that i try the 0.4 and everything works great.

Only the youtube.gif file i had to add manually through the ftp server.

Thnx
Title: Re: YouTube BBC Tag
Post by: njoker555 on January 02, 2007, 10:09:45 PM
can someone do one for rc3 version
Title: Re: YouTube BBC Tag
Post by: Nuked on January 06, 2007, 07:01:45 PM
Actually, this mod installs fine if you do a manual install.  I just installed it on my smf 1.1 instance.

Thanks!
Title: Re: YouTube BBC Tag
Post by: njoker555 on January 06, 2007, 07:50:28 PM
aww manual, if i had time i would, i'll try to do it tomorrow then
Title: Re: YouTube BBC Tag
Post by: mohoganybrwn on January 12, 2007, 05:12:07 PM
Wow! Great addition to SMF. Nice work.
Title: Re: YouTube BBC Tag
Post by: rad1701 on January 13, 2007, 08:07:37 PM
karl - I tried your version (the 26 - youtube 1.2.zip) one but I don't see the little YouTube symbols in the posting area icons.  Any ideas???
Title: Re: YouTube BBC Tag
Post by: karlbenson on January 13, 2007, 08:08:21 PM
are you using the default skin?
Title: Re: YouTube BBC Tag
Post by: rad1701 on January 13, 2007, 08:11:43 PM
No....  I'm using 1.1.1, and a Tiny Portal theme.  Will it only work with the default?  I have functionality of it - just no YouTube icons showing in the post area.  Where does the youtube gif get upoladed to?  What directory?
Title: Re: YouTube BBC Tag
Post by: rad1701 on January 13, 2007, 08:31:08 PM
Fixed it - just had to put the youtube.gif file also in the right theme under images/bbc
Title: Re: YouTube BBC Tag
Post by: Vinspire on January 31, 2007, 09:12:27 PM
So, this mod is SMF 1.1.1 compatible ?
Title: Re: YouTube BBC Tag
Post by: Daniel Marquard on February 08, 2007, 05:52:47 PM
Quote from: Vinspire on January 31, 2007, 09:12:27 PM
So, this mod is SMF 1.1.1 compatible ?

It would appear as if the mod's author is no longer active.  Have you tried my overhaul of the mod?

YouTube BBC Tag (XHTML Compliant) (http://www.simplemachines.org/community/index.php?topic=139271.0)
Title: Re: YouTube BBC Tag
Post by: 1milehi on March 11, 2007, 10:48:48 AM
new question.

i recently upgraded to 1.1.2 and reinstalled the streaming mod but now i have 2 you tube buttons/gifs, one for 'you tube' the other for 'yt'.  'yt' is the code on the  latest mod, so how do i delete the other button?  i deleted the 'youtube.gif' but don't know where to go to delete the extra button that is showing.

also, the latest mod has google video instructions and even though the google button/feature is viewable & usuable in my default mod, it's not showing in the board theme i'm using.  any advice? (i modified my theme's languages/modifications.english file).

thanks.
Title: Re: YouTube BBC Tag
Post by: blankoboy on March 23, 2007, 08:03:56 AM
Would be great if Yakuza could pump out a new version of this mod for 1.1.2.  ;)
Title: Re: YouTube BBC Tag
Post by: 1milehi on March 23, 2007, 08:15:42 AM
i fixed all of my above problems so that post can be disregarded .... if anyone is still monitoring this thread in the first place. ;)
Title: Re: YouTube BBC Tag
Post by: Daniel Marquard on March 23, 2007, 11:43:43 AM
Quote from: blankoboy on March 23, 2007, 08:03:56 AM
Would be great if Yakuza could pump out a new version of this mod for 1.1.2.  ;)

http://www.simplemachines.org/community/index.php?topic=100332.msg950323#msg950323

Quote from: 1milehi on March 23, 2007, 08:15:42 AM
i fixed all of my above problems so that post can be disregarded .... if anyone is still monitoring this thread in the first place. ;)

This topic in its entirety is being ignored by the mod author.
Title: Re: YouTube BBC Tag
Post by: vno on July 24, 2007, 07:30:45 PM
Quote from: Yakuza on July 26, 2006, 01:40:53 AM
Quote from: Scubasteve on July 25, 2006, 07:19:10 PM
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 your theme doesn't have it, then edit the default theme one :)



Ok, so if I my custom them doesn't have the post.template.php, then I need to edit the default them. But edit what? Can someone shed some lights? Thank you :)
Title: Re: YouTube BBC Tag
Post by: vno on July 24, 2007, 10:50:56 PM
Ok, I just figured it out. Works great! :D

For those of you that are running custom themes with or without TP, using this addon is no problem at all:

Here is what you do:

-download the addon and install it using your forum admin's package manager.

-The installation will install everything making the script usable.. EXCEPT... it put the YouTube BBC image into your default theme instead. So all you have to do is make a copy of the YouTube.gif, upload it into your custom theme (the one that you're using) /image/BBC folder.

That's all :)
Title: Re: YouTube BBC Tag
Post by: ameo on July 27, 2007, 03:50:06 PM
What about making mod compatible with 1.1.3. ???
Title: Re: YouTube BBC Tag
Post by: prodigal on July 27, 2007, 06:15:47 PM
just use this one , it's better http://www.simplemachines.org/community/index.php?topic=139271.0