Simple Machines Community Forum

SMF Development => Feature Requests => Applied or Declined Requests => Aiheen aloitti: sendoor - heinäkuu 23, 2007, 04:04:35 IP

Otsikko: YOUTUBE TAG
Kirjoitti: sendoor - heinäkuu 23, 2007, 04:04:35 IP
Hi,

How can I add youtube tag in my forum...

I want to put. Is that possible...?

Please help me.
Otsikko: Re: YOUTUBE TAG
Kirjoitti: Kindred - heinäkuu 23, 2007, 04:43:22 IP
http://custom.simplemachines.org/mods/index.php?action=search

search for youtube

there are at least 10 mods in the list that have something to do with Youtube
Otsikko: Re: YOUTUBE TAG
Kirjoitti: karlbenson - heinäkuu 23, 2007, 05:41:34 IP
4,

close enough ;)
Otsikko: Re: YOUTUBE TAG
Kirjoitti: Smith6612 - heinäkuu 23, 2007, 06:16:57 IP
Well, you don't necessarily need a YouTube tag. If you know BBCode and HTML well enough, you could easily make your own mod free, or if you enable HTML, could copy and paste the code YouTube gives you, like found here... the HTML box is circled in Red.



Or if you just want to use the built in flash feature, just make the code, in example of this video, like this.

Lainaahttp://www.youtube.com/v/2N11Gx37e...

Notice I took the URL from the end of the URL to the video, after the watch?v= part of the URL.

But it isn't my forum, so you can install it if you'd like. I try to avoid using mods because something always happens to my forum after a week or two with them installed, and then it breaks or the server lags so much because of errors that I have to uninstall the mods and restore the previous state before the mods, then delete the tables the mods made if any from the database.
Otsikko: Re: YOUTUBE TAG
Kirjoitti: karlbenson - heinäkuu 23, 2007, 06:20:30 IP
Its not recommended to enable flash (thats why youtube mods were developed)
because allowing users to embed flash can be dangerous (for security reasons)

Just as html can also be dangerous, hence why bbcode was developed.
Otsikko: Re: YOUTUBE TAG
Kirjoitti: sendoor - heinäkuu 24, 2007, 09:57:19 AP
Lainaus käyttäjältä: Kindred - heinäkuu 23, 2007, 04:43:22 IP
http://custom.simplemachines.org/mods/index.php?action=search

search for youtube

there are at least 10 mods in the list that have something to do with Youtube

I've downloaded one mod. There are 2 xml files... How to install those? I try like this way. I copied to the forum folder and I opened. But its not working.
Could you please advise me that how to install for this...
Otsikko: Re: YOUTUBE TAG
Kirjoitti: Kindred - heinäkuu 24, 2007, 10:02:45 AP
mo packages are installed using the package manager in SMF's admin section or by applying the mod manually to the source and template files.
Otsikko: Re: YOUTUBE TAG
Kirjoitti: sendoor - heinäkuu 24, 2007, 05:09:27 IP
I've upload and installed the zip file (for the youtube tag).


But still its not shwing in the post editor page.


Also I've tried like
[/b]
But still now improement. Could you please advise me on this regards.

Thank you...
Otsikko: Re: YOUTUBE TAG
Kirjoitti: karlbenson - heinäkuu 24, 2007, 05:11:27 IP
if your using a custom theme, you need to manually install it on each theme (if it has a custom post.template.php)
Otsikko: Re: YOUTUBE TAG
Kirjoitti: Smith6612 - heinäkuu 24, 2007, 05:59:43 IP
I've also had problems with this mod too, where the GIF image loads up blank on the default theme, and comes up as text instead. I find that resaving the image might help make it appear too on the default theme.
Otsikko: Re: YOUTUBE TAG
Kirjoitti: vno - heinäkuu 24, 2007, 06:13:51 IP
Lainaus käyttäjältä: karlbenson - heinäkuu 24, 2007, 05:11:27 IP
if your using a custom theme, you need to manually install it on each theme (if it has a custom post.template.php)

if a custom theme doesn't have a post.template.php, is that mean we are done? :)
Otsikko: Re: YOUTUBE TAG
Kirjoitti: karlbenson - heinäkuu 24, 2007, 07:02:56 IP
You may need to add the youtube image into each Themes/{theme}/images/bbc/ directory
(so that the image loads on the button)

If you see the button on the Post Screen, then thats a good sign.

As for getting it to work.  Depending on which Youtube modification you installed, the code to make it work may be either the full youtube url, just the video, either (see the notes for the mod which works and which doesnt)
Otsikko: Re: YOUTUBE TAG
Kirjoitti: sendoor - heinäkuu 25, 2007, 03:18:28 AP
Thank you all.

It is working for me.