YouTube BBC Tag

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

Previous topic - Next topic

Yakuza

#20
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.
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: 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.
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.

Scubasteve

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!!
If it aint broke, break it.

Yakuza

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 ;)
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.

nmsmooth

#24
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.

Yakuza

#25
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.
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.

nmsmooth

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: hxxp:files.filefront.com/Subsphp/;5312256;;/fileinfo.html [nonactive]

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

Thanks. :)

Yakuza

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

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
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.

nmsmooth

Excellent thanks for doing that, works fine now. :)

Joshsux

#29
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.
If you can't hear it before you see it, then it ain't a harley

Joshsux

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.
If you can't hear it before you see it, then it ain't a harley

Yakuza

#31
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.
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.

Joshsux

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!
If you can't hear it before you see it, then it ain't a harley

Yakuza

#33
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.
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.

Joshsux

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.
If you can't hear it before you see it, then it ain't a harley

Yakuza

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
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.

Joshsux

#36
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?
If you can't hear it before you see it, then it ain't a harley

Yakuza

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
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.

Joshsux

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
If you can't hear it before you see it, then it ain't a harley

Yakuza

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.
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.

Advertisement: