Advertisement:

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

Offline 4fit?

  • Jr. Member
  • **
  • Posts: 162
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #60 on: January 12, 2007, 04:58:41 PM »
I know this may sound stupid but where do i go for that?
YourBoardDirectory/Themes/YourTheme/languages/

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #61 on: January 12, 2007, 05:09:58 PM »
I know this may sound stupid but where do i go for that?

The root directory of SMF.

Offline 127.0.0.1

  • Jr. Member
  • **
  • Posts: 265
  • Gender: Male
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #62 on: January 13, 2007, 10:22:09 PM »
Is there a reason why the param element was used with end tags? I thought the param element was a self-closing empty tag.

I have written my XHTML compliant flash (youtube) code like this...

Code: [Select]

<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/$1" width="425" height="350">
     <param name="movie" value="http://www.youtube.com/v/$1" />
     <param name="loop" value="false" />
     <param name="menu" value="false" />
     <param name="quality" value="high" />
     <param name="scale" value="noscale" />
     <param name="wmode" value="transparent" />
</object>


I like forward to the next version, and hope that it will recognize previous youtube BBC tags that still contain just the youtube video id.

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #63 on: January 13, 2007, 11:01:05 PM »
Is there a reason why the param element was used with end tags? I thought the param element was a self-closing empty tag.

I have written my XHTML compliant flash (youtube) code like this...

Code: [Select]

<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/$1" width="425" height="350">
     <param name="movie" value="http://www.youtube.com/v/$1" />
     <param name="loop" value="false" />
     <param name="menu" value="false" />
     <param name="quality" value="high" />
     <param name="scale" value="noscale" />
     <param name="wmode" value="transparent" />
</object>


I like forward to the next version, and hope that it will recognize previous youtube BBC tags that still contain just the youtube video id.

It's the way I formatted it in order to include everything and still retain its XHTML validity.

Offline manichols7

  • Semi-Newbie
  • *
  • Posts: 29
  • Gender: Female
    • Character Performance Environments
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #64 on: January 14, 2007, 04:52:37 PM »
After installing this mod to SMF1.1.1 and Tiny Portal 9.7, it place at the top of all pages this code.

$txt['youtube'] = 'YouTube'; $txt['youtube'] = 'YouTube';

my site is here;

http://manichols7.com/forum/index.php

I uninstalled it but it left that code, so I reinstalled it to learned what files it modified and it place a second code there.  I have uninstalled it again.  Can you please tell me how to removed that code?
Character Performance Environments, where your Imagination Rules!

Offline manichols7

  • Semi-Newbie
  • *
  • Posts: 29
  • Gender: Female
    • Character Performance Environments
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #65 on: January 14, 2007, 05:08:12 PM »
Ok, I went back a little and found the problem, I went to my form root and found the language file and deleted the code and it is now removed from my front page.

I just deleted the youtube and nothing else.  Thank you for trying to give us a neat mod and I will try it again when you have improved it.  Good luck,
Marian
Character Performance Environments, where your Imagination Rules!

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #66 on: January 14, 2007, 06:39:54 PM »
Ok, I went back a little and found the problem, I went to my form root and found the language file and deleted the code and it is now removed from my front page.

I just deleted the youtube and nothing else.  Thank you for trying to give us a neat mod and I will try it again when you have improved it.  Good luck,
Marian

There's nothing I can improve upon as far as the language file.  All you had to do was post the contents of Modifications.english.php and I could've fixed it for you.

Offline Green Hornet

  • Semi-Newbie
  • *
  • Posts: 27
  • Gender: Male
    • Site officiel du Tours Volley Ball
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #67 on: January 17, 2007, 07:00:03 PM »
Hello,

I'm using SMF 1.1.1 and i'd just install your mod but it doesn't work, you can have a look at this url:

http://forums.tewebe.com/index.php?topic=7480.msg115206#new

sorry i'm french so it is difficult for me to help you more in describing the problem but i wil try ;)

thanks,

regards

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #68 on: January 18, 2007, 12:56:30 AM »
Hello,

I'm using SMF 1.1.1 and i'd just install your mod but it doesn't work, you can have a look at this url:

http://forums.tewebe.com/index.php?topic=7480.msg115206#new

sorry i'm french so it is difficult for me to help you more in describing the problem but i wil try ;)

thanks,

regards

What browser are you using (and what version of that)?

Offline Green Hornet

  • Semi-Newbie
  • *
  • Posts: 27
  • Gender: Male
    • Site officiel du Tours Volley Ball
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #69 on: January 18, 2007, 03:22:09 AM »
don't work with Firefox 2.0.0.1 and Internet Explorer 7.0.5730.11 ...

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #70 on: January 18, 2007, 10:27:10 PM »
don't work with Firefox 2.0.0.1 and Internet Explorer 7.0.5730.11 ...


Odd, works for me on both.

