<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>anupom.toString( ); &#187; Wordpress</title>
	<atom:link href="http://anupom.wordpress.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://anupom.wordpress.com</link>
	<description>Web Development, Java, PHP, Ruby, Javascript and many more!</description>
	<lastBuildDate>Sat, 12 Sep 2009 05:44:32 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='anupom.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/3ff710d3ac1d9a52305c62be6e59c22a?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>anupom.toString( ); &#187; Wordpress</title>
		<link>http://anupom.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://anupom.wordpress.com/osd.xml" title="anupom.toString( );" />
		<item>
		<title>To the moon and back!</title>
		<link>http://anupom.wordpress.com/2006/10/06/26/</link>
		<comments>http://anupom.wordpress.com/2006/10/06/26/#comments</comments>
		<pubDate>Fri, 06 Oct 2006 12:26:51 +0000</pubDate>
		<dc:creator>anupom</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://anupom.wordpress.com/2006/10/06/26/</guid>
		<description><![CDATA[For the last one month I did not write a single blog! Was I busy? Not at all!  I was in sylhet for some days. Came back on 15th september. Then started buliding a website for Fredskorpset Bangladesh. The site was created using WordPress. It contains a blog (as News), Events and a Forum. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupom.wordpress.com&blog=295932&post=26&subd=anupom&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For the last one month I did not write a single blog! Was I busy? Not at all!  I was in sylhet for some days. Came back on 15th september. Then started buliding a website for Fredskorpset Bangladesh. The site was created using WordPress. It contains a blog (as News), Events and a Forum. As a large number of plugins are available for WordPress, using this blog engine as CMS is quite handy.</p>
<p>First, I selected a widgetized theme. Then started adding things on it. As wordpress is a blogging engine, creating the news section was easy. just the comments and some other parts were chopped off. For the Upcoming Events section I used rs-event plugin. Just give a date to a post, and the rs-event will treat it as an event and display it on the sidebar as an upcoming event. It is quite straight forward.</p>
<p>The forum was created using rs-discuss plugin. There are other forum plugins available for WordPress but I choose this one as it looked quite neat and lightweight. It uses the worpress database for user validation. It was quite great, as I wanted. But sadly when I installed this plugin somehow it was not working. I felt so bad,  I then tried some other plugins like wp-forum, but did not like them. So, I came back to rs-event  again, installed it again and found it is not working again!! Installing rs-discuss, Like other WordPress plugins, is quite simple, so there  should not be any problem at all, I went to the rs-discuss users forum, there are many other problems people are talking about, but no one is complaining about the installation. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Hmm, then why me having such problem? The installation seems successful, the admin panel has a new section named Forum. You can also run diagnostic from there which will check the installation. When I run diagnostic it says everything is ok. But when I  click on the link for Forum from the site it shows nothing. Then I start checking the installation script for rs-discusss. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>And I finaly found the problem! Somewhere in the installation script I found a db query :</p>
<p><code>$wpdb-&gt;query(<br />
"INSERT INTO {$table_prefix}posts ( post_status, post_title, post_content, post_name )<br />
VALUES ( 'static', '".__('Forums', 'rs-discuss')."', '&lt;!--rs-discuss--&gt;\r\n"<br />
....<br />
</code><br />
That was not somehow executing during the installation! Then I manually inserted<br />
&#8216;&lt;!&#8211;rs-discuss&#8211;&gt;\r\n&#8217; into the post_content of the post which is supposed to show the Forum. And then it worked! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Though I solved the problem I could not figure out why this query was not executing! The forum should be only visible when the user is logged in. But there was no such option like this in the rs-discuss plugin. So I had to add some code for checking that before showing the forum.</p>
<p>Now I needed a Login form in the page. I searched for such plugin and found King-login.</p>
<p>Now, how the new users will be registered? WordPress has a registration system that let an user to register on his own. But I don&#8217;t want this. I want users to apply for registration by filling a form. And the administrator will later approve the registration. The administrator when logged in should see all the users who are awaiting for his approval. From that list admin should be able to approve or delete the request.  After approval the user will be notified through email. I did not find any such plugin. So, I started to add my own code. And finally got it right.</p>
<p><a href="/files/2006/10/untitled.GIF" title="wp_awaiting"><img src="http://anupom.files.wordpress.com/2006/10/untitled.GIF" alt="wp_awaiting" /></a></p>
<p>Eveything is done. Now when I uploaded the site for testing, Sabur vai asked to change the Theme! In WordPress you can change the theme by a single click of mouse. But as I changed some template codes too (like not showing the comments &amp; other stuffs), I need to do that again in the new theme. Finally Sabur vai choose a theme from the wordpress collection, and that was &#8211; Green Marinée.</p>
<p>Hmm.. okay, but Green Marinée is not a widgetized theme. So I first had to widgetize the theme. As I am using some widget plugins, widgetizing the theme  was required.  <a href="http://automattic.com">Automattic</a>  has a <a href="http://automattic.com/code/widgets/themes/">tutorial</a> on how to widgetize a theme.</p>
<p>Hmm.. okay, but Green Marinée has no horizontal menubar.  This site should have a horizontal menubar on top, simple pages/links in the sidebar will not be noticeable.  So, I had to change the CSS too.</p>
<p>It was quite a hectic task for me, I did not need to do these stuffs if I was using the old widgetized theme. Somehow at last I quite managed to finish it all on 19th.  But still some small modifications are needed. Hopefully the site will go live within this week.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anupom.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anupom.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anupom.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anupom.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anupom.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anupom.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anupom.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anupom.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anupom.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anupom.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anupom.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anupom.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anupom.wordpress.com&blog=295932&post=26&subd=anupom&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://anupom.wordpress.com/2006/10/06/26/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/093e82f19edc6281344aa3b707c6e2b5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anupom</media:title>
		</media:content>

		<media:content url="http://anupom.files.wordpress.com/2006/10/untitled.GIF" medium="image">
			<media:title type="html">wp_awaiting</media:title>
		</media:content>
	</item>
	</channel>
</rss>