<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Aditya Naik</title>
	
	<link>http://www.adityanaik.com</link>
	<description>Obsessive Compulsive Technology Enthusiast</description>
	<lastBuildDate>Mon, 08 Mar 2010 13:52:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/adityanaik" /><feedburner:info uri="adityanaik" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>adityanaik</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>happy new year</title>
		<link>http://feedproxy.google.com/~r/adityanaik/~3/DEMUgiadjSs/</link>
		<comments>http://www.adityanaik.com/happy-new-year/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 19:24:21 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[Asides]]></category>

		<guid isPermaLink="false">http://www.adityanaik.com/happy-new-year/</guid>
		<description><![CDATA[another year without many posts.. but this year&#8217;s new year resolution is to be more active on the blog and fix that damn post on the bbpress integration. like all my other new year resolutions &#8211; i will stick to this (!).
Happy New Year by the way!
]]></description>
			<content:encoded><![CDATA[<p>another year without many posts.. but this year&#8217;s new year resolution is to be more active on the blog and fix that damn post on the bbpress integration. like all my other new year resolutions &#8211; i will stick to this (!).</p>
<p>Happy New Year by the way!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/adityanaik?a=vCsDrEmY"><img src="http://feeds.feedburner.com/~f/adityanaik?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=UIEyjdva"><img src="http://feeds.feedburner.com/~f/adityanaik?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=3ZrThTqu"><img src="http://feeds.feedburner.com/~f/adityanaik?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=4xWgVtI8"><img src="http://feeds.feedburner.com/~f/adityanaik?i=4xWgVtI8" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/adityanaik/~4/DEMUgiadjSs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.adityanaik.com/happy-new-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.adityanaik.com/happy-new-year/</feedburner:origLink></item>
		<item>
		<title>India lands on the moon</title>
		<link>http://feedproxy.google.com/~r/adityanaik/~3/7l9akA87HdA/</link>
		<comments>http://www.adityanaik.com/india-lands-on-the-moon/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 17:46:00 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[Asides]]></category>

		<guid isPermaLink="false">http://www.adityanaik.com/?p=299</guid>
		<description><![CDATA[Proud to be an Indian &#8211; India has hoisted their flag on the moon.
]]></description>
			<content:encoded><![CDATA[<p>Proud to be an Indian &#8211; India has <a href="http://www.google.com/hostednews/afp/article/ALeqM5hvJZvZknlAx4TFIeMvBzQr_KsPOw">hoisted their flag</a> on the moon.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/adityanaik?a=SkNRxUa6"><img src="http://feeds.feedburner.com/~f/adityanaik?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=qbUqCYPq"><img src="http://feeds.feedburner.com/~f/adityanaik?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=c2pnecpB"><img src="http://feeds.feedburner.com/~f/adityanaik?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=VrzdUM3z"><img src="http://feeds.feedburner.com/~f/adityanaik?i=VrzdUM3z" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/adityanaik/~4/7l9akA87HdA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.adityanaik.com/india-lands-on-the-moon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.adityanaik.com/india-lands-on-the-moon/</feedburner:origLink></item>
		<item>
		<title>Chromify me</title>
		<link>http://feedproxy.google.com/~r/adityanaik/~3/Gzde3GhpTfw/</link>
		<comments>http://www.adityanaik.com/chromify-me/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 13:27:35 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[Asides]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.adityanaik.com/?p=291</guid>
		<description><![CDATA[Google Chrome looks good.. runs good.. I&#8217;m not so sure about the memory use though..
]]></description>
			<content:encoded><![CDATA[<p><a title="Google Chrome" href="http://www.google.com/googlebooks/chrome/index.html">Google Chrome</a> looks good.. runs good.. I&#8217;m not so sure about the memory use though..</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/adityanaik?a=rOLi3O5y"><img src="http://feeds.feedburner.com/~f/adityanaik?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=qtuQ7auE"><img src="http://feeds.feedburner.com/~f/adityanaik?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=nymeGA3S"><img src="http://feeds.feedburner.com/~f/adityanaik?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=jK4TbdGL"><img src="http://feeds.feedburner.com/~f/adityanaik?i=jK4TbdGL" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/adityanaik/~4/Gzde3GhpTfw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.adityanaik.com/chromify-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.adityanaik.com/chromify-me/</feedburner:origLink></item>
		<item>
		<title>iPhone and wordpress</title>
		<link>http://feedproxy.google.com/~r/adityanaik/~3/Wxh27ZjWpcw/</link>
		<comments>http://www.adityanaik.com/iphone-and-wordpress/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 10:13:04 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[Asides]]></category>

		<guid isPermaLink="false">http://www.adityanaik.com/iphone-and-wordpress/</guid>
		<description><![CDATA[Finally an answer to my woes. iPhone app for wordpress
]]></description>
			<content:encoded><![CDATA[<p>Finally an answer to my woes. <a href="http://iPhone.wordpress.net">iPhone app for wordpress</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/adityanaik?a=HNeqT3eY"><img src="http://feeds.feedburner.com/~f/adityanaik?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=uVW7HMq5"><img src="http://feeds.feedburner.com/~f/adityanaik?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=WzuNQI8V"><img src="http://feeds.feedburner.com/~f/adityanaik?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=dWP67WWJ"><img src="http://feeds.feedburner.com/~f/adityanaik?i=dWP67WWJ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/adityanaik/~4/Wxh27ZjWpcw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.adityanaik.com/iphone-and-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.adityanaik.com/iphone-and-wordpress/</feedburner:origLink></item>
		<item>
		<title>subversion hosting</title>
		<link>http://feedproxy.google.com/~r/adityanaik/~3/fXd6_wkjBxk/</link>
		<comments>http://www.adityanaik.com/subversion-hosting/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 14:44:05 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[Asides]]></category>

		<guid isPermaLink="false">http://www.adityanaik.com/?p=284</guid>
		<description><![CDATA[i found this nice subversion hosting site &#8211; springloops
]]></description>
			<content:encoded><![CDATA[<p>i found this nice subversion hosting site &#8211; <a href="http://www.springloops.com/">springloops</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/adityanaik?a=ujPi1LWp"><img src="http://feeds.feedburner.com/~f/adityanaik?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=kUYieCFe"><img src="http://feeds.feedburner.com/~f/adityanaik?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=ZTCCE9CB"><img src="http://feeds.feedburner.com/~f/adityanaik?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=t5fuzBUS"><img src="http://feeds.feedburner.com/~f/adityanaik?i=t5fuzBUS" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/adityanaik/~4/fXd6_wkjBxk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.adityanaik.com/subversion-hosting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.adityanaik.com/subversion-hosting/</feedburner:origLink></item>
		<item>
		<title>today’s lunch time project</title>
		<link>http://feedproxy.google.com/~r/adityanaik/~3/MkHwiYInM_s/</link>
		<comments>http://www.adityanaik.com/todays-lunch-time-project/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 21:07:18 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[Asides]]></category>

		<guid isPermaLink="false">http://www.adityanaik.com/?p=283</guid>
		<description><![CDATA[here is today&#8217;s lunch time project. BBpress Admin for wordpress plugin.. check it out.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpress.org/extend/plugins/bbpress-admin/">here</a> is today&#8217;s lunch time project. BBpress Admin for wordpress plugin.. check it out.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/adityanaik?a=E84nOxNS"><img src="http://feeds.feedburner.com/~f/adityanaik?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=ONGAudWN"><img src="http://feeds.feedburner.com/~f/adityanaik?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=F2YeXidI"><img src="http://feeds.feedburner.com/~f/adityanaik?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=LqCRyb8U"><img src="http://feeds.feedburner.com/~f/adityanaik?i=LqCRyb8U" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/adityanaik/~4/MkHwiYInM_s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.adityanaik.com/todays-lunch-time-project/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.adityanaik.com/todays-lunch-time-project/</feedburner:origLink></item>
		<item>
		<title>iPhone icon</title>
		<link>http://feedproxy.google.com/~r/adityanaik/~3/ySD3Sft79Zo/</link>
		<comments>http://www.adityanaik.com/iphone-icon/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 19:46:15 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[Asides]]></category>

		<guid isPermaLink="false">http://www.adityanaik.com/?p=280</guid>
		<description><![CDATA[I added the iphone webapp icon to my website today. If you dont have an iPhone here is the preview
]]></description>
			<content:encoded><![CDATA[<p>I added the iphone webapp icon to my website today. If you dont have an iPhone <a href="http://www.adityanaik.com/apple-touch-icon.png">here is the preview</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/adityanaik?a=6SsW1jMF"><img src="http://feeds.feedburner.com/~f/adityanaik?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=OoikKZT1"><img src="http://feeds.feedburner.com/~f/adityanaik?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=5KGF48jh"><img src="http://feeds.feedburner.com/~f/adityanaik?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=rRVXxpY7"><img src="http://feeds.feedburner.com/~f/adityanaik?i=rRVXxpY7" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/adityanaik/~4/ySD3Sft79Zo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.adityanaik.com/iphone-icon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.adityanaik.com/iphone-icon/</feedburner:origLink></item>
		<item>
		<title>bbPress Plugin</title>
		<link>http://feedproxy.google.com/~r/adityanaik/~3/lWbSHT4ZAkk/</link>
		<comments>http://www.adityanaik.com/bbpress-plugin/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 17:48:14 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[bbpress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tags]]></category>

		<guid isPermaLink="false">http://www.adityanaik.com/279/</guid>
		<description><![CDATA[Enhanced Tag Heat Map is my latest plugin for bbPress.. its been a long time since my work on bbpress. but schools taking a lot of my time. I&#8217;ll be releasing a few themes and a couple of plugins soon for wordpress 2.5 and bbpress 0.9
here is the plugin though
]]></description>
			<content:encoded><![CDATA[<p>Enhanced Tag Heat Map is my latest plugin for bbPress.. its been a long time since my work on bbpress. but schools taking a lot of my time. I&#8217;ll be releasing a few themes and a couple of plugins soon for wordpress 2.5 and bbpress 0.9</p>
<p><a href="http://bbpress.org/plugins/topic/enhanced-tag-heat-map/">here is the plugin</a> though</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/adityanaik?a=eh1QKqi2"><img src="http://feeds.feedburner.com/~f/adityanaik?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=BL7ffCY5"><img src="http://feeds.feedburner.com/~f/adityanaik?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=rCG6u8Aq"><img src="http://feeds.feedburner.com/~f/adityanaik?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=wR19QtoR"><img src="http://feeds.feedburner.com/~f/adityanaik?i=wR19QtoR" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/adityanaik/~4/lWbSHT4ZAkk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.adityanaik.com/bbpress-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.adityanaik.com/bbpress-plugin/</feedburner:origLink></item>
		<item>
		<title>IntegratePress – Part II – Live Search</title>
		<link>http://feedproxy.google.com/~r/adityanaik/~3/tsoJI6NMesM/</link>
		<comments>http://www.adityanaik.com/integratepress-part-ii-live-search/#comments</comments>
		<pubDate>Mon, 06 Aug 2007 20:17:22 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://www.adityanaik.com/integratepress-part-ii-live-search/</guid>
		<description><![CDATA[Another one of the plugins that i tried to integrated with my redesign was <a href="http://addictedtonew.com/archives/145/wordpress-live-search-plugin/">Addicted Live Search</a>. The plugin is a really nice and simple plugin for wordpress. All I wanted to do with this is have the results show results from both forum and my blog. The first step was to <a href="http://www.adityanaik.com/integratepress-part-i/">integrated both bbpress and Wordpress</a>. Second step hack the plugin. 

You can download the changed files from <a href="http://www.adityanaik.com/download/bb_live_search.zip">here</a>. If you need explanation on the changes or customization. Read on.]]></description>
			<content:encoded><![CDATA[<p>Another one of the plugins that i tried to integrated with my redesign was <a href="http://addictedtonew.com/archives/145/wordpress-live-search-plugin/">Addicted Live Search</a>. The plugin is a really nice and simple plugin for wordpress. All I wanted to do with this is have the results show results from both forum and my blog. The first step was to <a href="http://www.adityanaik.com/integratepress-part-i/">integrated both bbpress and Wordpress</a>. Second step hack the plugin.</p>
<p><strong>Installation Basics</strong></p>
<p>First thing that you will need to do is install <a href="http://addictedtonew.com/archives/145/wordpress-live-search-plugin/">Addicted Live Search</a> and make sure its working on your blog. <strong>Note:</strong> that this plugin adds the prototype javascript to the header. If you already are using the prototype package, comment our line 12 from live_search.php which says</p>
<p><code>echo '&lt;script type="text/javascript" src="' . get_bloginfo('siteurl') . '/wp-content/plugins/addicted_live_search/js/prototype.js"&gt;&lt;/script&gt;' . "\n";</code></p>
<p>To complete the hack you will also need to have the following things.</p>
<blockquote>
<ol>
<li> &#8211; The web path to the files in the plugin directory and the files in it</li>
<li> &#8211; Basics of XHTML, PHP, JS</li>
</ol>
</blockquote>
<p>You can download the changed files from <a href="http://www.adityanaik.com/download/bb_live_search.zip">here</a>. If you need explanation on the changes or customization. Read on.</p>
<p><strong>Plugin Basics</strong></p>
<p>The live search plugin has three files that are needed to be hacked<br />
<code>search_results.php - integrate bbpress<br />
js\live_search.js - fix a couple of quirks<br />
css\live_search.css - if you want to customize the plugin<br />
</code></p>
<p>Lets start with search_results.php</p>
<p><strong>Hack the Results</strong></p>
<p>Lets open search_results.php. Between lines 13 and 33, bbPress will fetch the titles matching the query, titles with recent posts matching the query and topics of relevant posts with matching content. If you don&#8217;t want any of these to show up in the results just comment out the respective query. Meat of the search is in here.</p>
<p>After retrieving the topics, they are displayed by the topics loop between lines 50 and 61. You can also show the results individually for titles, recent posts and relevant posts. For that adjust the queries on lines 13 and 23 and then run a loop for them.</p>
<p>Uncomment the lines between lines 63 and 65 to show a close results link under the results. In some cases, the results fluctuate before disappearing. If you are having that problem, replace</p>
<p><code>onclick="ls.close(); return false;" </code></p>
<p>with</p>
<p><code>onclick="Field.clear('s'); return false;" </code></p>
<p><strong>Showing the Results</strong></p>
<p>The plugin by default adds the results under the search box. But sometimes thats not where you would want the results to be. To place it anywhere else comment out the line 10 from js/live_search.js which looks like this</p>
<p><code>&lt;code&gt;new Insertion.Bottom(ls.search_form, '&lt;div id="addicted_results"&gt;&lt;/div&gt;');&lt;/code&gt;</code></p>
<p>Now just place the following div tag anywhere you want.</p>
<p><code>&lt;div id="addicted_results"&gt;&lt;/div&gt;</code></p>
<p><strong>Customizing the Results Display</strong></p>
<p>Edit the css/live_search.css file to customize your display.</p>
<p><strong>Adding links to Blog Search and Forum Search</strong></p>
<p>You can add links to blog search and forum search on the search results. here is the code that you will add to get the link to the blog results.</p>
<p><code>&lt;a href="&lt;?php bb_option('uri'); ?&gt;search.php?q=&lt;?php echo $_GET['s']; ?&gt;"&gt;Â» more results&lt;/a&gt;</code></p>
<p>And here is the code to get the link to the forum results.</p>
<p><code>&lt;a href="&lt;?php bloginfo('home'); ?&gt;/?s=&lt;?php echo $_GET['s']; ?&gt;"&gt;Â» more results&lt;/a&gt;</code></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/adityanaik?a=CnL7UVeb"><img src="http://feeds.feedburner.com/~f/adityanaik?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=pVRv4egD"><img src="http://feeds.feedburner.com/~f/adityanaik?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=HSPv66d9"><img src="http://feeds.feedburner.com/~f/adityanaik?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=LxibaAGP"><img src="http://feeds.feedburner.com/~f/adityanaik?i=LxibaAGP" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/adityanaik/~4/tsoJI6NMesM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.adityanaik.com/integratepress-part-ii-live-search/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.adityanaik.com/integratepress-part-ii-live-search/</feedburner:origLink></item>
		<item>
		<title>integratePress – Part I</title>
		<link>http://feedproxy.google.com/~r/adityanaik/~3/yjWTHUR1vxo/</link>
		<comments>http://www.adityanaik.com/integratepress-part-i/#comments</comments>
		<pubDate>Tue, 31 Jul 2007 18:12:06 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://www.adityanaik.com/integratepress-part-i/</guid>
		<description><![CDATA[UPDATE: These steps are valid for previous version of BBPress. May not work with WP 2.6.X and BBpress Alpha.
With the redesign of my site I have taken the integration of wordpress and bbpress a step beyond theme integration. This time I wanted to reuse the plugins for wordpress and also have forums showup with wordpress. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE: These steps are valid for previous version of BBPress. May not work with WP 2.6.X and BBpress Alpha.</strong></p>
<p>With the redesign of my site I have taken the <a href="http://www.adityanaik.com/bbpress-and-wordpress-integration/">integration of wordpress and bbpress</a> a step beyond theme integration. This time I wanted to reuse the plugins for wordpress and also have forums showup with wordpress. I received requests from many of you about how to do it. Also the previous post about the integration is sort outdated because of the consequent releases of bbpress.</p>
<p>For the purpose of this article I am assuming that the bbpress installed in a subdirectory of wordpress</p>
<p><strong>File: bbpress/config.php</strong></p>
<p>Add the following code to the top of config.php</p>
<p><code>define('WP_BB', true);<br />
if ( !defined('DB_NAME') ) {<br />
require_once( dirname(__FILE__) . '/../wp-config.php');<br />
}</code></p>
<p>Define the following variables.</p>
<p><code><br />
$bb-&gt;wp_table_prefix = 'wp__'; // your wordpress db prefix is<br />
$bb-&gt;wp_home = 'http://www.yourwebsite.com';<br />
$bb-&gt;wp_siteurl = 'http://www.yourwebsite.com';<br />
</code></p>
<p><strong>File: wordpress/wp-config.php</strong></p>
<p>In this file the last statement is which says</p>
<p><code>require_once(ABSPATH.'wp-settings.php');</code></p>
<p>After this statement (before the php closing tag &#8211; ?&gt;) add the following statements</p>
<p><code>if ( !defined('BBDB_NAME') )<br />
require_once(ABSPATH.'bbpress/bb-load.php');</code></p>
<p>replace bbpress with whatever the directory bbPress is in.</p>
<p><strong>bbPress Plugin: Display Name</strong></p>
<p>This plugin ensures that the name shown is the display name from the wordpress rather than the username.<br />
<a href="http://bbpress.org/plugins/topic/2">Download</a>, Upload and activate this plugin in bbPress.</p>
<p><strong>bbPress Plugin: Wordpress Integration</strong></p>
<p>This plugin ensures that your existing wordpress users can log into your bbPress install.<br />
<a href="http://bbpress.org/plugins/topic/4">Download</a>, Upload and activate this plugin in bbPress.</p>
<p><strong>Wordpress Plugin: bbPress Integration</strong></p>
<p>This plugin makes suer that the users created in wordpress have valid roles in bbpress.<br />
<a href="http://wordpress.org/extend/plugins/bbpress-integration/">Download</a>, Upload and activate this plugin in wordpress. After activating this plugin, go to Plugins » bbPress and enter the bbPress database prefix and update.</p>
<p><strong>Theme: Template Integration</strong></p>
<p><a href="http://www.adityanaik.com/download/ThemePress-v-1.zip">Download this file</a> and drop the created directory in your my-templates directory. All this theme does is takes that header and footer from the wordpress theme and uses it.</p>
<p><strong>Note 1:</strong> You will still need to add some more css styling for the forum contents.<br />
<strong>Note 2:</strong> This theme does assumes that the footer and header will bring in any sidebar that you need automatically. If thats not the case you will have to add get_sidebar(); wherever needed.</p>
<p><strong>Enjoy the bliss</strong></p>
<p>That should do it. Now all your plugins and functions in wordpress should work with bbPress and also all the functions in bbpress should work with wordpress. You can all any of the bbpress functions in the wordpress themes.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/adityanaik?a=PeIPsTmX"><img src="http://feeds.feedburner.com/~f/adityanaik?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=OJkfOHB0"><img src="http://feeds.feedburner.com/~f/adityanaik?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=RTTxWAAM"><img src="http://feeds.feedburner.com/~f/adityanaik?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/adityanaik?a=vDOjyg5E"><img src="http://feeds.feedburner.com/~f/adityanaik?i=vDOjyg5E" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/adityanaik/~4/yjWTHUR1vxo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.adityanaik.com/integratepress-part-i/feed/</wfw:commentRss>
		<slash:comments>192</slash:comments>
		<feedburner:origLink>http://www.adityanaik.com/integratepress-part-i/</feedburner:origLink></item>
	</channel>
</rss>
