|
|
Registered User Currently Offline
|
Posts: 25
Join Date: Jan 2008
|
|
Quote: you mean to modify code to insert videos from YouTube in a forum?
Exactly.
As i said it's quite simple and takes just couple minutes.
First open the functions.php file and copy one of those functions, which wraps the anchor tags into forum messages. And modity it to handle the new <youtube></youtube> tags, the new function should wrap up the youtube embed code into message.
Then you should add the button to drop these tags <youtube></youtube> into the edit message form. Just copy and modify the line for <code></code> tags. That's it. Upload all the modified files and you've done.
|