Files to edit:
includes/bbcode.php
themes/YOUR_THEME/forums/bbcode.tpl (note: If you use the default phpbb template then this file is located at modules/Forums/templates/subSilver/bbcode.tpl)
modules/Forums/posting.php
modules/Forums/language/lang_english/lang_main.php
themes/YOUR_THEME/forums/posting_body.tpl (note: If you use the default phpbb template then this file is located at modules/Forums/templates/subSilver/posting_body.tpl
If you would like us to make the changes for you, please contact us by using this button.
Steps :
1. It might seem like alot of editing but it's actually easy. First open includes/bbcode.php and find the following codes:
Directly under that line paste the following codes:
Done!
2. Next find the following codes. If you can't find all of the codes, try searching for a part of it. Maybe the first 10 letters.
Directly under that code paste the following:
Done!
3. Next find the following codes. Again, if you can't find all of the codes try searching for a portion of it.
Directly under that paste the following codes.
Done!
4. Open themes/YOUR_THEME/forums/bbcode.tpl (note: If you use the default phpbb template then this file is located at modules/Forums/templates/subSilver/bbcode.tpl) and find the following:
Directly under that paste the following codes. This code should be one line. It has been wrapped to fit inside this website theme.
Done!
5. Open modules/Forums/posting.php and find the following:
Directly under that paste the following codes.
Done!
6. Open modules/Forums/language/lang_english/lang_main.php and find the following:
Directly under that paste the following codes.
Done!
7. We are almost done :) Open themes/YOUR_THEME/forums/posting_body.tpl (note: If you use the default phpbb template then this file is located at modules/Forums/templates/subSilver/posting_body.tpl and find the following:
Directly under that paste the following codes.
Done!
8. Find:
In-line find '[/url]' and beside it add the following:
Done!
9. Find the following (note: the code should be one line, it has been wrapped to fit this website theme):
Directly after that paste the following (note: the code should be one line, it has been wrapped to fit this website theme).
This part needs a little attention. You should add 2 to each value if already taken " addbbcode18, bbstyle(18) " . Notice in the above the code it has "16" so we added 2.
Done!
That's it! Enjoy and please Back Up as usual before making any major changes.
Now how-to-use.
First visit youtube and get the video link eg. http://www.youtube.com/watch?v=mySDeYuJn2M
Next create a post in your forum and place the url in the youtube tag [youtube]http://www.youtube.com/watch?v=mySDeYuJn2M[/youtube]
Consider buying me coffee if you find this tutorial helpful.