<?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>Burobjorn.nl &#124; digitaal vakmanschap // digital craftsmanship &#187; wordpress</title>
	<atom:link href="http://www.burobjorn.nl/blog/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.burobjorn.nl</link>
	<description>Burobjorn houdt zich bezig met open source software en online media. Van advies tot concept. Van prototype tot implementatie.</description>
	<lastBuildDate>Thu, 05 Aug 2010 11:27:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Nederlandse vertaling voor Limit Login Attempts Wordpress plugin</title>
		<link>http://www.burobjorn.nl/blog/2010/03/19/nederlandse-vertaling-voor-limit-login-attempts-wordpress-plugin/</link>
		<comments>http://www.burobjorn.nl/blog/2010/03/19/nederlandse-vertaling-voor-limit-login-attempts-wordpress-plugin/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 13:12:38 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[NL]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/?p=718</guid>
		<description><![CDATA[Ik heb voor de Wordpress plugin Limit Login Attempts &#8211; ontwikkeld door Johan Eenfeldt &#8211; een Nederlandse vertaling gemaakt. Het is gebaseerd op versie 1.4.1 van de plugin. Schroom niet om contact op te nemen voor wijzigingen of op- en/of aanmerkingen op de Nederlandse vertaling.
De vertaling is hier te downloaden. 
Installatie: 

Gedownload zip bestand uitpakken.
Bestanden [...]]]></description>
			<content:encoded><![CDATA[<p>Ik heb voor de <a href="http://wordpress.org/">Wordpress</a> plugin <a href="http://wordpress.org/extend/plugins/limit-login-attempts/">Limit Login Attempts</a> &#8211; ontwikkeld door <a href="http://devel.kostdoktorn.se/limit-login-attempts">Johan Eenfeldt</a> &#8211; een Nederlandse vertaling gemaakt. Het is gebaseerd op versie 1.4.1 van de plugin. Schroom niet om contact op te nemen voor wijzigingen of op- en/of aanmerkingen op de Nederlandse vertaling.</p>
<p>De vertaling is <a href='http://www.burobjorn.nl/blog/wp-content/uploads/2010/03/limit-login-attempts-dutch-translations.zip'><strong>hier</strong></a> te downloaden. </p>
<p><strong>Installatie: </strong></p>
<ol>
<li>Gedownload zip bestand uitpakken.</li>
<li>Bestanden in Limit Login Attempts directory plaatsen</li>
<li>Wordpress op Nederlands als taal instellen</li>
</ol>
<p>ps: Ik heb Johan inmiddels ook <a href="http://devel.kostdoktorn.se/limit-login-attempts/comment-page-1#comment-52">op de hoogte gesteld van de Nederlandse vertaling</a> en ik hoop dat de vertaling zo spoedig mogelijk toegevoegd wordt aan de plugin zelf zodat je deze vertaling niet meer extra hoeft te downloaden.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2010/03/19/nederlandse-vertaling-voor-limit-login-attempts-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nieuwe site NOiV gelanceerd!</title>
		<link>http://www.burobjorn.nl/blog/2010/01/12/nieuw-site-noiv-gelanceerd/</link>
		<comments>http://www.burobjorn.nl/blog/2010/01/12/nieuw-site-noiv-gelanceerd/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 13:14:24 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[NL]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/?p=702</guid>
		<description><![CDATA[
De nieuwe website voor Nederland Open in Verbinding (NOiV) staat live. Tezamen met het Utrechtse bedrijf Eend heeft Burobjorn de website van NOiV op basis van Wordpress Mu ontwikkeld. Hierbij was Burobjorn verantwoordelijk voor het opzetten van Wordpress Mu inclusief de structuur, het ontwikkelen van op maat-gemaakte functionaliteiten zoals een filter systeem en het omzetten [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://noiv.nl"><img class="aligncenter size-medium wp-image-703" title="NOiv website" src="http://www.burobjorn.nl/blog/wp-content/uploads/2010/01/noiv-1-300x261.png" alt="NOiv website" width="300" height="261" /></a><br />
De nieuwe website voor <a href="http://noiv.nl">Nederland Open in Verbinding (NOiV)</a> staat live. Tezamen met het Utrechtse bedrijf <a href="http://eend.nl">Eend</a> heeft Burobjorn de website van NOiV op basis van <a href="http://mu.wordpress.org">Wordpress Mu</a> ontwikkeld. Hierbij was Burobjorn verantwoordelijk voor het opzetten van Wordpress Mu inclusief de structuur, het ontwikkelen van op maat-gemaakte functionaliteiten zoals een filter systeem en het omzetten van de door Eend aangeleverde HTML en CSS (conform de <a href="http://www.webrichtlijnen.nl/">Webrichtlijnen</a>) tot Wordpress templates. Het ontwerp van de site is door <a href="http://www.maaikedelaat.nl/">Maaike de Laat</a> ontworpen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2010/01/12/nieuw-site-noiv-gelanceerd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Most stupid function in Wordpress?</title>
		<link>http://www.burobjorn.nl/blog/2010/01/12/most-stupid-function-in-wordpress/</link>
		<comments>http://www.burobjorn.nl/blog/2010/01/12/most-stupid-function-in-wordpress/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 12:59:14 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[rants]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/?p=699</guid>
		<description><![CDATA[[...]Will only output the date if the current post&#8217;s date is different from the
previous one output.
Source: the_date() function in the Wordpress source code.
WTF! Why on earth is this function only returning a date when the post date differs from the previous one and does nothing if the two are equal. I don&#8217;t get this. I [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>[...]Will only output the date if the current post&#8217;s date is different from the<br />
previous one output.</p></blockquote>
<p>Source: <a href="http://core.svn.wordpress.org/trunk/wp-includes/general-template.php">the_date() function in the Wordpress source code</a>.</p>
<p>WTF! Why on earth is this function only returning a date when the post date differs from the previous one and does nothing if the two are equal. I don&#8217;t get this. I guess I&#8217;m going to supply a bugreport and a patch.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2010/01/12/most-stupid-function-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Nieuwe site Bits of Freedom gelanceerd!</title>
		<link>http://www.burobjorn.nl/blog/2009/12/09/nieuwe-site-bits-of-freedom-gelanceerd/</link>
		<comments>http://www.burobjorn.nl/blog/2009/12/09/nieuwe-site-bits-of-freedom-gelanceerd/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 17:36:39 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/?p=694</guid>
		<description><![CDATA[
De nieuwe site van Bits of Freedom is gelanceerd!
UncInc is verantwoordelijk voor de frisse huisstijl, Burobjorn ism Erik Borra voor de techniek en XS4ALL voor de hosting. De nieuwe site draait uiteraard op het zeer gebruiksvriendelijke Wordpress. 
]]></description>
			<content:encoded><![CDATA[<p><a href="https://www.bof.nl"><img src="http://www.burobjorn.nl/blog/wp-content/uploads/2009/12/bof-300x85.png" alt="bof" title="bof" width="300" height="85" class="aligncenter size-medium wp-image-695" /></a><br />
De nieuwe site van Bits of Freedom is gelanceerd!<br />
<a href="http://www.uncinc.nl">UncInc</a> is verantwoordelijk voor de frisse huisstijl, Burobjorn ism <a href="http://erikborra.net/">Erik Borra</a> voor de techniek en XS4ALL voor de hosting. De nieuwe site draait uiteraard op het zeer gebruiksvriendelijke Wordpress. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2009/12/09/nieuwe-site-bits-of-freedom-gelanceerd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Released Wordpress plugin bbRedirector</title>
		<link>http://www.burobjorn.nl/blog/2009/11/24/released-wordpress-plugin-bbredirector/</link>
		<comments>http://www.burobjorn.nl/blog/2009/11/24/released-wordpress-plugin-bbredirector/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 19:59:54 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[open-source]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/?p=665</guid>
		<description><![CDATA[I&#8217;ve just released another Wordpress plugin. This one is called bbRedirector:
bbRedirector makes it easy to redirect a page to another location using absolute urls from within Wordpress.  No mod_rewrite nor .htaccess is needed. You just create a page, add a specific customfield and choose the redirect template included with this plugin. It even allows [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just released another <a href="http://wordpress.org">Wordpress</a> plugin. This one is called bbRedirector:</p>
<blockquote><p>bbRedirector makes it easy to redirect a page to another location using absolute urls from within Wordpress.  No mod_rewrite nor .htaccess is needed. You just create a page, add a specific customfield and choose the redirect template included with this plugin. It even allows you to set the required http status code (302 or 301). You can also set a default sitewide redirection or setup your own custom redirection.</p>
<p>The included templates should give you an easy start using this plugin.</p></blockquote>
<p>Download the plugin from <a href="http://wordpress.org/extend/plugins/bbredirector/">http://wordpress.org/extend/plugins/bbredirector/<br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2009/11/24/released-wordpress-plugin-bbredirector/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First commit of a theme for all Creative Commons chapters around the globe?</title>
		<link>http://www.burobjorn.nl/blog/2009/11/11/first-commit-of-a-theme-for-all-creative-commons-chapters-around-the-globe/</link>
		<comments>http://www.burobjorn.nl/blog/2009/11/11/first-commit-of-a-theme-for-all-creative-commons-chapters-around-the-globe/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 16:55:54 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[creativecommons]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/?p=655</guid>
		<description><![CDATA[Today, I finally added my first commit of the Creative Commons Netherlands(CC NL) wordpress theme (see also &#8216;New Creative Commons Netherlands site launched&#8217;) to the Creative Commons.org git repository. This means that other local CC chapters only need to install Wordpress and install this theme to have their own Creative Commons website. For example, Creative [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I finally added my first commit of the <a href="http://creativecommons.nl">Creative Commons Netherlands</a>(CC NL) wordpress theme (see also <a href="http://www.burobjorn.nl/blog/2009/09/14/new-creative-commons-nl-site-launched/">&#8216;New Creative Commons Netherlands site launched&#8217;</a>) to the <a href="http://creativecommons.org">Creative Commons.org</a> <a href="http://code.creativecommons.org/viewgit/themes/ccnl.git/">git repository</a>. This means that other local CC chapters only need to install <a href="http://wordpress.org">Wordpress</a> and install <a href="http://code.creativecommons.org/viewgit/themes/ccnl.git/">this theme</a> to have their own Creative Commons website. For example,<a href="http://fr.creativecommons.org/"> Creative Commons France</a> could now easily update <a href="http://fr.creativecommons.org/">their website</a> and have a look and feel similar to Creative Commons Netherlands (and thus Creative Commons.org), without having to develop a theme on their own. By using this template, local Creative Commons organizations show more cohesion between the different CC chapters and allow them to be identifiable as part of the global Creative Commons movement.</p>
<p>I&#8217;m very interested in the response on this theme, although it&#8217;s still kinda rough around the edges. I still need to find some time to replace the Dutch names for English, write something down on how to use the theme  and there&#8217;s probably tons of stuff that might need some tweaking, but at least it&#8217;s in the repository.</p>
<p>If you&#8217;re interested in using it yet something is keeping you from doing this feel free to <a href="http://www.burobjorn.nl/contact/">contact</a> me and I&#8217;ll see what I can do to help you.</p>
<p>Last but certainly not least, I would like to thank:</p>
<p>- <a href="http://www.voyantes.net/blog/">Paul Keller</a> (<a href="http://creativecommons.nl">Creative Commons Netherlands</a>) for recognizing the potential use of this theme for other local CC chapters around the world.<br />
- <a href="http://creativecommons.org/about/people/#ml">Mike Linksvayer</a> and <a href="http://creativecommons.org/about/people/#nathanyergler">Nathan Yergler</a> from <a href="http://creativecommons.org">Creative Commons.org</a> for their enthusiasm, help and infrastructure.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2009/11/11/first-commit-of-a-theme-for-all-creative-commons-chapters-around-the-globe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress Mu pages overriden by new blogs</title>
		<link>http://www.burobjorn.nl/blog/2009/11/06/wordpress-mu-pages-overriden-by-new-blogs/</link>
		<comments>http://www.burobjorn.nl/blog/2009/11/06/wordpress-mu-pages-overriden-by-new-blogs/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 14:01:04 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[open-source]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/?p=651</guid>
		<description><![CDATA[When using WordPress Mu (WP MU) 2.8.4 or 2.8.5.2 (not tested on older versions) with sub directories it seems one can override the main blog&#8217;s pages by creating a blog with the exactly the same name without any warning. Causing visitors to be redirected to the newly created blog instead of the page with the [...]]]></description>
			<content:encoded><![CDATA[<p>When using <a href="http://mu.wordpress.org">WordPress Mu</a> (WP MU) 2.8.4 or 2.8.5.2 (not tested on older versions) with sub directories it seems one can override the main blog&#8217;s pages by creating a blog with the exactly the same name without any warning. Causing visitors to be redirected to the newly created blog instead of the page with the same name. I presume most people would not expect this and in fact it can become quite nasty. So I filled a <a href="http://trac.mu.wordpress.org/ticket/1150">bug report</a>. </p>
<p><strong>Assume this situation:</strong><br />
You have a WPMU site set using sub directories available at  http://mywebsite.dev/. You&#8217;re using the primary blog as your website with mostly pages. One of those pages is called &#8220;Donation&#8221;. You allow other people to register and create a blog. Someone creates a blog called &#8220;Donation&#8221; and without warning the previous existing page &#8220;Donation&#8221; has been redirected to the blog &#8220;Donation&#8221;.</p>
<p>Obliviously, this should not happen. </p>
<p>As I understood from <a href="http://ocaoimh.ie/">Donncha</a> (lead-developer of WP MU), in earlier version there was a check to prevent this from happening. I haven&#8217;t tested older versions so I cannot confirm nor deny this. However in the current and previous stable version of Wordpress Mu this unexpected behavior does happen. There are some solutions in order to prevent this from happening:</p>
<ul>
<li>Use sub-domains instead of sub-directories. Since each blog will become a sub-domain instead of a sub-directory it will not clash with any pages created in the<br />
main blog.</li>
<li>Prevent any blogs from being created with the same slug (path) as a page in the primary blog. This fixes the issue with WP MU and sub-directories</li>
</ul>
<p>I created a plugin called &#8220;bbMuAutoBanPage&#8221; for the latter, which uses the &#8220;Banned Names&#8221; option in the site admin. Basically it keeps track of the pages created in the primary blog and adds the slugs to the illegal_names options which is used for the &#8220;Banned Names&#8221; functionality. This is a temporarily fix until this issue is properly fixed in the core WP MU code. Until then you can use <a href="http://trac.mu.wordpress.org/raw-attachment/ticket/1150/bbMuAutoBanPage.php">my plugin</a>, which I highly recommend if you allow people to register their own blog on your WP MU install. <a href="http://trac.mu.wordpress.org/raw-attachment/ticket/1150/bbMuAutoBanPage.php">DOWNLOAD IT HERE</a></p>
<p>In my humble opinion this would be a great moment to have a closer look at the way Wordpress Mu deals with routing, since I would like to see it allow for more fine-grained control. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2009/11/06/wordpress-mu-pages-overriden-by-new-blogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress simple redirect</title>
		<link>http://www.burobjorn.nl/blog/2009/09/01/wordpress-simple-redirect/</link>
		<comments>http://www.burobjorn.nl/blog/2009/09/01/wordpress-simple-redirect/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 20:00:27 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/?p=582</guid>
		<description><![CDATA[Recently I needed an easy way for a client to create a link in a Wordpress powered website that would automagically redirect a visitor to a certain location upon visiting. Part of the requirement was that this link could be easily remembered and used in printed material such as leaflets and magazines. As an extra [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I needed an easy way for a client to create a link in a <a href="http://www.wordpress.org">Wordpress</a> powered website that would automagically redirect a visitor to a certain location upon visiting. Part of the requirement was that this link could be easily remembered and used in printed material such as leaflets and magazines. As an extra option it should be easy to change the location towards the redirection would point. I couldn&#8217;t find anything like this so I created a very simple little page template. </p>
<p><strong>How it works:</strong><br />
Copy the template page Page Redirect code below to a file and save it as page-redirect.php in your own template&#8217;s directory. Create a Page in Wordpress and set the Page&#8217;s template to Page Redirect. Add a custom field to this page with the name <strong>redirect_url</strong> and the full url of the url you want to redirect to.<br />
For instance: http://www.redirected-location.com. Now save the page and you should now test it by visiting the page you created. </p>
<p>For example (I assume you are using nice urls): </p>
<p>http://www.your-website.com/the-page-title-of-the-page-with-the-redirect-template</p>
<p>If all went well you should be instantaneously be redirected (using a standard php redirect with a 302 HTTP redirect) ) to the url you entered in the custom field. You can easily change the redirect location by changing the value of the custom field. </p>
<p><strong>Code:</strong></p>
<pre>
<code>
< ?php
/*
 * Template Name: Page Redirect
 *
 * Makes it easy to redirect a page to another url, using the parameter redirect_url
 */
$redirect_url = get_post_meta($post->ID, "redirect_url", true); 

// Defaults if no options we're given
if( ! empty($redirect_url) ) {  header("Location: $redirect_url"); } else { echo "<!-- redirect not active, use redirect_url parameter -->"; }
/* Make sure that code below does not get executed when we redirect. */

exit;
?>
</code>
</pre>
<p>As I said it uses the <a href="http://nl.php.net/manual/en/function.header.php">standard PHP redirect</a>, but you could easily change or extend it with more specific http headers if needs arise. Feel free to use the above snippet as you see fit, as far as I&#8217;m concerned it&#8217;s in the public domain. I hope this might be useful to you. If you have any questions, feel free to leave a comment. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2009/09/01/wordpress-simple-redirect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>updated profile_picture plugin</title>
		<link>http://www.burobjorn.nl/blog/2008/08/05/updated-profile_picture-plugin/</link>
		<comments>http://www.burobjorn.nl/blog/2008/08/05/updated-profile_picture-plugin/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 19:44:12 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[profile picture plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/blog/?p=353</guid>
		<description><![CDATA[I just updated my version with the profile_picture plugin with a patch supplied by Johannes Harms. I haven&#8217;t had the time to test it thoroughly, so use it on your own risk. More info on this page
If you&#8217;re interested, you can check the patch here below:

&#8212; profile-picture.php.01_adminCanUploadPics	2008-07-02 19:51:00.000000000 +0200
+++ profile-picture.php.02_chmodUploads	2008-07-04 12:03:05.000000000 +0200
@@ -152,8 +152,12 @@ [...]]]></description>
			<content:encoded><![CDATA[<p>I just updated my version with the profile_picture plugin with a patch supplied by Johannes Harms. I haven&#8217;t had the time to test it thoroughly, so use it on your own risk. More info on this <a href="http://www.burobjorn.nl/blog/?page_id=212">page</a></p>
<p>If you&#8217;re interested, you can check the patch here below:<br />
<span id="more-353"></span></p>
<blockquote><p>&#8212; profile-picture.php.01_adminCanUploadPics	2008-07-02 19:51:00.000000000 +0200<br />
+++ profile-picture.php.02_chmodUploads	2008-07-04 12:03:05.000000000 +0200<br />
@@ -152,8 +152,12 @@ function upload_pic() {<br />
 		$clean_name = ereg_replace(&#8221;[^a-z0-9._]&#8220;, &#8220;&#8221;, ereg_replace(&#8221; &#8220;, &#8220;_&#8221;, ereg_replace(&#8221;%20&#8243;, &#8220;_&#8221;, strtolower($raw_name))));<br />
 		$file_ext = substr(strrchr($clean_name, &#8220;.&#8221;), 1);<br />
 		$file_path = clean_path(ABSPATH . &#8216;/&#8217; . $image_dir . &#8216;/&#8217; . $user_ID . &#8216;.&#8217; . $file_ext);<br />
-	// store file<br />
+	        // store file<br />
 		move_uploaded_file($_FILES['picture']['tmp_name'], $file_path);<br />
+                // Add file permissions<br />
+                $stat = stat( dirname( $file_path ));<br />
+	        $perms = $stat['mode'] &#038; 0000666;<br />
+                @ chmod( $file_path, $perms);<br />
 	} else {<br />
 		return false;<br />
 	}<br />
@@ -260,4 +264,4 @@ function pick_image($authorID) {<br />
 	}<br />
 	return $path;<br />
 }<br />
-?><br />
\ No newline at end of file<br />
+?></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2008/08/05/updated-profile_picture-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Wordpress and MySQL Charset Problem with bbwp2utf8</title>
		<link>http://www.burobjorn.nl/blog/2008/08/05/released-bbwp2utf8-version-10/</link>
		<comments>http://www.burobjorn.nl/blog/2008/08/05/released-bbwp2utf8-version-10/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 15:54:30 +0000</pubDate>
		<dc:creator>BjornW</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[bbwp2utf8]]></category>

		<guid isPermaLink="false">http://www.burobjorn.nl/blog/?p=351</guid>
		<description><![CDATA[I just released version 1.0 of bbwp2utf8 plugin on the wordpress plugin directory. 
If you have issues with your blog with strange characters appearing due to a MySQL database Character Set not being UTF8 in combination with Wordpress, then this might be the solution for you:
bbwp2utf8 will attempt to convert a wordpress or wordpress mu [...]]]></description>
			<content:encoded><![CDATA[<p>I just released version 1.0 of <a href="http://wordpress.org/extend/plugins/bbwp2utf8/">bbwp2utf8 plugin on the wordpress plugin directory</a>. </p>
<p>If you have issues with your blog with strange characters appearing due to a <a href="http://mysql.com">MySQL</a> database <a href="http://dev.mysql.com/doc/refman/5.0/en/charset-general.html">Character Set</a> not being <a href="http://en.wikipedia.org/wiki/UTF-8">UTF8</a> in combination with <a href="http://wordpress.org">Wordpress</a>, then this might be the solution for you:</p>
<blockquote><p>bbwp2utf8 will attempt to convert a wordpress or wordpress mu database with content in whatever character set to utf8. It uses the information provided by this <a href="http://codex.wordpress.org/Converting_Database_Character_Sets/">guide</a> on the <a href="http://codex.wordpress.org">wordpress codex site</a>. </p></blockquote>
<p>This solves the issue with weird characters due to UTF8 encoding issues as seen in the screenshot below. </p>
<p><a href='http://www.burobjorn.nl/blog/wp-content/uploads/2008/08/screenshot-utf8-character-issue.png'><img src="http://www.burobjorn.nl/blog/wp-content/uploads/2008/08/screenshot-utf8-character-issue-300x231.png" alt="utf8 character issues made visible" title="screenshot-utf8-character-issue" width="300" height="231" class="aligncenter size-medium wp-image-352" /></a></p>
<p>Development for this plugin is made possible by <a href="http://vpro.nl">VPRO</a> Digitaal and started after encountering numerous solutions including other plugins and none providing a 100% workable solution. If you need any help with this plugin, do not hesistate to contact me. My <a href="http://burobjorn.nl">company</a> is available for hire <img src='http://www.burobjorn.nl/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<p>Note: Keep in mind that this plugin has been tested thoroughly for <a href="http://mu.wordpress.org">wordpress mu</a>, but only minimaly for <a href="http://wordpress.org">wordpress</a>. Please contact me if you encounter any issues with Wordpress, patches are always welcome.</p>
<p>Visit this link <a href="http://wordpress.org/extend/plugins/bbwp2utf8/">http://wordpress.org/extend/plugins/bbwp2utf8/</a> to download the plugin or to get more detailed info. </p>
<p>Make sure to have a <strong>working backup</strong> of your wordpress (mu) database before using this plugin!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.burobjorn.nl/blog/2008/08/05/released-bbwp2utf8-version-10/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
