Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

YOUTUBE TAG

Aloittaja sendoor, heinäkuu 23, 2007, 04:04:35 IP

« edellinen - seuraava »

sendoor

Hi,

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

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

Please help me.

Kindred

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
Сл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."

karlbenson


Smith6612

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.

karlbenson

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.

sendoor

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

Kindred

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.
Сл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."

sendoor

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

karlbenson

if your using a custom theme, you need to manually install it on each theme (if it has a custom post.template.php)

Smith6612

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.

vno

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? :)

karlbenson

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)

sendoor

Thank you all.

It is working for me.

Advertisement: