News:

Wondering if this will always be free?  See why free is better.

Main Menu

YouTube BBC Tag (XHTML Compliant)

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

Previous topic - Next topic

Daniel Marquard

Quote from: mufasa on June 24, 2007, 06:39:12 PM
hi, awesome mod!

is there a way to remove the link to the youtube website when clicked on?

Removing the overlay would fix that, but why?  You're giving fair credit where it's deserved.

JerX

#361
I can't get it to work. The images is standing in the post box. The code is standing in the message box but when i try to put a youtube link or VideoID in it i don't get an Youtube screen (it just shows
).



I putted the code in Modifications.dutch.php and Modifications.english.php. But still it didn't worked.

Modifications.dutch.php:
Quote
<?php
$txt['youtube'] = 'YouTube';
// Version: 1.1; Modifications
?>

Post.Template.php everything is standing right :s
i putted
'youtube' => array('code' => 'youtube', 'before' => '[youtube=425,350]', 'after' => '[/youtube]', 'description' => $txt['youtube']),

under
array('code' => 'flash', 'before' => 'hxxp:',%20'after'%20=>%20' [nonactive]', 'description' => $txt[433]),


John S

Quote from: Marlon on June 25, 2007, 02:55:04 AM
Quote from: mufasa on June 24, 2007, 06:39:12 PM
hi, awesome mod!

is there a way to remove the link to the youtube website when clicked on?

Removing the overlay would fix that, but why?  You're giving fair credit where it's deserved.

thanks, but how do i remove the underlay?

ps. everyone knows the videos are from youtube and everyone knows what youtube is.. hehe.. just it gets annoying sometimes when i press play it loads up a whole new youtube page..!~ i hope u know what i mean.. plus if thats the case i might aswell just put a link the the youtube video.. lol

Daniel Marquard

Quote from: mufasa on June 25, 2007, 06:30:46 PM
ps. everyone knows the videos are from youtube and everyone knows what youtube is.. hehe.. just it gets annoying sometimes when i press play it loads up a whole new youtube page..!~ i hope u know what i mean.. plus if thats the case i might aswell just put a link the the youtube video.. lol

You cannot go to the video's page on YouTube by clicking the play button.

JerX

Quote from: JerX on June 25, 2007, 07:04:27 AM
I can't get it to work. The images is standing in the post box. The code is standing in the message box but when i try to put a youtube link or VideoID in it i don't get an Youtube screen (it just shows
).



I putted the code in Modifications.dutch.php and Modifications.english.php. But still it didn't worked.

Modifications.dutch.php:
Quote
<?php
$txt['youtube'] = 'YouTube';
// Version: 1.1; Modifications
?>

Post.Template.php everything is standing right :s
i putted
'youtube' => array('code' => 'youtube', 'before' => '[youtube=425,350]', 'after' => '[/youtube]', 'description' => $txt['youtube']),

under
array('code' => 'flash', 'before' => 'hxxp:',%20'after'%20=>%20' [nonactive]', 'description' => $txt[433]),

Plz help :(

JimM

SMF 1.1.3 using Default theme

Downloaded the mod, uploaded with the package manager, test all passed, reported a good install, but nothing worked.  No new button either.  Checked my error log and all three files said permission denied.

Added the mod manually and it works great.  Sure am glad it was a simple mod.

Thanks
Jim "JimM" Moore
Former Support Specialist

pardity

Hey I was wondering if I could get some help on this?  I am using a different theme I believe it's called damage.  I don't have a modifications.english.php to edit?

Any help would be greatly appreciative..


Kindred

modifications.english.php would be in your Themes/default/languages directory

To install it on different themes, you need to check what files your theme has modified away from the default and then apply the mod manually.
Слaва
Украинi

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

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

blankoboy

Quote from: JimM on June 27, 2007, 11:33:01 PM
SMF 1.1.3 using Default theme

Downloaded the mod, uploaded with the package manager, test all passed, reported a good install, but nothing worked.  No new button either.  Checked my error log and all three files said permission denied.

Added the mod manually and it works great.  Sure am glad it was a simple mod.

Thanks

Hey Jim,

I'm in the same situation...default theme and the package manager borked out on me when attempting to complete the install despite all tests showing as passed. Even uninstalling it showed a red box error warning of dire consequences. :(

How does one go about manually installing this mod?

desimatrix

I have this mod installed.. and it seems it has been installed correctly.. but now when I put embed code from youtube like..

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

between [youtube=425,350] [/youtube] .. it shows nothing in the post its wierd but if someone can help..

Thanks,,
Hang Out Point -- Everything from Everywhere!! www.HangOutPoint.com [nofollow]

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

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

Get affliciated PM me for detail.

Kindred

why the heck would you put all that? ???

Didn't you read the mod description or instructions?

[youtube=425,350]y9A81egM6Mw[/youtube] is how it should be called in the message
Слaва
Украинi

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

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

JimM

@blankoboy

I read the xml file for the mod from the package manager and manually did the adds.

Yeah I got the red box warning when I tried to uninstall too.  Guess that was because for some reason the additions had not been added to the files.
Jim "JimM" Moore
Former Support Specialist

Farmacija

i've got some errors in error log caused by this mod



and i in post.croatian.php file don't have 790 lines?
www.farmaceuti.com
www.farmaceuti.com/tekstovi

Daniel Marquard

Quote from: Farmacija on July 06, 2007, 10:58:38 AM
i've got some errors in error log caused by this mod

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

You have not added the mod's 'YouTube' text variable to Post.croatian.php.  My mod is working as intended for you, it's just that you never modified it to your language.

Joshsux

"""""" What makes this variation different from other YouTube BBC mods is that the code it uses is XHTML compliant, thus keeping with the forum's XHTML validity. """"""

Hey, just wonder what the hell does that mean? is it even important?
If you can't hear it before you see it, then it ain't a harley

mark7144

Quote from: Joshsux on July 08, 2007, 04:30:22 AM
"""""" What makes this variation different from other YouTube BBC mods is that the code it uses is XHTML compliant, thus keeping with the forum's XHTML validity. """"""

Hey, just wonder what the hell does that mean? is it even important?
Probably not to you. But for those of us who like to have our website XHTML valid then it's appreciated.

Joshsux

Well thats what the heck i asked mark? what the hell does it mean? why do you like your site valid with xhtml what ever that is?
If you can't hear it before you see it, then it ain't a harley

mark7144

#377
Type in your website and see if yours is XHTML valid. Basically if it is then it increases the chance of your website being more compatible with all the browsers and it's nice to know your code is clean and correct.

http://validator.w3.org/

Farmacija

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

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

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

eu_soleil

hi, mm, when it would be ready for the smf 1-1-3 version...

great mod, greetz for the developer(s)

Estudia Hasta morir, seras un Cadaver Culto...

Advertisement: