Premium Membership
Subscription graphics design php html youtube
Gold Subscription with Silver access
graphics design php html youtube
Live Support
Contact us by live help [photoshop, website design, tutorials]
Not available on weekends



Add Google video/Daily Motions Video to phpbb forums



Hire Us!Download Video(0)Comments
Need Jobs done? Use our brand new Jobs Board to get your projects done at affordable prices.


Google video has become one of the more popular video hosting website. There is also another upcoming website http://www.dailymotions.com which also hosts great videos. This tutorial will show you how to add a bbcode which will be used to display both google videos and daily motions videos.

This tutorial also works with phpbb forums that is not integrated with phpnuke.

Example:
Google/DailyMotion video in phpbb forums

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 video.google.com or dailymotions.com and get only the src url to the file eg. http://video.google.com/googleplayer.swf?docId=-4690396156416705374&hl=en . This src url is shown in the embed codes.


Next create a post in your forum and place the url in the wsvideo tag [wsvideo]http://video.google.com/googleplayer.swf?docId=-4690396156416705374&hl=en[/wsvideo]

Hire Us!Download Video(0)Comments

Need Jobs done? Use our brand new Jobs Board to get your projects done at affordable prices.




New Subscribers



Subscriber

coopvet2000

Platinum Subscribers

#1
Subscriber

inthee30zone

Platinum Subscribers

#2
Subscriber

kowalski

Silver Subscribers

#3
Subscriber

MikeMc

Platinum Subscribers

#4
Subscriber

MikeMc

Silver Subscribers

#5




Our Sponsors



Custom jobs at low cost, free lancers and service buyers.
Horror Movie News
Advertise with Western Studios.net
PHP Nuke themes, stock photos, icons, drupal themes and more.


Downloads



Latest in downloads

Most downloaded


Jobs





Community

Western Studios is an award winning website creating website disign and professional php scripts.

Associated Sites

Marketplace Themes, scripts, icons and images

Themes site PHP Nuke themes preview site.