<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress support forums User Favorites: citizenkeith</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums User Favorites: citizenkeith</description>
<language>en</language>
<pubDate>Thu, 04 Dec 2008 07:14:28 +0000</pubDate>

<item>
<title>chrishajer on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-16511</link>
<pubDate>Thu, 29 May 2008 14:31:19 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">16511@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;If you look at the plugin, it's pretty simple.  Line 12:&#60;br /&#62;
&#60;code&#62;if (bb_current_user_can(&#38;#39;administrate&#38;#39;)&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If you want to allow other users to do everything that this plugin allows, you would need to change 'administrate' to whatever permission your users have.  I am not going to post exactly how to do it, since I think it could be a potential security hole, but that line right there is the key.  Take a look at the plugin and see what I mean.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://bbpress.org/plugins/topic/admin-can-post-anything/&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/plugins/topic/admin-can-post-anything/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>bboysmaster on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-16505</link>
<pubDate>Thu, 29 May 2008 05:36:11 +0000</pubDate>
<dc:creator>bboysmaster</dc:creator>
<guid isPermaLink="false">16505@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;How to change it to all user can post embed object?
&#60;/p&#62;</description>
</item>
<item>
<title>andrew79 on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-11581</link>
<pubDate>Sat, 20 Oct 2007 16:47:33 +0000</pubDate>
<dc:creator>andrew79</dc:creator>
<guid isPermaLink="false">11581@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Great , Thanks trent
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-11565</link>
<pubDate>Fri, 19 Oct 2007 19:02:10 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">11565@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I managed to destroy this one and with a server crash and just haven't rewrote it yet, but if you head over to &#60;a href=&#34;http://bbpress.org/plugins/topic/55?replies=8&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/plugins/topic/55?replies=8&#60;/a&#62; that plugin will do the same thing ;)&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>andrew79 on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-11525</link>
<pubDate>Thu, 18 Oct 2007 18:05:51 +0000</pubDate>
<dc:creator>andrew79</dc:creator>
<guid isPermaLink="false">11525@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Link doesnt work. 404 error. Anyone have the plugin somewhere else?
&#60;/p&#62;</description>
</item>
<item>
<title>Detective on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-11098</link>
<pubDate>Tue, 25 Sep 2007 17:48:30 +0000</pubDate>
<dc:creator>Detective</dc:creator>
<guid isPermaLink="false">11098@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I use this plugin ported from a Vanilla Extension:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/*
Plugin Name: Video Tags
Plugin URI: &#60;a href=&#34;http://lussumo.com/addons/index.php?PostBackAction=AddOn&#38;#38;AddOnID=33&#34; rel=&#34;nofollow&#34;&#62;http://lussumo.com/addons/index.php?PostBackAction=AddOn&#38;#38;AddOnID=33&#60;/a&#62;
Description: Ported from SirNot&#38;#39;s HtmlFormatter for Vanilla
Author URI:
Version: 0.1
*/

//allow youtube and google videos to be posted, tags are:
//&#38;lt;video type=&#38;quot;google&#38;quot;&#38;gt;docid&#38;lt;/video&#38;gt; (google video) -or-
//&#38;lt;video type=&#38;quot;youtube&#38;quot;&#38;gt;video id&#38;lt;/video&#38;gt; (youtube) -or-

function video_embed($texto){
                $sReturn = preg_replace_callback(
                                &#38;#39;/&#38;lt;video(?&#38;gt;\s+)type=([&#38;quot;\&#38;#39;&#60;/code&#62;&#60;/pre&#62;
])((?&#38;gt;\w+))\1(?&#38;gt;\s*)&#38;gt;([A-Za-z\-_\d]+?)&#38;lt;\/video&#38;gt;/is',&#60;br /&#62;
                                'VideoLink',&#60;br /&#62;
                                $texto&#60;br /&#62;
                        );&#60;br /&#62;
                return $sReturn;&#60;br /&#62;
        }&#60;/p&#62;
&#60;p&#62;        function VideoLink($Matches)&#60;br /&#62;
        {&#60;br /&#62;
                $Type = strtolower(trim($Matches[2]));&#60;br /&#62;
                $ID = $Matches[3];&#60;/p&#62;
&#60;p&#62;                switch($Type)&#60;br /&#62;
                {&#60;br /&#62;
                        case 'google' : return ('&#38;lt;embed style=&#34;width: 400px; height: 326px;&#34; id=&#34;VideoPlayback&#34; '.&#60;br /&#62;
                                'type=&#34;application/x-shockwave-flash&#34; src=&#34;http://video.google.com/googleplayer.swf?docId='.$ID.'&#34;&#38;gt;&#38;lt;/embed&#38;gt;');&#60;/p&#62;
&#60;p&#62;                        case 'youtube' : return ('&#38;lt;object width=&#34;425&#34; height=&#34;350&#34;&#38;gt;&#38;lt;param name=&#34;movie&#34; value=&#34;http://www.youtube.com/v/'.$ID.'&#34;&#38;gt;&#38;lt;/param&#38;gt;'.&#60;br /&#62;
                                '&#38;lt;embed src=&#34;http://www.youtube.com/v/'.$ID.'&#34; type=&#34;application/x-shockwave-flash&#34; width=&#34;425&#34; height=&#34;350&#34;&#38;gt;&#38;lt;/embed&#38;gt;'.&#60;br /&#62;
                                '&#38;lt;/object&#38;gt;');&#60;/p&#62;
&#60;p&#62;                        default : return $Matches[0];&#60;br /&#62;
                }&#60;br /&#62;
        }&#60;/p&#62;
&#60;p&#62;function allow_video_tags( $tags ) {&#60;br /&#62;
        $tags['video'] = array('type' =&#38;gt; array('maxlen' =&#38;gt; 10));&#60;br /&#62;
        return $tags;&#60;br /&#62;
}                                         &#60;/p&#62;
&#60;p&#62;add_filter( 'bb_allowed_tags', 'allow_video_tags' );&#60;br /&#62;
add_filter( 'post_text', 'video_embed' );&#60;/p&#62;
&#60;p&#62;?&#38;gt;&#60;br /&#62;
`&#60;/p&#62;
&#60;p&#62;It allows you to embed video only from YT or Google Video.
&#60;/p&#62;</description>
</item>
<item>
<title>chanzero on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-11086</link>
<pubDate>Mon, 24 Sep 2007 21:40:05 +0000</pubDate>
<dc:creator>chanzero</dc:creator>
<guid isPermaLink="false">11086@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;i don't think it's just that link the entire plugin database seems to be down. but hopefully back up soon?
&#60;/p&#62;</description>
</item>
<item>
<title>intellivision on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-11085</link>
<pubDate>Mon, 24 Sep 2007 20:55:59 +0000</pubDate>
<dc:creator>intellivision</dc:creator>
<guid isPermaLink="false">11085@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Anyone have allow-youtube.zip? The link at the top is 404'ing.&#60;/p&#62;
&#60;p&#62;Thx
&#60;/p&#62;</description>
</item>
<item>
<title>chanzero on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-11084</link>
<pubDate>Mon, 24 Sep 2007 20:17:37 +0000</pubDate>
<dc:creator>chanzero</dc:creator>
<guid isPermaLink="false">11084@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I second nolageek's request :)
&#60;/p&#62;</description>
</item>
<item>
<title>nolageek on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-10598</link>
<pubDate>Thu, 30 Aug 2007 12:48:09 +0000</pubDate>
<dc:creator>nolageek</dc:creator>
<guid isPermaLink="false">10598@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;has anyone tried hacking this to limit the types of embeds.. say, make sure it's only from x-tube/youtube/etc... maybe a url check?
&#60;/p&#62;</description>
</item>
<item>
<title>Beer on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-8778</link>
<pubDate>Sun, 08 Jul 2007 18:50:42 +0000</pubDate>
<dc:creator>Beer</dc:creator>
<guid isPermaLink="false">8778@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Testing it out here:&#60;br /&#62;
&#60;a href=&#34;http://www.grindhouse.com/forums/topic/31&#34; rel=&#34;nofollow&#34;&#62;http://www.grindhouse.com/forums/topic/31&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Will come in handy for the site as it grows.  Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-7703</link>
<pubDate>Mon, 28 May 2007 16:08:29 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">7703@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;How does that help integrate youtube into bbPress?    That is just a site that now allows its members to integrate youtube into their site.    I would recommend just using this one.&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>scott11 on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-7702</link>
<pubDate>Mon, 28 May 2007 15:51:11 +0000</pubDate>
<dc:creator>scott11</dc:creator>
<guid isPermaLink="false">7702@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;If you need to know some different ways to integrate Youtube, check out this&#60;br /&#62;
site at soulcast.com [link edited by trent]
&#60;/p&#62;</description>
</item>
<item>
<title>startribe on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-7697</link>
<pubDate>Mon, 28 May 2007 07:24:22 +0000</pubDate>
<dc:creator>startribe</dc:creator>
<guid isPermaLink="false">7697@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Beautiful! It works, thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-7633</link>
<pubDate>Thu, 24 May 2007 17:13:55 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">7633@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Off the top of my head, change this line:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;if (bb_current_user_can(&#38;#39;administrate&#38;#39;)) :&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;to something like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;if (bb_current_user_can(&#38;#39;moderate&#38;#39;)) :&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;That should get it working!&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>startribe on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-7613</link>
<pubDate>Thu, 24 May 2007 00:37:36 +0000</pubDate>
<dc:creator>startribe</dc:creator>
<guid isPermaLink="false">7613@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hey Trent,&#60;/p&#62;
&#60;p&#62;How can I set this so Moderators can also post youtube videos.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Orion
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-5857</link>
<pubDate>Sun, 25 Mar 2007 00:57:35 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">5857@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It will be more like how wordpress.com does it:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;[youtube=videolink]&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-5779</link>
<pubDate>Fri, 23 Mar 2007 15:36:00 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">5779@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;So in the next version like:&#60;br /&#62;
&#60;code&#62;&#38;lt;youtube&#38;gt;linktothevideo&#38;lt;/youtube&#38;gt;&#60;/code&#62; ??
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-5709</link>
<pubDate>Wed, 21 Mar 2007 23:27:27 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">5709@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I have managed to embed all kinds of things!   Fun actually!&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://onvertigo.com/topic/media-types-played-in-this-forum?replies=9&#34; rel=&#34;nofollow&#34;&#62;http://onvertigo.com/topic/media-types-played-in-this-forum?replies=9&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Plugin:  YouTube in bbPress"</title>
<link>http://bbpress.org/forums/topic/plugin-youtube-in-bbpress#post-5707</link>
<pubDate>Wed, 21 Mar 2007 23:04:00 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">5707@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;First off, an example can be found &#60;a href=&#34;http://onvertigo.com/topic/media-types-played-in-this-forum?replies=8#post-26&#34;&#62;here&#60;/a&#62;.    Download the &#60;a href=&#34;http://onvertigo.com/downloads/allow-youtube.zip&#34;&#62;bbPress YouTube plugin&#60;/a&#62;!   Now the disclaimer.......&#60;/p&#62;
&#60;p&#62;This plugin will only Key Masters and Administrators to put YouTube videos into posts.   Why only those two groups you might ask?   Well, because this plugin right now allows ALL embeds and objects out there to be put into your forum posts and I thought this might be a bit much for the general public!    This plugin was started by myself and then mdawaffe finished it off for me.   Nothing special, but the next version will have the code to only only YouTube videos in an easy way, but for now you need the entire embed code from YouTube, like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;object width=&#38;quot;425&#38;quot; height=&#38;quot;350&#38;quot;&#38;gt;&#38;lt;param name=&#38;quot;movie&#38;quot; value=&#38;quot;http://www.youtube.com/v/lh5316fcit0&#38;quot;&#38;gt;&#38;lt;/param&#38;gt;&#38;lt;param name=&#38;quot;wmode&#38;quot; value=&#38;quot;transparent&#38;quot;&#38;gt;&#38;lt;/param&#38;gt;&#38;lt;embed src=&#38;quot;http://www.youtube.com/v/lh5316fcit0&#38;quot; type=&#38;quot;application/x-shockwave-flash&#38;quot; wmode=&#38;quot;transparent&#38;quot; width=&#38;quot;425&#38;quot; height=&#38;quot;350&#38;quot;&#38;gt;&#38;lt;/embed&#38;gt;&#38;lt;/object&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If you decide to take out the conditional for adminstrators, do so at your own risk!    It is nothing special, but at least will do until we can get a better version!&#60;/p&#62;
&#60;p&#62;Enjoy!&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>

</channel>
</rss>
