Advertisement:

Author Topic: YouTube BBC Tag (XHTML Compliant)  (Read 210425 times)

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #360 on: June 25, 2007, 02:55:04 AM »
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.

Offline JerX

  • Newbie
  • *
  • Posts: 8
  • Gender: Male
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #361 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 [youtube]link[/youtube]).



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:', 'after' => ' [nonactive]', 'description' => $txt[433]),

« Last Edit: June 25, 2007, 02:48:25 PM by JerX »

Offline John S

  • Jr. Member
  • **
  • Posts: 381
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #362 on: June 25, 2007, 06:30:46 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

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #363 on: June 26, 2007, 12:15:26 AM »
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.

Offline JerX

  • Newbie
  • *
  • Posts: 8
  • Gender: Male
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #364 on: June 27, 2007, 03:25:39 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 [youtube]ID[/youtube]).



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:', 'after' => ' [nonactive]', 'description' => $txt[433]),

Plz help :(

Offline JimM

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,980
  • Gender: Male
    • Southern Spirit Hunters
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #365 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
Jim "JimM" Moore
Former Support Specialist

Please do not PM me for support!                   
Installing SMF
Upgrade SMF
Manual Installation of Mods

Offline pardity

  • Newbie
  • *
  • Posts: 1
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #366 on: June 29, 2007, 09:29:54 PM »
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..


Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,563
  • Gender: Male
    • Kindred-999 on GitHub
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #367 on: June 30, 2007, 01:57:38 AM »
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.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline blankoboy

  • Semi-Newbie
  • *
  • Posts: 30
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #368 on: June 30, 2007, 10:05:33 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?

Offline desimatrix

  • Semi-Newbie
  • *
  • Posts: 18
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #369 on: July 02, 2007, 08:53:59 PM »
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.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,563
  • Gender: Male
    • Kindred-999 on GitHub
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #370 on: July 02, 2007, 10:36:57 PM »
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
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline JimM

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,980
  • Gender: Male
    • Southern Spirit Hunters
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #371 on: July 02, 2007, 11:06:45 PM »
@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

Please do not PM me for support!                   
Installing SMF
Upgrade SMF
Manual Installation of Mods

Offline Farmacija

  • Full Member
  • ***
  • Posts: 611
  • Gender: Male
  • Farmacija forum www.farmaceuti.com
    • Pharmacy forum
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #372 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?

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #373 on: July 07, 2007, 04:05:45 PM »
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.

Offline Joshsux

  • Jr. Member
  • **
  • Posts: 277
  • Gender: Male
  • I BROKE STUFF MORE WHEN ITS BROKE
    • Sneaky-Shits
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #374 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?
If you can't hear it before you see it, then it ain't a harley

Offline mark7144

  • Sophist Member
  • *****
  • Posts: 1,174
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #375 on: July 08, 2007, 08:12:26 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.

Offline Joshsux

  • Jr. Member
  • **
  • Posts: 277
  • Gender: Male
  • I BROKE STUFF MORE WHEN ITS BROKE
    • Sneaky-Shits
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #376 on: July 08, 2007, 08:15:07 AM »
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

Offline mark7144

  • Sophist Member
  • *****
  • Posts: 1,174
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #377 on: July 08, 2007, 09:58:38 AM »
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/
« Last Edit: July 08, 2007, 10:05:49 AM by mark7144 »

Offline Farmacija

  • Full Member
  • ***
  • Posts: 611
  • Gender: Male
  • Farmacija forum www.farmaceuti.com
    • Pharmacy forum
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #378 on: July 09, 2007, 08:03:51 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?

Offline eu_soleil

  • Semi-Newbie
  • *
  • Posts: 46
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #379 on: July 13, 2007, 03:55:52 PM »
hi, mm, when it would be ready for the smf 1-1-3 version...

great mod, greetz for the developer(s)

Estudia Hasta morir, seras un Cadaver Culto...