PDA

View Full Version : Suggestion: jhansle1



costanza2k1
05-21-2008, 11:26 AM
Youtube video suggestion, here's a little how to on how to add youtube to the phpbb3. I don't know if it is possible or not or if you even want to do it...but I'll include it anyhow. I should make adding videos easier:


Adding a YouTube tag to phpBB3

Bayard Randal was using the open source online forum software application phpBB3, and decided to create a hack to allow users to easily embed YouTube videos in their forum posts.

Click the link to see his walkthrough.

Using phpBB3 Release Candidate 4 - released 28 July 2007.

1. Log in to the Administrative Control Panel (ACP), and click the Posting tab.

2. Click the Add a new BBCode button in the bottom right hand corner.
phpbb3_1.png


3. Enter the following under BBCode Usage:

[youtube:3j1smmkf]{TEXT}[/youtube:3j1smmkf]

4. Enter the following under HTML replacement:

<embed src="http://www.youtube.com/v/{TEXT}" wmode="transparent" style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" flashvars="">

5. (Optional) Enter the following under Help line:
Use the ID of the youtube video.

6. Ensure that Display on posting page is checked.

7. Click Submit

You should now have a YouTube button available from your posting interface.

phpbb3_2.png

To use it, simply enter the ID of the YouYube video between the BBCode.

Example:

If your youtube URIL is: http://www.youtube.com/watch?v=areyUfCNFxY


your BBCode in your post would appear:


[youtube:3j1smmkf]areyUfCNFxY[/youtube:3j1smmkf]


Thanks for the tip, Bayard!

This link has pictures too: http://www.lifehacker.com.au/tips/2007/08/22/adding_a_youtube_tag_to_phpbb3_1.html

Shawn
05-21-2008, 12:26 PM
Playing around with php code is tricky from my understanding. I'm not sure about J's level of comfort with php code...but would be worth a try if that's his thing. Of course we can always just post a link to the youtube video.

costanza2k1
05-21-2008, 12:38 PM
I hear ya with the PHP code, I think this one is majority menu driven. Like you said links will work, the suggestion is probably more of a luxury suggestion than a need.

steelz09
05-27-2008, 07:03 PM
I may be a little bit confused, but there is a How To on how to embed a video in the forum. I do have proficiency in php, so I could install a mod, but I this functionality already exists.

costanza2k1
05-28-2008, 02:25 AM
The how to you provided works just fine...sorry for not being clear. What I was referring to was for lazy people like me :lol: See the pic:

http://www.lifehacker.com.au/2007/08/22/phpbb3_2.png

[youtube:2rutc8yi]mD0vARpus-g[/youtube:2rutc8yi]