<?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: cadre</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums User Favorites: cadre</description>
<language>en</language>
<pubDate>Thu, 04 Dec 2008 06:25:29 +0000</pubDate>

<item>
<title>agl666 on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-17910</link>
<pubDate>Sun, 03 Aug 2008 08:05:47 +0000</pubDate>
<dc:creator>agl666</dc:creator>
<guid isPermaLink="false">17910@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi! Thanks for such a useful plugin :)&#60;/p&#62;
&#60;p&#62;But unfogtunately I have a little bug, let me name it like that. Profile page have two &#34;Avatar&#34; tabs. Like showed on this screenshot: &#60;a href=&#34;http://www.picamatic.com/show/2008/08/03/12/741682_804x186.jpg&#34; rel=&#34;nofollow&#34;&#62;http://www.picamatic.com/show/2008/08/03/12/741682_804x186.jpg&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;What can I do with that?
&#60;/p&#62;</description>
</item>
<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>kmccallum on "bbpress / wordpress avatar?"</title>
<link>http://bbpress.org/forums/topic/bbpress-wordpress-avatar#post-16119</link>
<pubDate>Sat, 10 May 2008 10:05:30 +0000</pubDate>
<dc:creator>kmccallum</dc:creator>
<guid isPermaLink="false">16119@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;The code he pasted, above, is missing the &#38;lt;?php ... ?&#38;gt; tags, so I'm also getting compiler errors.
&#60;/p&#62;</description>
</item>
<item>
<title>tlibby on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-15699</link>
<pubDate>Tue, 22 Apr 2008 23:53:09 +0000</pubDate>
<dc:creator>tlibby</dc:creator>
<guid isPermaLink="false">15699@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Everything works fine on my forum, it just won't display the uploaded avatars. Permissions are all correct, anyone know what the reason is that could be causing this?
&#60;/p&#62;</description>
</item>
<item>
<title>affacat on "bbpress / wordpress avatar?"</title>
<link>http://bbpress.org/forums/topic/bbpress-wordpress-avatar#post-15099</link>
<pubDate>Mon, 07 Apr 2008 08:40:22 +0000</pubDate>
<dc:creator>affacat</dc:creator>
<guid isPermaLink="false">15099@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;does this still work for latest versions (2.5, 9.0.1)?
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-14827</link>
<pubDate>Sun, 30 Mar 2008 20:41:18 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">14827@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This was mentioned before and covered in the forums.  I can't find it now, but basically it enforced a min height for the reply so it would never be shorter than the avatar.
&#60;/p&#62;</description>
</item>
<item>
<title>CoreForce on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-14822</link>
<pubDate>Sun, 30 Mar 2008 16:52:50 +0000</pubDate>
<dc:creator>CoreForce</dc:creator>
<guid isPermaLink="false">14822@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm very pleased with the Avatar Upload, great work. Also I like the integration into bbpress a lot, it's really straight forward.&#60;/p&#62;
&#60;p&#62;Only one small visual glitch that I noticed is that for avatars even when resized to 100x100 max, with small (1 line) posts the avatar image will overlap into the portion of next post, rendering the next user name unreadable. The callout for the img code has been included where suggested by the docs. Anyone else did recognize this as a problem?&#60;/p&#62;
&#60;p&#62;I'm using version 0.8.3 of the plugin (avatar-upload.0.8.3.zip).&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>NeutralX2 on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-14523</link>
<pubDate>Mon, 17 Mar 2008 20:26:07 +0000</pubDate>
<dc:creator>NeutralX2</dc:creator>
<guid isPermaLink="false">14523@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Very nice plugin. It works great. Quick question though:&#60;/p&#62;
&#60;p&#62;Is it possible to get rid of the &#34;Upload Avatar&#34; tab to the Profile menu? I just don't have the room for another option on the menu. How would I go about removing the tab and adding a &#34;Upload Avatar&#34; link to the profile page?
&#60;/p&#62;</description>
</item>
<item>
<title>itissue on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-14377</link>
<pubDate>Mon, 10 Mar 2008 04:59:56 +0000</pubDate>
<dc:creator>itissue</dc:creator>
<guid isPermaLink="false">14377@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This plugin is simply wonderful. The only problem is, if a user uploads an animated gif, it doesn't appear animated. Is there a way to fix this problem?
&#60;/p&#62;</description>
</item>
<item>
<title>horrorshow on "Cookie Hell: WPMU + BBPress = bloodshot eye balls"</title>
<link>http://bbpress.org/forums/topic/cookie-hell-wpmu-bbpress-bloodshot-eye-balls#post-14264</link>
<pubDate>Tue, 04 Mar 2008 20:37:40 +0000</pubDate>
<dc:creator>horrorshow</dc:creator>
<guid isPermaLink="false">14264@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;FofR,  he's trying to integrate WPMU, not WP, with BBpress
&#60;/p&#62;</description>
</item>
<item>
<title>thierryyyyyyy on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-14189</link>
<pubDate>Sun, 02 Mar 2008 01:06:53 +0000</pubDate>
<dc:creator>thierryyyyyyy</dc:creator>
<guid isPermaLink="false">14189@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thank you a lot.&#60;br /&#62;
You are right : I updated badly my files, I forgot to uptdate the root directory &#34;avatar-upload.php&#34;.&#60;br /&#62;
Now, it works far better :)&#60;/p&#62;
&#60;p&#62;if I could allow myself to a small advice : it would be far better if the installation where just &#34;put 1 directory in the my-plugins directory&#34;.&#60;/p&#62;
&#60;p&#62;anyway, the readme.txt was clear enougth, it my fault.&#60;br /&#62;
and the plugin is very nice.
&#60;/p&#62;</description>
</item>
<item>
<title>louisedade on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-14169</link>
<pubDate>Sat, 01 Mar 2008 10:42:32 +0000</pubDate>
<dc:creator>louisedade</dc:creator>
<guid isPermaLink="false">14169@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Aha!  That error string comes from a &#60;strong&#62;much older&#60;/strong&#62; version of the plugin -- please can you try installing the latest version and see if you still have errors?&#60;/p&#62;
&#60;p&#62;Latest Version:  0.8.3&#60;br /&#62;
&#60;a href=&#34;http://bbpress.org/plugins/topic/avatar-upload/&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/plugins/topic/avatar-upload/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-14165</link>
<pubDate>Fri, 29 Feb 2008 22:02:16 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">14165@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I can't even find that string &#34;The file is not a valid GIF, JPG/JPEG or PNG image-type&#34; in the source. Where would that message be coming from?  Is that the actual error or paraphrased?  I see all the error messages in additional-files/avatar-upload.php, but that doesn't appear to be one of them.&#60;/p&#62;
&#60;p&#62;Screenshot of the actual error being displayed?
&#60;/p&#62;</description>
</item>
<item>
<title>Jolaedana on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-14157</link>
<pubDate>Fri, 29 Feb 2008 19:35:14 +0000</pubDate>
<dc:creator>Jolaedana</dc:creator>
<guid isPermaLink="false">14157@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I am having the same issue as thierryyyyy with this plugin- and it's all my users, as well. I've tried saving the file out without any special characters, using every export option in Photoshop, Apple's Preview, and another program called Graphic Converter- there's just no way the JPG is corrupt, I work in graphics all day every day.&#60;/p&#62;
&#60;p&#62;I'm running 0.8.3.1&#60;br /&#62;
Integrated with WP, and got quite a few other plugins running- I believe it was fine with all these same plugins previously though!&#60;/p&#62;
&#60;p&#62;Any thoughts? I'm happy to give any information I can. Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>louisedade on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-14154</link>
<pubDate>Fri, 29 Feb 2008 12:19:44 +0000</pubDate>
<dc:creator>louisedade</dc:creator>
<guid isPermaLink="false">14154@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hmm.. ok, it's been a logn time since I was here, sorry about that.&#60;/p&#62;
&#60;p&#62;The file extension being in all caps shouldn't be a problem, the filenames are made lower case before they are checked.&#60;/p&#62;
&#60;p&#62;It could be the file got corrupted or something, or isn't a proper JPEG - what software did he use to create it?
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-14142</link>
<pubDate>Thu, 28 Feb 2008 01:04:50 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">14142@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Is it possible the extension was in all caps?  I think the plugin expects to see one of a specific list of extensions, and they're all lower case.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;#39;file_extns&#38;#39; =&#38;gt; array(&#38;quot;gif&#38;quot;, &#38;quot;jpg&#38;quot;, &#38;quot;jpeg&#38;quot;, &#38;quot;png&#38;quot;)&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If it wasn't one of those extensions, I think you would get an error.
&#60;/p&#62;</description>
</item>
<item>
<title>thierryyyyyyy on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-14140</link>
<pubDate>Wed, 27 Feb 2008 23:18:12 +0000</pubDate>
<dc:creator>thierryyyyyyy</dc:creator>
<guid isPermaLink="false">14140@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;hi everybody.&#60;/p&#62;
&#60;p&#62;one user tried to upload its avatar and he always get this error : &#34;The file is not a valid GIF, JPG/JPEG or PNG image-type.&#34;&#60;br /&#62;
He send me the .jpg, I tried to upload it for him, and I get the same error. I checked the file : it is really a jpg. I resized it with irfanview, in order to change size and weight (even if the file was already small enough). Same error.&#60;/p&#62;
&#60;p&#62;I solve this problem in putting the file in the avatar directory and changing the usermeta directly in the database ... but I won't do that for all my users !&#60;br /&#62;
Someone has an idea ?
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "bbpress / wordpress avatar?"</title>
<link>http://bbpress.org/forums/topic/bbpress-wordpress-avatar#post-14039</link>
<pubDate>Sun, 24 Feb 2008 17:00:04 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">14039@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;If you have access to a log file, check to see what the fatal error was, or temporarily configure your webserver to echo errors to the browser, or redirect them to a file.  A fatal error can be anything: you need to know specifically what the error is to have a chance at fixing it.
&#60;/p&#62;</description>
</item>
<item>
<title>stereopoly on "bbpress / wordpress avatar?"</title>
<link>http://bbpress.org/forums/topic/bbpress-wordpress-avatar#post-14034</link>
<pubDate>Sun, 24 Feb 2008 15:06:50 +0000</pubDate>
<dc:creator>stereopoly</dc:creator>
<guid isPermaLink="false">14034@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Trying to activate Vili's Avatar Thingy, my wordpress says:&#60;/p&#62;
&#60;p&#62;&#34;The plugin could not be activated for it's causing a fatal error.&#34;&#60;/p&#62;
&#60;p&#62;What now? :(
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-13660</link>
<pubDate>Fri, 08 Feb 2008 07:19:17 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">13660@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;That should be fixed now.
&#60;/p&#62;</description>
</item>
<item>
<title>noyz319 on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-13659</link>
<pubDate>Fri, 08 Feb 2008 00:35:06 +0000</pubDate>
<dc:creator>noyz319</dc:creator>
<guid isPermaLink="false">13659@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Where can you download this plugin??? This link in the plugin repository does not work:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://bbpress.org/plugins/topic/avatar-upload/avatar-upload.0.8.3.zip&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/plugins/topic/avatar-upload/avatar-upload.0.8.3.zip&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It gives me a 404 File Not Found message
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-13513</link>
<pubDate>Thu, 31 Jan 2008 18:16:15 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">13513@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Another fix for another caching bug:&#60;/p&#62;
&#60;p&#62;The  query below is never cached - hence if the avatar is for a user other than the current one and is shown multiple times on a page, it causes a query each time since it does not pass through the bbpress caching mechanism.&#60;/p&#62;
&#60;p&#62;(around line 117)&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$bb_query = &#38;quot;SELECT meta_value FROM $bbdb-&#38;gt;usermeta WHERE meta_key=&#38;#39;avatar_file&#38;#39; AND user_id=&#38;#39;$id&#38;#39; LIMIT 1&#38;quot;;
		if ( $avatar = $bbdb-&#38;gt;get_results($bb_query) ) {&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;replace with this code to properly cache and radically reduce queries on a busy topic:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if ( $avatar = bb_get_usermeta( $id, &#38;quot;avatar_file&#38;quot;)) {
			$a = explode(&#38;quot;&#124;&#38;quot;, $avatar);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;note that &#60;code&#62;$avatar[0]-&#38;gt;meta_value&#60;/code&#62; is then simply replaced with $avatar&#60;/p&#62;
&#60;p&#62;This may require newer versions of bbpress (build 904+) but that was seven months ago as of my post now.&#60;/p&#62;
&#60;p&#62;I think I am going to whip up a little &#34;import gravatar&#34; feature for this.
&#60;/p&#62;</description>
</item>
<item>
<title>scienceprodigy on "bbpress / wordpress avatar?"</title>
<link>http://bbpress.org/forums/topic/bbpress-wordpress-avatar#post-13091</link>
<pubDate>Thu, 10 Jan 2008 17:02:11 +0000</pubDate>
<dc:creator>scienceprodigy</dc:creator>
<guid isPermaLink="false">13091@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Vili. I have Dan's avatar thing working on my wordpress blog, and I have installed bbpress and have been having the hardest time getting the integration to work. I am not very familiar with php, so if you could tell me what I am doing wrong, I would be grateful.&#60;/p&#62;
&#60;p&#62;I have bbpress installed in a subfolder one level up from my wordpress install in a folder called 'forums'. I read all the comments here, and have looked at the Function integration part of the &#34;Integration with Wordpress&#34; post per your suggestion. I added the code:&#60;/p&#62;
&#60;p&#62;require_once('path/to/wp-blog-header.php');&#60;/p&#62;
&#60;p&#62;to the bbpress config.php file, and it throws an error when I load bbpress. I have tried using 'wp-blog-header.php' and '/wp-blog-header.php' and '/' and even ' ' as the path to the file, and nothing works, it throws an error every time. I even tried a backslash! lol
&#60;/p&#62;</description>
</item>
<item>
<title>mrwonderr on "Plugin: Avatar Upload"</title>
<link>http://bbpress.org/forums/topic/plugin-avatar-upload/page/4#post-11695</link>
<pubDate>Sun, 28 Oct 2007 00:49:48 +0000</pubDate>
<dc:creator>mrwonderr</dc:creator>
<guid isPermaLink="false">11695@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;To fix any odd problems regarding permissions, you can CHMOD it using PHP.&#60;br /&#62;
Add the code above line 128 where it says &#60;code&#62;&#38;quot;$success_message = &#38;quot;Your avatar has been uploaded.&#38;quot;;&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
chmod(&#34;/PATH/TO/FORUMS/&#34;.$config-&#38;gt;avatar_dir . $user_filename, 0666);&#60;/code&#62;
&#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>

</channel>
</rss>
