<?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>SEO Web Design with Binh Nguyen &#187; Site</title>
	<atom:link href="http://www.binh.name/t/site/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.binh.name</link>
	<description>Freebies for SEO, Web design, computers, blogging</description>
	<lastBuildDate>Thu, 25 Jun 2009 21:40:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>PunBB powers Facebook Developers Forum</title>
		<link>http://www.binh.name/punbb-powers-facebook-developers-forum/</link>
		<comments>http://www.binh.name/punbb-powers-facebook-developers-forum/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 20:37:55 +0000</pubDate>
		<dc:creator>Bình</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[Site]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://www.binh.name/2008/03/01/punbb-powers-facebook-developers-forum/</guid>
		<description><![CDATA[This's a very accidental discovery. I found out that Facebook.com is using PunBB for their Developers Forum. The strange thing that caught my attention is that PunBB is a very simple PHP-powered bulletin board. Why such a big company like Facebook didn't make their own forum CMS or use a commercial one such as vBulletin, [...]]]></description>
			<content:encoded><![CDATA[<p>This's a very accidental discovery. I found out that Facebook.com is using <strong>PunBB</strong> for their Developers Forum.</p>
<p>The strange thing that caught my attention is that PunBB is a very simple <strong>PHP-powered bulletin board</strong>. Why such a big company like Facebook didn't make their own forum CMS or use a commercial one such as vBulletin, or the free and famous one phpBB, or bbPress. Why PunBB?</p>
<p>I went ahead to PunBB and register for an account for their forum. I tested it and here are some findings.</p>
<h2>PunBB features</h2>
<p>PunBB claims to have the following features:</p>
<ul>
<li>is fast.</li>
<li>has simple layout and design.</li>
<li>is easy to administrate and moderate.</li>
<li>doesn't output huge, non-valid, (X)HTML pages.</li>
<li>has source code you could read and understand.</li>
</ul>
<h2>What I like about PunBB</h2>
<ol>
<li>The forum seem to be pretty simple and fast as they claimed it to be.</li>
<li>It's light weight.</li>
<li>Active support community.</li>
<li>Used by famous companies like Facebook.</li>
<li>(due to unexpected reason, this part is missing).</li>
</ol>
<h2>What I don't like</h2>
<p>There are something I don't like though.</p>
<ol>
<li>The system redirect the URL for almost every action related to the database. That's something very strange, and ofcourse it slightly increase the lag and wait time between operations.</li>
<li>The PunBB forum, just like other forums and unlike bbPress, doesn't have friendly URL. At this time I still don't know if there are plugins that provide friendly URL feature for this. If not, this will be a major drawback for the system and might be the cause for me not using it.</li>
</ol>
<h2>What's next?</h2>
<p>I'm considering this to be the solution for my own help forum in replacement for the help page. I hate complexity in the interface and back-end system. Something like Joomla just isn't right for me.</p>
<p>If you are interseted in this system, please go ahead and visit their website <a href="http://punbb.org/">PunBB</a> and test out their <a href="http://punbb.org/forums/">PunBB Forums</a>. And of course, you should check out how face book use it on their <a href="http://forum.developers.facebook.com/">Facebook Platform Developers Forum</a>. And (another and) don't forget to come back here and tell me how you feel.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.binh.name/punbb-powers-facebook-developers-forum/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Fixing Post Teaser Plugin Bug for WP 2.3.1</title>
		<link>http://www.binh.name/fixing-post-teaser-plugin-bug-for-wp-231/</link>
		<comments>http://www.binh.name/fixing-post-teaser-plugin-bug-for-wp-231/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 16:15:03 +0000</pubDate>
		<dc:creator>Bình</dc:creator>
				<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Site]]></category>

		<guid isPermaLink="false">http://www.binh.name/?p=39</guid>
		<description><![CDATA[Have you ever had problem with Post Teaser plugin for WordPress? I am using it and I found a bug. So I fixed the bug and now you can download it right from this page. I name it "Post Teaser 2" just so It won't mess up with the original one. It's now available for [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever had problem with <strong><a href="http://wordpress.org/extend/plugins/post-teaser/" title="Visit plugin homepage">Post Teaser</a></strong> plugin for WordPress? I am using it and I found a bug. So I fixed the bug and now you can download it right from this page. I name it "Post Teaser 2" just so It won't mess up with the original one.</p>
<p>It's now available for download from this page: <a href="http://www.binh.name/?attachment_id=43" rel="attachment wp-att-43" title="Post Teaser 2 - An Essential WordPress Plugin">Post Teaser 2 - An Essential WordPress Plugin</a>.</p>
<h2>The Bug</h2>
<p>When I click the Update Options button on the Manage Post Teaser page, I got this: "Cannot load post-teaser.php." as shown in the snapshot:</p>
<p align="center"><img src="http://binh.name/files/2007/11/post-teaser-bug.png" alt="Post Teaser Bug" /></p>
<h2>Locating the bug</h2>
<p>It's annoying abit, but it's also easy to fix. I notice the following URL after the button is clicked:</p>
<blockquote><p>http://binh.name/wp/wp-admin/options-general.php?page=post-teaser.php&amp;saved=true</p></blockquote>
<p>And this is the URL before the button is clicked:</p>
<blockquote><p>http://binh.name/wp/wp-admin/options-general.php?page=post-teaser/post-teaser.php</p></blockquote>
<p>The different here is noticable.</p>
<ul>
<li>The failed query is: post-teaser.php&amp;saved=true</li>
<li>The unfailed query is: post-teaser/post-teaser.php</li>
</ul>
<p>So the correct query for saving the options should be: <strong>post-teaser/post-teaser.php&amp;saved=true</strong></p>
<h2>Debugging it</h2>
<p><strong>Open </strong>file "post-teaser/post-teaser.php" in the Plugin Editor (found in the Plugins page in Admin panel).</p>
<p><strong>Search </strong>for the string "post-teaser.php&amp;saved=true" in the file , and found the following lines:</p>
<ul>
<li> 101: header('Location: ' . get_settings('siteurl') . '/wp-admin/options-general.php?page=post-teaser.php&amp;saved=true');</li>
<li>103: 				header('Location: ' . get_settings('siteurl') . '/wp-admin/options-general.php?page=post-teaser.php&amp;saved=true');</li>
</ul>
<p><strong>Replace </strong>"post-teaser.php&amp;saved=true" with "post-teaser/post-teaser.php&amp;saved=true" and we get:</p>
<ul>
<li>101: header('Location: ' . get_settings('siteurl') . '/wp-admin/options-general.php?page=post-teaser/post-teaser.php&amp;saved=true');</li>
<li>103: 				header('Location: ' . get_settings('siteurl') . '/wp-admin/options-general.php?page=post-teaser/post-teaser.php&amp;saved=true');</li>
</ul>
<p><strong>Alternatively</strong> you could edit the plugin file locally then upload it.</p>
<p>A <strong>screenshot</strong> where it is located:</p>
<p><a href="http://www.binh.name/?attachment_id=41" rel="attachment wp-att-41" title="Edit Post Teaser Code File"></a></p>
<p style="text-align: center"><a href="http://www.binh.name/?attachment_id=41" rel="attachment wp-att-41" title="Edit Post Teaser Code File"><img src="http://binh.name/files/2007/11/post-teaser-bug-edit.thumbnail.png" alt="Edit Post Teaser Code File" /></a></p>
<p><strong>Problem Fixed:</strong></p>
<p style="text-align: center"><a href="http://www.binh.name/?attachment_id=42" rel="attachment wp-att-42" title="Post Teaser Bug Fixed"><img src="http://binh.name/files/2007/11/post-teaser-bug-fixed.png" alt="Post Teaser Bug Fixed" /></a></p>
<h2>Conclusion</h2>
<p>The author of this plugin actually wrote it up to version 2.3 of WordPress. Or maybe because he just didn't mean to have the user keep the post-teaser.php file under the post-teaser folder. Either way, I hope when writing the plugin and packaging it the author should consider the end user first.</p>
<p>I, a web developer still didn't realise I had to extract the php file into the plugins folder instead of the whole folder which contains the php file? Most of the plugins come packaged with readme.txt, plugin-name.pot, etc. How does the user know what to do without reading pages of documentation? We should make it simple for the end users. KISS principle is appreciated.</p>
<p>Since this wonderful plugin has a public license I would like to continue supporting it. If you have any problem please feel free to leave a comment on this page.  And... sorry I couldn't fix the translation files. So if you are using another language, please bear not having it, or modify the original file as directed by this debugging tutorial.</p>
<p>You can directly <a href="http://binh.name/files/2007/11/post-teaser-2.zip">download Post Teaser 2 now</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.binh.name/fixing-post-teaser-plugin-bug-for-wp-231/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.497 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-09 21:16:24 -->
<!-- Compression = gzip -->
