Support Forums

Full Version: [youtube]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've got these tags, working great.
Though, is there anyway I can make it work, just by using [yt][/yt]?
What is the name of the plugin you are using Smile
you would have to mod the plugin that you are using.
replace youtube to yt in the plugin php file.
unactivate your plugin.
upload new modded plugin to plugins dir.
activate your plugin again.
If you're using Omniscients' plugin for the youtube tags, [yt] should work fine. I always use the [yt]. I've never used [youtube].
You can use just a MyBB Code you dont need a plugin. Tell me if you want that code i will give you.
(02-20-2010, 01:37 PM)eXPerience™ Wrote: [ -> ]You can use just a MyBB Code you dont need a plugin. Tell me if you want that code i will give you.

Can I please have the code?
Sure:

Title:
Code:
Youtube

Short Description:
Code:
YouLarge Embeddable Youtube video

Regular Expression:

Code:
\[youtube\]http://www.youtube.com/watch\?v=(.*)\[/youtube\]

Replacement:

Code:
<center><div style="margin:0;padding:0;width:642px;"><div style="float:right;"><button onclick="MyBB.popupWindow('http://www.youtube.com/watch_popup?v=$1','youtube_$1',640,480);" style="background:url(http://s.ytimg.com/yt/img/master-vfl102488.png) 0 -658px;border:0;height:22px;width:27px;" /></div><object type="application/x-shockwave-flash" data="http://www.youtube.com/v/$1&amp;fs=1&amp;rel=0" width="642" height="388"><param name="movie" value="http://www.youtube.com/v/$1&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="wmode" value="transparent" /></object></div></center>
eXPerience™ is correct.
you can easy make mycodes in your admin panel.