Offline 4fit?

  • Jr. Member
  • **
  • Posts: 162
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #71 on: January 18, 2007, 11:12:19 PM »
don't work with Firefox 2.0.0.1 and Internet Explorer 7.0.5730.11 ...


Odd, works for me on both.
Works for me as well.  Can you post the code you are entering in the post box?  Maybe you are including the wrong portion of the url from YouTube between the tags.

Offline Gargiulo

  • Newbie
  • *
  • Posts: 1
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #72 on: January 19, 2007, 10:54:34 AM »
I've installed the mod today but I have some problems.

I uploaded the youtube.gif to my theme bcc dir and it works. I edited Modifications.english.php and Post.template.php of my theme (I use pdx-dk06).
When I type [youtube]SPE8vL5hlFA[/youtube], the post shows the code...
When I use the bcc button and I paste the yt code (like [youtube=425,350]SPE8vL5hlFA[/youtube]), I can't post because I get the error "The message body was left empty."
So if I add some words before or after the bcc code everything works and I see the video in the post..

It seems crazy  :D
What's happening?

« Last Edit: January 19, 2007, 10:57:06 AM by Gargiulo »

Offline 4fit?

  • Jr. Member
  • **
  • Posts: 162
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #73 on: January 19, 2007, 01:48:36 PM »
I've installed the mod today but I have some problems.

I uploaded the youtube.gif to my theme bcc dir and it works. I edited Modifications.english.php and Post.template.php of my theme (I use pdx-dk06).
When I type [youtube]SPE8vL5hlFA[/youtube], the post shows the code...
When I use the bcc button and I paste the yt code (like [youtube=425,350]SPE8vL5hlFA[/youtube]), I can't post because I get the error "The message body was left empty."
So if I add some words before or after the bcc code everything works and I see the video in the post..

It seems crazy  :D
What's happening?


I believe yo uhave to have the width/height parameters in there.  As for it saying the body was left empty, I get the same error message if all I put in there is the youtube code.  But, I normally type something in there along with the code anyways, so that doesn't bother me any.

Offline Green Hornet

  • Semi-Newbie
  • *
  • Posts: 27
  • Gender: Male
    • Site officiel du Tours Volley Ball
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #74 on: January 19, 2007, 05:13:04 PM »
don't work with Firefox 2.0.0.1 and Internet Explorer 7.0.5730.11 ...




Odd, works for me on both.
Works for me as well.  Can you post the code you are entering in the post box?  Maybe you are including the wrong portion of the url from YouTube between the tags.

Ok i understand, i included all the url not the protion, sorry it works :)

thanks everybody for help :)

Offline 127.0.0.1

  • Jr. Member
  • **
  • Posts: 265
  • Gender: Male
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #75 on: January 19, 2007, 06:47:51 PM »
I'm experiencing a bug, and I'd like to know if you can duplicate this mod on SMF 1.1.1.

When posting a message where the message body simply contains:

Code: [Select]
[youtube=425,350]43423432432[/youtube]

I receive the following notification:

Quote
The following error or errors occurred while posting this message:
The message body was left empty.

Offline RoarinRow

  • Full Member
  • ***
  • Posts: 662
  • Gender: Male
  • Ride my AV!
    • Avalanche Style
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #76 on: January 19, 2007, 07:00:13 PM »
I'm experiencing a bug, and I'd like to know if you can duplicate this mod on SMF 1.1.1.

When posting a message where the message body simply contains:

Code: [Select]
[youtube=425,350]43423432432[/youtube]

I receive the following notification:

Quote
The following error or errors occurred while posting this message:
The message body was left empty.

You have to type something in the body of the message even though you have that YouTube code, it doesn't recognize that as text.

Type the word 'test' for example, then use your YouTube code   :)

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Offline 127.0.0.1

  • Jr. Member
  • **
  • Posts: 265
  • Gender: Male
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #77 on: January 19, 2007, 07:11:58 PM »
Why is it the only tag that has to work like that? Posting just an IMG tag in the message body will work, why won't it work for the youtube tag? I've been into the Subs.php file trying to figure it out.

Offline RoarinRow

  • Full Member
  • ***
  • Posts: 662
  • Gender: Male
  • Ride my AV!
    • Avalanche Style
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #78 on: January 19, 2007, 07:20:44 PM »
Why is it the only tag that has to work like that? Posting just an IMG tag in the message body will work, why won't it work for the youtube tag? I've been into the Subs.php file trying to figure it out.

Got me there   ???   Something with the mod I guess.  Usually people on my forum will make a short intro before using the the code, e.g. Here's a funny bicycle accident, then use the mod to insert the YouTube value.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Offline kkdai

  • Newbie
  • *
  • Posts: 2
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #79 on: January 20, 2007, 04:54:30 PM »
Hi
Thanks for your great work.
I looking for this feature for so long.
I also migrate from Yabbse to SMF for your MOD.

But I have one question,

After I use this, every post which has youyube tag will become slow to present.

Does anyone has the same isssue?