2006-09-10, 03:19 AM
this isn't a plugin more like a howto use a 1.2 feature.
http://wiifantastic.com/showthread.php?tid=139
i don't know how to make it into an actual plugin or how to put a button into the top of the post header thing. If anyone could fill me in on that, that would be cool.
- open up admin cp
- scroll to message filters and open up custom mycode.
- put in a title and description for the code.
- put this
in the 'regular expression' box. this will yield [youtube] as the bbcode to distinguish the video.\[\youtube\](.*?)\[/youtube\]
- put this
in the 'replacement' box. this is the basic embedd url for a video with the video id replaced with $1, which is the string for whatever is between the mybb code.<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/$1"></param><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
http://wiifantastic.com/showthread.php?tid=139
i don't know how to make it into an actual plugin or how to put a button into the top of the post header thing. If anyone could fill me in on that, that would be cool.