<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rich Bui &#187; WordPress Multi-User</title>
	<atom:link href="http://richbui.com/tag/wordpress-multi-user/feed/" rel="self" type="application/rss+xml" />
	<link>http://richbui.com</link>
	<description>Welcome to my website.</description>
	<lastBuildDate>Mon, 19 Sep 2011 15:23:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Set Default Number of Columns for WordPress Gallery</title>
		<link>http://richbui.com/2010/01/13/set-default-number-columns-wordpress-gallery/</link>
		<comments>http://richbui.com/2010/01/13/set-default-number-columns-wordpress-gallery/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 14:45:47 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WordPress Multi-User]]></category>
		<category><![CDATA[WP]]></category>
		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://bui4ever.com/?p=3719</guid>
		<description><![CDATA[Having problems finding a simple solution to changing the WordPress Gallery's default 3-column display to any amount of columns like 4? Thanks to Zeo, we have a solution.]]></description>
			<content:encoded><![CDATA[<p>WordPress version 2.5 introduced a very useful feature for many bloggers: a built-in gallery system. All your photos uploaded to a specific Post or Page and using the <a href="http://codex.wordpress.org/Gallery_Shortcode">Gallery Shortcode</a>, <code>&#091;gallery]</code>, will display a set of thumbnails anywhere in your Post or Page. When used with most WordPress themes, the default 3-column thumbnail display works very well. But for some WordPress themes, such as this one, the default 3-column thumbnail display has too much space between each thumbnail. <img src="http://bui4ever.com/files/2010/01/WordPress-Gallery-4-columns-495x281.png" alt="WordPress-Gallery-4-columns" width="495" height="281" class="alignright size-medium wp-image-3737 hang-2-column" />Fortunately, you can make the Gallery display 4-or-more-columns by adding <code>columns=4</code> inside the Gallery Shortcode like <code>&#091;gallery columns=4]</code>. That can be a pain because you have to remember to do each time you add a Gallery to a Post or Page and all your prior Posts or Pages will continue to be 3-columns. So how do you reset the default number of Gallery thumbnails? Fortunately a Google search led me to this post by <a href="http://zeo.unic.net.my/wordpress-gallery-force-x-number-of-columns/">Zeo</a> who has a solution in which you enter the code below in your <em>functions.php</em> file:</p>
<p>[sourcecode language="PHP"]<br />
function gallery_columns($content){<br />
	$columns = 2;<br />
	$pattern = array(<br />
		&#8216;/(&#091;gallery(.*?)columns=&quot;(&#091;0-9&#093;)&quot;(.*?)&#093;)/ie&#8217;,<br />
		&#8216;/(&#091;gallery&#093;)/ie&#8217;,<br />
		&#8216;/(&#091;gallery(.*?)&#093;)/ie&#8217;<br />
	);<br />
	$replace = &#8216;stripslashes(strstr(&quot;1&quot;, &quot;columns=&quot;$columns&quot;&quot;) ? &quot;1&quot; : &quot;&#091;gallery 2 4 columns=&quot;$columns&quot;&#093;&quot;)&#8217;;</p>
<p>	return preg_replace($pattern, $replace, $content);<br />
}</p>
<p>add_filter(&#8216;the_content&#8217;, &#8216;gallery_columns&#8217;);<br />
[/sourcecode]</p>
<p>Make sure you change <code>$columns = 2;</code> to however many columns you like. Also the above code has to be wrapped in <code>&amp;#lt;?php and ?&gt;</code> or it will not work.</p>
<p>Very nice and elegant. This way if you change themes, you don&#8217;t have to manually edit every Post or Page to adjust how the Gallery column thumbnails display. Thanks Zeo.</p>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2010/01/13/set-default-number-columns-wordpress-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress How To Break Content Into Two Columns</title>
		<link>http://richbui.com/2010/01/01/wordpress-how-to-break-content-into-two-columns/</link>
		<comments>http://richbui.com/2010/01/01/wordpress-how-to-break-content-into-two-columns/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 15:51:22 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Allan Cole]]></category>
		<category><![CDATA[Basic Maths]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Khoi Vinh]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Shortcode]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WordPress Multi-User]]></category>
		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://bui4ever.com/?p=3271</guid>
		<description><![CDATA[So you want to design a WordPress theme or modify an existing theme to have your Post content to display as two columns much like printed newspapers and magazines? Well here&#8217;s an ingenious idea I learned from the Khoi Vinh&#8217;s and Allan Cole&#8217;s Basic Maths WordPress theme on how to do that. The beauty of [...]]]></description>
			<content:encoded><![CDATA[<p>So you want to design a WordPress theme or modify an existing theme to have your Post content to display as two columns much like printed newspapers and magazines? Well here&#8217;s an ingenious idea I learned from the <a href="http://subtraction.com">Khoi Vinh&#8217;s</a> and <a href="http://fthrwght.com/">Allan Cole&#8217;s</a> <a href="http://basicmaths.subtraction.com/demo/">Basic Maths</a> WordPress theme on how to do that. The beauty of this technique is that no JavaScript is required and everything is processed through WordPress and PHP so nothing can get blocked by security settings on a visitor&#8217;s browsers. This method also solves the problem with blogs that have non-technical writers who aren&#8217;t accustomed to using the HTML tab in the Post Editor or aren&#8217;t familiar with HTML markup and it allows writers to just write. So how do we do this:</p>
<p><img class="alignnone size-large wp-image-3273" src="http://bui4ever.com/files/2009/12/basic-maths-wordpress-theme-2-column-sample-725x366.jpg" alt="basic-maths-wordpress-theme-2-column-sample" width="725" height="366" /></p>
<h3>Directions</h3>
<p>You will need a <em>functions.php</em> file in the theme template folder. If it already exists, open it. Otherwise, open you&#8217;re favorite HTML editor (I use <a href="http://www.emeraldeditor.com/">Emerald Editor</a> for the PC and <a href="http://www.barebones.com/products/TextWrangler/">TextWrangler</a> for the Mac) and save the blank file as <em>functions.php</em> inside the WordPress theme template folder.</p>
<p>Open up the <em>functions.php</em> file and paste the code below anywhere inside the file. Be sure that you don&#8217;t accidentally place this function inside another function or you&#8217;ll get a blank screen when trying to load your website. If you&#8217;re new to the <em>functions.php</em> file, it may take some trial and error to get this right.</p>
<p>[sourcecode language="PHP"]<br />
//	Page Paragraph column short code (http://basicmaths.subtraction.com/demo/)<br />
//	Right<br />
function basic_rightcolumn($atts, $content = null) {<br />
	return &#8216;&lt;div class=&quot;&lt;span class=&quot;&gt;rightcolumn&quot;&gt;&#8217; . $content . &#8216;&lt;/div&gt;&#8217;;<br />
}<br />
add_shortcode(&quot;rightcolumn&quot;, &quot;basic_rightcolumn&quot;);</p>
<p>//	Top<br />
function basic_topcolumn($atts, $content = null) {<br />
	return &#8216;&lt;div class=&quot;&lt;span class=&quot;&gt;topcolumn&quot;&gt;&#8217; . $content . &#8216;&lt;/div&gt;&#8217;;<br />
}<br />
add_shortcode(&quot;topcolumn&quot;, &quot;basic_topcolumn&quot;);</p>
<p>//	Left<br />
function basic_leftcolumn($atts, $content = null) {<br />
	return &#8216;&lt;div class=&quot;&lt;span class=&quot;&gt;leftcolumn&quot;&gt;&#8217; . $content . &#8216;&lt;/div&gt;&#8217;;<br />
}<br />
add_shortcode(&quot;leftcolumn&quot;, &quot;basic_leftcolumn&quot;);<br />
[/sourcecode]</p>
<p>So what does all of this code do exactly? Let&#8217;s look at each part of code individually and the how to use it when writing Posts or Pages.</p>
<p>The first part of code:</p>
<p>[sourcecode language="PHP"]<br />
//	Right<br />
function basic_rightcolumn($atts, $content = null) {<br />
	return &#8216;&lt;div class=&quot;&lt;span class=&quot;&gt;rightcolumn&quot;&gt;&#8217; . $content . &#8216;&lt;/div&gt;&#8217;;<br />
}<br />
add_shortcode(&quot;rightcolumn&quot;, &quot;basic_rightcolumn&quot;);<br />
[/sourcecode]</p>
<p>sets up a new WordPress Shortcode, <code>[rightcolumn][/rightcolumn]</code>, that you can use in your Posts and Pages. So when you write a Post or Page and you enclose some text in the Shortcode, that will cause WordPress to wrap your text in HTML markup. For example, if I was to write:</p>
<pre>[rightcolumn]This should appear in the right column.[/rightcolumn]</pre>
<p>and then Publish the Post, looking at the source code of the published page, I should see:</p>
<pre>&lt;div class="rightcolumn"&gt;&lt;p&gt;This should appear in the right column.&lt;/p&gt;&lt;/div&gt;</pre>
<p>The second part of code:</p>
<p>[sourcecode language="PHP"]<br />
//	Top<br />
function basic_topcolumn($atts, $content = null) {<br />
	return &#8216;&lt;div class=&quot;&lt;span class=&quot;&gt;topcolumn&quot;&gt;&#8217; . $content . &#8216;&lt;/div&gt;&#8217;;<br />
}<br />
add_shortcode(&quot;topcolumn&quot;, &quot;basic_topcolumn&quot;);<br />
[/sourcecode]</p>
<p>sets up another new WordPress Shortcode,<code>[topcolumn][/topcolumn]</code>, that maybe necessary depending on how your theme is laid out. The biggest advantage I see with the <code>[topcolumn]</code> is that you can use it right after the <code>[leftcolumn]</code> and <code>[rightcolumn]</code> to fix any CSS float issues.</p>
<p>The final part of code:</p>
<p>[sourcecode language="PHP"]<br />
//	Left<br />
function basic_leftcolumn($atts, $content = null) {<br />
	return &#8216;&lt;div class=&quot;&lt;span class=&quot;&gt;leftcolumn&quot;&gt;&#8217; . $content . &#8216;&lt;/div&gt;&#8217;;<br />
}<br />
add_shortcode(&quot;leftcolumn&quot;, &quot;basic_leftcolumn&quot;);<br />
[/sourcecode]</p>
<p>adds <code>&lt;div class="leftcolumn"&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</code> to whatever is enclosed in the <code>[leftcolumn][/leftcolumn]</code> Shortcode.</p>
<p>Now you need to style those divs appropriately in order for the two columns to appear. This is what I use in my style sheet, but you mileage may vary:</p>
<p>[sourcecode language="CSS"]<br />
.entry .leftcolumn, .entry .rightcolumn {width: 50%; }<br />
.entry .leftcolumn {float: left;  }<br />
.entry .rightcolumn {float: right; }<br />
.entry .leftcolumn p {padding-right: 0.5em; }<br />
.entry .rightcolumn p {padding-left: 0.5em; }<br />
.entry .topcolumn {clear: both; }<br />
[/sourcecode]</p>
<p>Now to use this, you start a new Post or you can edit an existing Post, and decide where you want the 2-columns to appear and write:</p>
<pre>[leftcolumn]This is the stuff that I'll be putting in my left column.[/leftcolumn]
[rightcolumn]This is the stuff that will go into the right column. Isn't it pretty?[/rightcolumn]
[topcolumn]This will span the entire width and be a normal one-column paragraph.[/topcolumn]</pre>
<p>With the Shortcodes, you can put them next to each other or do a hard-return, it doesn&#8217;t matter. In actuality, the WordPress Visual Editor will probably move it all to one line. You can also put <code>[rightcolumn]</code> before the <code>[leftcolumn]</code> as the right column will always be right so long as you have the CSS correct.</p>
<p><img class="alignnone size-large wp-image-3322" src="http://bui4ever.com/files/2009/12/wordpress-two-column-post-visual-editor-sample-725x173.jpg" alt="wordpress-two-column-post-visual-editor-sample" width="725" height="173" /></p>
<p>The only thing you can&#8217;t do is something like this:</p>
<pre>[leftcolumn]This is the stuff that I'll be putting in my left column.[/leftcolumn]
[topcolumn]This will span the entire width and be a normal one-column paragraph.[/topcolumn]
[rightcolumn]This is the stuff that will go into the right column. Isn't it pretty?[/rightcolumn]</pre>
<p>as you&#8217;ll have some weird styling errors.</p>
<h3>Example</h3>
<p><div class="leftcolumn"><p>It wouldn&#8217;t be any good without a sample to show right? So if you copied the code and put it in the <em>functions.php</em> file correctly, then in the WordPress Post Editor, you should be able to use the new Shortcodes to create a two-column post article. Also don&#8217;t forget that you need to style the <em>divs</em> in-order for this to work properly.</p></div>  <div class="rightcolumn"><p>If you notice that you still only have one-column, but no errors, check your source code for the chunk of code to see if it the Shortcode is being properly called. If it is, that means you&#8217;re missing the style information in the style sheet.</p></div> <div class="topcolumn"><p>Here&#8217;s a wide column that returns to &#8220;normal&#8221; and spans the entire width. You don&#8217;t necessarily need to use the <code>[topcolumn]</code> Shortcode, but if you notice that your having design float issues, then you need to use the<br />
<code>[topcolumn]</code> Shortcode on the paragraph immediately following the two columns. Make sure you have <code>clear: both;</code> entered into your style sheet under<code>.topcolumn</code>.</p>
<p>I would recommend doing this as good practice anyways; especially if one column is longer than the other column.</p></div> </p>
<h3>Conclusion</h3>
<p>There are a number of ways you can accomplish two-column post layouts. There a number of <a href="http://plugins.jquery.com/project/columnize">jQuery</a> <a href="http://www.systemantics.net/en/columnize">techniques</a> including this <a href="http://welcome.totheinter.net/columnizer-jquery-plugin/">WordPress plugin</a> that accomplishes the task but I&#8217;m a big fan of less. The less plugins you have to use, the faster your website will load. Also you want to make it as easy as possible for non-techie writers to be able to implement easily. One of the hardest part is to have the non-techie writer try to use the HTML Editor, see a garble of code, mess around and everything is screwed up. Extreme case, but it happens. With the use of WordPress Shortcodes, they can easily implement the feature from the Visual Editor and focus on writing.</p>
<p>Thank you to the Basic Maths WordPress Theme for the very useful code.</p>
<p><strong>UPDATE (2010-05-17):</strong> <a href="http://www.wprecipes.com/wordpress-hack-automatically-output-the-content-in-two-columns">Here&#8217;s a trick</a> by <a href="http://www.wprecipes.com/">WPRecipes.com</a> on how to automatically output content into two columns using the functions.php for those who are looking for a method that doesn&#8217;t require users to remember code.</p>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2010/01/01/wordpress-how-to-break-content-into-two-columns/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>iFrames in WordPress Post Editor Using Shortcodes and Custom Fields</title>
		<link>http://richbui.com/2009/12/23/iframes-in-wordpress-post-editor-using-shortcodes-and-custom-fields/</link>
		<comments>http://richbui.com/2009/12/23/iframes-in-wordpress-post-editor-using-shortcodes-and-custom-fields/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 04:41:57 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[VividVisions.com]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WordPress Multi-User]]></category>
		<category><![CDATA[WP]]></category>
		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://bui4ever.com/?p=3109</guid>
		<description><![CDATA[I was looking for a way to embed a Google Map into one of my Reviews, but the FCKEditor, otherwise known as the Visual (or pretty) Editor, would remove any iFrame code. Posting it via the HTML tab works so long as you don&#8217;t click to the Visual tab, as it will strip the iFrame [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking for a way to embed a Google Map into one of my Reviews, but the FCKEditor, otherwise known as the Visual (or pretty) Editor, would remove any iFrame code. Posting it via the HTML tab works so long as you don&#8217;t click to the Visual tab, as it will strip the iFrame code. This can get pretty frustrating. I didn&#8217;t want to have to install another plugin to do iFrames either. Fortunately through a quick Google search I found Walt had a very <a href="http://www.vividvisions.com/2009/02/11/wordpress-add-iframes-to-your-post/">elegant solution</a> using WordPress Shortcodes and Custom Fields.</p>
<p>His technique worked out quite nicely and will allow me to post other iFrame content while still using the Visual Editor and not worry about the iFrame code getting stripped out. So I&#8217;m reposting his technique here for future reference.</p>
<p>You need to have a <em>functions.php</em> file in your theme for this to work. If it doesn&#8217;t exist, just create one and drop this line of code into it, making sure it is wrapped by &lt;?php and ?&gt; (thanks to <a href="http://www.smick.net/">Smick</a> for reminding me):</p>
<p>[sourcecode language="php"]<br />
function field_func($atts) {<br />
global $post;<br />
$name = $atts['name'];<br />
if (empty($name)) return;</p>
<p>return get_post_meta($post-&gt;ID, $name, true);<br />
}</p>
<p>add_shortcode(&#8216;field&#8217;, &#8216;field_func&#8217;);<br />
[/sourcecode]</p>
<p>Upload that file into the theme folder that you are using or want to enable iFrames for.</p>
<div class="text-adsense"><script type="text/javascript"><!--
	google_ad_client = "pub-2950609764289329";
	google_ad_slot = "0427355621";
	google_ad_width = 468;
	google_ad_height = 60;
	//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>
<p>Now any anytime you want to embed a Google Map iFrame, all you have to do in your Post Editor is decide where you want the iFrame to appear and put:</p>
<pre><iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=106+W.+25th+Ave.,+San+Mateo,+CA+94403&amp;sll=37.0625,-95.677068&amp;sspn=49.71116,73.300781&amp;ie=UTF8&amp;hq=&amp;hnear=106+W+25th+Ave,+San+Mateo,+California+94403&amp;ll=37.543998,-122.307227&amp;spn=0.000766,0.001118&amp;t=h&amp;z=20&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=106+W.+25th+Ave.,+San+Mateo,+CA+94403&amp;sll=37.0625,-95.677068&amp;sspn=49.71116,73.300781&amp;ie=UTF8&amp;hq=&amp;hnear=106+W+25th+Ave,+San+Mateo,+California+94403&amp;ll=37.543998,-122.307227&amp;spn=0.000766,0.001118&amp;t=h&amp;z=20" style="color:#0000FF;text-align:left">View Larger Map</a></small></pre>
<p>Then scroll down to the Custom Fields box and under <strong>Name</strong> write iframe and under <strong>Value</strong> paste in the exact code. Here&#8217;s an example:</p>
<p><img class="alignnone size-full wp-image-3114" src="http://richbui.com/files/2009/12/WordPress-iframe-shortcode-functions-example.jpg" alt="WordPress-iframe-shortcode-functions-example" width="688" height="271" /></p>
<p>Make sure you click<strong> Add Custom Field</strong> to save the entry or it won&#8217;t show up in your post when you publish or update the changes. Now you can easily edit the existing post using the Visual Editor and not have to worry about losing any of your iFrame code.</p>
<p>Also note that unlike a plugin where you can switch themes and the code will continue to work, once you switch to a new theme, the iFrame code will no longer appear in any of your posts so make sure to include this line of code in your new theme. You could also save yourself the headache and make this function into a WordPress plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2009/12/23/iframes-in-wordpress-post-editor-using-shortcodes-and-custom-fields/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>WordPress MU and File Upload Permission Issues</title>
		<link>http://richbui.com/2009/07/30/wordpress-mu-file-upload-permission-issues/</link>
		<comments>http://richbui.com/2009/07/30/wordpress-mu-file-upload-permission-issues/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 19:56:09 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Dedicated Virtual]]></category>
		<category><![CDATA[Media Temple]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WordPress Multi-User]]></category>

		<guid isPermaLink="false">http://bui4ever.com/?p=2663</guid>
		<description><![CDATA[Does this sound familiar to you: &#8220;The uploaded file could not be moved to the upload folder.&#8221; If it does and you&#8217;re trying to find a solution, read on. This took a bit for me to figure out, had me banging my head for a little awhile. I&#8217;m on Media Temple (dv) Dedicated Virtual hosting [...]]]></description>
			<content:encoded><![CDATA[<p>Does this sound familiar to you: &#8220;The uploaded file could not be moved to the upload folder.&#8221; If it does and you&#8217;re trying to find a solution, read on.<span id="more-2663"></span></p>
<p>This took a bit for me to figure out, had me banging my head for a little awhile. I&#8217;m on Media Temple (dv) Dedicated Virtual hosting and have two installations of WordPress Multi-User (MU) each pointing to a different IP address. One day, I was trying to upload a file via FireZilla FTP to my <em>/wp-contents/blogs.dir/[blog.id]/</em> folder and it said permission denied. I thought that was odd, but stupidly did a CHOWN on the entire httpdocs folder (this is Media Temple&#8217;s public_html folder) to set it to the account user. Problem solved. Unfortunately then the WordPress Media uploader stopped function and I was getting the message: &#8220;The uploaded file could not be moved to the upload folder.&#8221;</p>
<div class="text-adsense"><script type="text/javascript"><!--
	google_ad_client = "pub-2950609764289329";
	google_ad_slot = "0427355621";
	google_ad_width = 468;
	google_ad_height = 60;
	//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>
<p>So did a Google search and found <a href="http://mu.wordpress.org/forums/topic/12397">a</a> <a href="http://mu.wordpress.org/forums/topic/9888">few</a> <a href="http://premium.wpmudev.org/forums/topic/user-cant-upload-files">informative</a> forum threads discussing the problem and possible solutions:</p>
<ul>
<li><em>CHMOD</em> the <em>wp-content</em> folder to <em>777</em>, which is a HUGE security risk. I don&#8217;t recommend you do this, but it works for some people.</li>
<li><em>CHMOD</em> the <em>wp-content</em> folder to <em>755</em>, doesn&#8217;t really work</li>
<li><em>CHOWN</em> the <em>blogs.dir</em> folder to <em>nobody</em>, BINGO!</li>
</ul>
<p>So the answer turns out to be that the <em>blogs.dir</em> folder&#8217;s ownership has to be set to nobody or essentially the server. If the ownership is set to the user account, you are able to upload content to the <em>blogs.dir</em> folder, but WordPress Media Uploader can no longer. So to solve the problem, I SSH into the server and browsed to the wp-content folder and:</p>
<pre>chown apache blogs.dir -R</pre>
<p>Afterwards, the WordPress Media Uploader was able to upload files once again. It&#8217;s funny because WPMU version 2.8.1 and prior never had an issue like this, so not sure what was changed.</p>
<p><strong>2009-01-25 UPDATE:</strong> So I ran into the permissions issue again. Oddly, it cropped up after I added another account on my MediaTemple (dv). I followed my steps above and it no longer seemed to work for me. After spending a couple of frustrating hours on Google for a solution, I decided to take some people&#8217;s <a href="http://www.wains.be/index.php/2007/07/19/wordpress-the-uploaded-file-could-not-be-moved-to/">advice</a> and <a href="http://kb.mediatemple.net/questions/050/How+can+I+turn+off+safe_mode+on+an+%28dv%29+Dedicated-Virtual+Server+with+Plesk%3F">turn-off Safe_Mode</a> (<a href="http://kb.mediatemple.net/questions/35/PHP+Safe+Mode,+problems+and+work-arounds">read more</a>). Obviously there are some inherent security issues with doing so, but since I don&#8217;t grant anyone else access to my web server, it shouldn&#8217;t be a huge problem. I also had to do:</p>
<pre>chown apache:apache blogs.dir -R</pre>
<p>since that was the account my web-server uses to write. Things are now working as they should.</p>
<p><strong>2011-01-14 UPDATE:</strong> See the directions on this website as well: http://hereshowi.com/wordpress/fix-wordpress-permissions-on-mediatemple-dv-server.</p>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2009/07/30/wordpress-mu-file-upload-permission-issues/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>WordPress Gallery Exif and Displaying Shutter Speed</title>
		<link>http://richbui.com/2008/09/04/wordpress-gallery-exif-and-displaying-shutter-speed/</link>
		<comments>http://richbui.com/2008/09/04/wordpress-gallery-exif-and-displaying-shutter-speed/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 21:19:36 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[EXIF]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WordPress Multi-User]]></category>
		<category><![CDATA[WP]]></category>
		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://bui4ever.com/?p=1958</guid>
		<description><![CDATA[Finally, an answer to my question about how to display the shutter speed in fractions when using the WordPress Gallery Exif. Anwer can be found at A Moment of EnLitenment.]]></description>
			<content:encoded><![CDATA[<p>Finally, an answer to my question about how to display the shutter speed in fractions when using the WordPress Gallery Exif. Anwer can be found at <a href="http://www.enliteart.com/blog/2008/08/30/quick-shutter-speed-fix-for-wordpress-exif/">A Moment of EnLitenment</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2008/09/04/wordpress-gallery-exif-and-displaying-shutter-speed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading to WordPress MU 2.6.1</title>
		<link>http://richbui.com/2008/09/02/upgrading-to-wordpress-mu-261/</link>
		<comments>http://richbui.com/2008/09/02/upgrading-to-wordpress-mu-261/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 23:31:58 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Donncha O Caoimh]]></category>
		<category><![CDATA[Eco Blog Theme]]></category>
		<category><![CDATA[ocaoimh.ie]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WordPress Multi-User]]></category>
		<category><![CDATA[WordPress Theme]]></category>
		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://bui4ever.com/?p=1858</guid>
		<description><![CDATA[Donncha just released WPMU 2.6.1, will be upgrading soon, so expect some downtime. On a sidenote, I personally liked the previous theme that Donncha was using better, I believe it&#8217;s called Eco Blog.]]></description>
			<content:encoded><![CDATA[<p>Donncha just <a href="http://ocaoimh.ie/2008/09/02/wordpress-mu-261/">released WPMU 2.6.1</a>, will be upgrading soon, so expect some downtime. On a sidenote, I personally liked the previous theme that Donncha was using better, I believe it&#8217;s called <a href="http://wordpress.org/extend/themes/eco-blog">Eco Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2008/09/02/upgrading-to-wordpress-mu-261/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WordPress MU 1.2.3</title>
		<link>http://richbui.com/2007/06/25/wordpress_mu_123/</link>
		<comments>http://richbui.com/2007/06/25/wordpress_mu_123/#comments</comments>
		<pubDate>Mon, 25 Jun 2007 16:18:53 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WordPress Multi-User]]></category>
		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://bui4ever.com/blog/2007/06/25/wordpress_mu_123.php/</guid>
		<description><![CDATA[Sorry about the momentary downtime on all the sites, was busy doing an upgrade from WordPress MU 1.2.2 to WordPress MU 1.2.3 that was recently released. If you haven&#8217;t upgraded yet, get it here.]]></description>
			<content:encoded><![CDATA[<p>Sorry about the momentary downtime on all the sites, was busy doing an upgrade from WordPress MU 1.2.2 to WordPress MU 1.2.3 that was recently released. If you haven&#8217;t upgraded yet, get it <a href="http://mu.wordpress.org/download/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2007/06/25/wordpress_mu_123/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BBPress 0.8.2 Released</title>
		<link>http://richbui.com/2007/06/18/bbpress_0_8_2/</link>
		<comments>http://richbui.com/2007/06/18/bbpress_0_8_2/#comments</comments>
		<pubDate>Tue, 19 Jun 2007 05:47:35 +0000</pubDate>
		<dc:creator>Richard Bui</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[BBPress]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WordPress Multi-User]]></category>
		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://bui4ever.com/blog/2007/06/18/bbpress_0_8_2.php/</guid>
		<description><![CDATA[Sweet, a new version of BBPress has been released! I&#8217;ll upgrade Bui4Ever&#8217;s BBPress 0.8.1 to the latest version. There are some major code upgrades that fix long annoyances.]]></description>
			<content:encoded><![CDATA[<p>Sweet, a <a href="http://bbpress.org/blog/2007/06/082-hot-off-the-bbpress/">new version of BBPress has been released</a>! I&#8217;ll upgrade Bui4Ever&#8217;s BBPress 0.8.1 to the latest version. There are some major code upgrades that fix long annoyances.</p>
]]></content:encoded>
			<wfw:commentRss>http://richbui.com/2007/06/18/bbpress_0_8_2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

