<?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"
	>

<channel>
	<title>NGCoders - Next Generation Coders</title>
	<atom:link href="http://www.ngcoders.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ngcoders.com</link>
	<description>Personal Blog of Vikas Patial.</description>
	<pubDate>Tue, 04 Nov 2008 20:25:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Joodr Profile System - Content profile vs Core profile</title>
		<link>http://www.ngcoders.com/projects/joodr/joodr-profile-system-content-profile-vs-core-profile</link>
		<comments>http://www.ngcoders.com/projects/joodr/joodr-profile-system-content-profile-vs-core-profile#comments</comments>
		<pubDate>Tue, 04 Nov 2008 20:25:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Joodr]]></category>

		<category><![CDATA[content profile]]></category>

		<category><![CDATA[core.module]]></category>

		<category><![CDATA[drupal 6]]></category>

		<guid isPermaLink="false">http://www.ngcoders.com/?p=62</guid>
		<description><![CDATA[As Joodr is based on Drupal 6 , Neither Nodeprofile or Bio can be used for profile system. So basically I had two options Content Profile and the core profile.module .  Both have their own advantages and disadvantages.
So after some digging around and looking how it works Joodr will be using a profile as node [...]]]></description>
			<content:encoded><![CDATA[<p>As Joodr is based on Drupal 6 , Neither Nodeprofile or Bio can be used for profile system. So basically I had two options Content Profile and the core profile.module .  Both have their own advantages and disadvantages.</p>
<p>So after some digging around and looking how it works Joodr will be using a profile as node system using content profile. The main reason for me choosing this is how the data is stored when using core module and when using profile with CCK . I found profile with CCK is much better. There are other reasons too but overall for a SNS to be as scalable and configurable as possible content profile would be better, for smaller ones core profile should do just fine.</p>
<p>So i will be finally using content profile as profile module for Joodr.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngcoders.com/projects/joodr/joodr-profile-system-content-profile-vs-core-profile/feed</wfw:commentRss>
		</item>
		<item>
		<title>XBOX 360 RROD and Microsoft India support</title>
		<link>http://www.ngcoders.com/general/xbox-360-rrod-and-microsoft-india-support</link>
		<comments>http://www.ngcoders.com/general/xbox-360-rrod-and-microsoft-india-support#comments</comments>
		<pubDate>Thu, 30 Oct 2008 07:11:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[microsoft india]]></category>

		<category><![CDATA[rrod]]></category>

		<category><![CDATA[xbox 360]]></category>

		<category><![CDATA[xbox india]]></category>

		<guid isPermaLink="false">http://www.ngcoders.com/?p=59</guid>
		<description><![CDATA[I have a XBOX 360 for some time now, last week after a month out of 1 yr warranty it showed the feared Red Ring of Death (RROD). I had heard many horror stories about it . As I had never had actually dealt with Microsoft India before I was pretty pessimistic as my experience [...]]]></description>
			<content:encoded><![CDATA[<p>I have a XBOX 360 for some time now, last week after a month out of 1 yr warranty it showed the feared Red Ring of Death (RROD). I had heard many horror stories about it . As I had never had actually dealt with Microsoft India before I was pretty pessimistic as my experience with after sales services with companies in India is pathetic ( actually its really bad ).</p>
<p>So I called up Microsoft and after a few verifications i was assigned a replacement. The replacement arrived within 3 days and to my surprise it supported 1080p unlike my old one which just did 720p. So am pretty happy about my free upgrade and great after sales service provided my Microsoft.</p>
<p>So if you are planning to buy a XBOX 360 in India do go ahead and do get yourself a XBOX live connection , thats what makes 360 shine above the other consoles which collect dust in my house.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngcoders.com/general/xbox-360-rrod-and-microsoft-india-support/feed</wfw:commentRss>
		</item>
		<item>
		<title>JTemplate - Joomla tempaltes on Drupal</title>
		<link>http://www.ngcoders.com/php/jtemplate-joomla-tempaltes-on-drupal</link>
		<comments>http://www.ngcoders.com/php/jtemplate-joomla-tempaltes-on-drupal#comments</comments>
		<pubDate>Wed, 29 Oct 2008 06:37:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Joodr]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Drupal]]></category>

		<category><![CDATA[Joomla]]></category>

		<category><![CDATA[tempalte]]></category>

		<guid isPermaLink="false">http://www.ngcoders.com/?p=55</guid>
		<description><![CDATA[Jtemplate is the first step towards Joodr,It aims at allowing usage of vast number of premium joomla templates with drupal with minimal effort. It is basically a set of Drupal Module and a templating Engine based on phptemplate. The idea is to allow the use of Joomla templates on Drupal as good templates for drupal [...]]]></description>
			<content:encoded><![CDATA[<p>Jtemplate is the first step towards Joodr,It aims at allowing usage of vast number of premium joomla templates with drupal with minimal effort. It is basically a set of Drupal Module and a templating Engine based on phptemplate. The idea is to allow the use of Joomla templates on Drupal as good templates for drupal are missing, drupal templating is expensive and few premium template providers who are there charge really high.Currently you just need to upload the template to the themes directory and just create a dummy template_name.info file in the directory and the rest everything is taken care by Jtemplate.</p>
<p>Currently a lot of work is still remaining but here are a few features -</p>
<ul>
<li>Drupal 6 supported</li>
<li>Joomla 1.5 templates compatible</li>
<li>Little to no changes required to Joomla templates</li>
<li>Support for Template params and Template styes from admin</li>
<li>Effects and Suckerfish menus supported</li>
<li>Tested with premium templates from some providers.</li>
</ul>
<p>Anyhow will be releasing the download soon , am looking for people to help me improve it for now.As everything does not work <img src='http://www.ngcoders.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . </p>
<p>You can check a demo here - <a href="http://joodr.org/demo/">http://joodr.org/demo/</a> . The demo is running plain Drupal 6.5 with Jtemplate installed. The template is from rocketheme , with no changes or editing done <img src='http://www.ngcoders.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngcoders.com/php/jtemplate-joomla-tempaltes-on-drupal/feed</wfw:commentRss>
		</item>
		<item>
		<title>Joomla and Drupal together - Joodr ( Social Networking Script )</title>
		<link>http://www.ngcoders.com/php/joomla-and-drupal-together-joodr-social-networking-script</link>
		<comments>http://www.ngcoders.com/php/joomla-and-drupal-together-joodr-social-networking-script#comments</comments>
		<pubDate>Sat, 18 Oct 2008 18:46:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Joodr]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Projects]]></category>

		<category><![CDATA[Drupal]]></category>

		<category><![CDATA[Joomla]]></category>

		<category><![CDATA[Social networking script]]></category>

		<guid isPermaLink="false">http://www.ngcoders.com/?p=51</guid>
		<description><![CDATA[I have been building sites for a long time. and have user both drupal and Joomla , even built a lite version of Joomla called Limbo CMS long time back. They are both quite good CMS&#8217;s. Given  the two I would choose drupal any day for myself ( though would never recommend it , cause [...]]]></description>
			<content:encoded><![CDATA[<p>I have been building sites for a long time. and have user both drupal and Joomla , even built a lite version of Joomla called Limbo CMS long time back. They are both quite good CMS&#8217;s. Given  the two I would choose drupal any day for myself ( though would never recommend it , cause its still not easy to make it do what u want ) , but am no designer and drupal templates are a big let down, though not hard but templating drupal is just a pain.  And template wise Joomla simply is Awesome ( the quality of premium templates available is just so good ) , and its easier to work with for not so technically inclined.</p>
<p>And i have been looking for a good social networking script since last year , and having looked far and wide from paid scripts like phpfox,handshakes,socialengine etc to free ones like Dolphin(not really free),elgg,phpizabi,Joomla+CB. Most of them are really bad and nothing i would build a big site on , its just that bad. There is hope in hosted platforms like ning,socialgo,colletivex but they are hosted , never recommended for anything serious. The only good social networking platform out there is Drupal - has everything i need from scalabilty , security , documentation etc . But again the base install requires hours of tweaking to make it look anything like a normal social script.</p>
<p>So my after taking a few months off from freelancing , ive decided to work on  a new personal project called Joodr. It aims to be something like ning but free, based on drupal so that its as flexible,scalable,secure and use Joomla 1.5 templates so your sites look awesome without much effort. The name <strong>Joodr</strong> i simpley got from <strong>Joo</strong>mla + <strong>Dr</strong>upal , though its a basically a customized install profile of Drupal.</p>
<p>Work has started so keep reading for further updates !!! And if you have any ideas and suggestions let them flow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngcoders.com/php/joomla-and-drupal-together-joodr-social-networking-script/feed</wfw:commentRss>
		</item>
		<item>
		<title>Website hacked to finding the exploit</title>
		<link>http://www.ngcoders.com/general/website-hacked-to-finding-the-exploit</link>
		<comments>http://www.ngcoders.com/general/website-hacked-to-finding-the-exploit#comments</comments>
		<pubDate>Tue, 30 Sep 2008 18:58:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[exploit tracking]]></category>

		<category><![CDATA[raw access logs]]></category>

		<guid isPermaLink="false">http://www.ngcoders.com/?p=47</guid>
		<description><![CDATA[Recently one of my sites was hacked , It was a closed source web application. I came to know next day when i saw changes made to some settings for my web - application. Anyhow here is how i tracked down what was wrong , might help some one in the same mess i was [...]]]></description>
			<content:encoded><![CDATA[<p>Recently one of my sites was hacked , It was a closed source web application. I came to know next day when i saw changes made to some settings for my web - application. Anyhow here is how i tracked down what was wrong , might help some one in the same mess i was in. </p>
<p>The first thing i noticed was that Administrator account passwords were changed, So i instantly knew something was wrong.</p>
<p>Since i usually store main settings in a file for faster access , i just opened FTP to look at the <b>time stamp</b> associated with the file. This showed me the <b>last modifed</b> date of the file and an approximate idea when the hacker changed the details.</p>
<p>Next step was to dig up the <b>raw access logs</b> from CPanel , After downloading the access logs for that specific file i opened them in PSPad ( My fav editor ) . Logs are not small of busy sites so you will be looking at a very large amount of data.</p>
<p>But i knew specific url which can be used to change the settings so i just did a Ctrl-F and put in the url with a <b>POST prefix</b> , as a form has to be submitted to change settings . This gave me a few instances of that URL with POST request. </p>
<p>Now looking at the time stamp i was able to find out when the hacker did the settings change. Means I had the <b>IP</b>.Doing another another <b>CTRL-F on the IP and pressing list</b> put all the hacker logs in another window , which makes its easy for us to go step by step at his efforts to crack the system.</p>
<p>After going from the start i noticed after certain URL he suddenly had got access to the admin section , And once i put in the url myself, i knew what the problem was. </p>
<p>And so it was fixed. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngcoders.com/general/website-hacked-to-finding-the-exploit/feed</wfw:commentRss>
		</item>
		<item>
		<title>PHP automatic file and database backup script</title>
		<link>http://www.ngcoders.com/php/php-automatic-file-and-database-backup-script</link>
		<comments>http://www.ngcoders.com/php/php-automatic-file-and-database-backup-script#comments</comments>
		<pubDate>Sun, 28 Sep 2008 13:22:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Downloads]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.ngcoders.com/?p=44</guid>
		<description><![CDATA[This is a pure php implementation of a php backup script. So it should work fine on windows and linux. But its not suited for takeing very large backups.
I just wrote it cause most of the script i saw offered file or database backup and broke down to usage of exec  and unix commands , [...]]]></description>
			<content:encoded><![CDATA[<p>This is a pure php implementation of a php backup script. So it should work fine on windows and linux. But its not suited for takeing very large backups.</p>
<p>I just wrote it cause most of the script i saw offered file or database backup and broke down to usage of exec  and unix commands , for which i had to contact hosting.</p>
<p>Some basic features -</p>
<ul>
<li>File and Directory backup</li>
<li>Multiple database/table sql backup</li>
<li>Backup email</li>
</ul>
<p>Note: There is a file embedded within this post, please visit this post to download the file.<br />
The script is supposed to be called using automatically using CRON , and the backup folder in which backup it taken should be writable.All you have to do is run backup.php .</p>
<p>Edit <strong>config.php</strong> before use. Released under GNU GPL license.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngcoders.com/php/php-automatic-file-and-database-backup-script/feed</wfw:commentRss>
		</item>
		<item>
		<title>PHP Youtube video downloader script</title>
		<link>http://www.ngcoders.com/php/php-youtube-video-downloader-script</link>
		<comments>http://www.ngcoders.com/php/php-youtube-video-downloader-script#comments</comments>
		<pubDate>Wed, 17 Sep 2008 23:37:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Downloads]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[download videos]]></category>

		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.ngcoders.com/?p=41</guid>
		<description><![CDATA[I was searching for a simple script which would allow me to download videos from youtube using php. I did find some implementation but only one of them worked and it used Pear. So here is a simple script to help you download videos from youtube. Allows you to download restricted  videos too by [...]]]></description>
			<content:encoded><![CDATA[<p>I was searching for a simple script which would allow me to download videos from youtube using php. I did find some implementation but only one of them worked and it used Pear. So here is a simple script to help you download videos from youtube. Allows you to download restricted  videos too by logging into youtube.</p>
<p>The script is a simple youtube class which uses CURL. </p>
<p>Sample usage of the youtube class - </p>
<div class="code">
<p>  include(&#8217;curl.php&#8217;);<br />
  include(&#8217;youtube.php&#8217;);</p>
<p>  $tube = new youtube();</p>
<p>  // Only required for restricted videos<br />
  // $tube->username = &#8220;userid&#8221;;<br />
  // $tube->password = &#8220;password&#8221;;</p>
<p>  $download_link = $tube->get($_POST['url']);</p>
</div>
Note: There is a file embedded within this post, please visit this post to download the file.
]]></content:encoded>
			<wfw:commentRss>http://www.ngcoders.com/php/php-youtube-video-downloader-script/feed</wfw:commentRss>
		</item>
		<item>
		<title>PQuery - PHP and JQuery</title>
		<link>http://www.ngcoders.com/php/pquery-php-and-jquery</link>
		<comments>http://www.ngcoders.com/php/pquery-php-and-jquery#comments</comments>
		<pubDate>Wed, 10 Sep 2008 23:03:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Downloads]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[cakephp]]></category>

		<category><![CDATA[jquery]]></category>

		<category><![CDATA[pquery]]></category>

		<guid isPermaLink="false">http://www.ngcoders.com/?p=36</guid>
		<description><![CDATA[PQuery is a set of helper classes for JQuery JavaScript library.This library allows you to easily integrate AJAX , Effects and other JQuery functionality into your PHP scripts.IT has a small foot print and is compatible with PHP4 and PHP5.
PQuery Demos : PQuery Demos.
Documentation : PQuery Documentation .
License : MIT or GPL ( what ever [...]]]></description>
			<content:encoded><![CDATA[<p>PQuery is a set of helper classes for JQuery JavaScript library.This library allows you to easily integrate AJAX , Effects and other JQuery functionality into your PHP scripts.IT has a small foot print and is compatible with PHP4 and PHP5.</p>
Note: There is a file embedded within this post, please visit this post to download the file.
Note: There is a file embedded within this post, please visit this post to download the file.
<p>PQuery Demos : <a href="http://www.ngcoders.com/pquery/">PQuery Demos</a>.</p>
<p>Documentation : <a href="http://www.ngcoders.com/pquery/user_guide/">PQuery Documentation</a> .</p>
<p>License : MIT or GPL ( what ever you wish to use )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngcoders.com/php/pquery-php-and-jquery/feed</wfw:commentRss>
		</item>
		<item>
		<title>RemitRates.com , Money sending services compared.</title>
		<link>http://www.ngcoders.com/projects/remitratescom-money-sending-services-compared</link>
		<comments>http://www.ngcoders.com/projects/remitratescom-money-sending-services-compared#comments</comments>
		<pubDate>Wed, 27 Aug 2008 19:48:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Projects]]></category>

		<category><![CDATA[exchange tracker]]></category>

		<category><![CDATA[paypal]]></category>

		<category><![CDATA[remit 2 india]]></category>

		<category><![CDATA[send money]]></category>

		<category><![CDATA[send money to india]]></category>

		<category><![CDATA[western union]]></category>

		<category><![CDATA[xoom]]></category>

		<guid isPermaLink="false">http://www.ngcoders.com/?p=34</guid>
		<description><![CDATA[
RemitRates.com is a site to help people who wish to transfer or send money to India get the best exchange price and helps then decide which money transfer service will get them the most returns. Site compares services like Western union money transfer, XOOM , Paypal etc.
It was built in my free time , just [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.remitrates.com"><img src="/images/apps/remitrates.jpg" alt="" /></a></p>
<p>RemitRates.com is a site to help people who wish to transfer or send money to India get the best exchange price and helps then decide which money transfer service will get them the most returns. Site compares services like Western union money transfer, XOOM , Paypal etc.</p>
<p>It was built in my free time , just to track exchange rates so i get the best rate when i transfer money. The site is built on my new framework BaseApp, Jquery as the JS framework and BluePrint as the CSS framework.</p>
<p>Though it was a small project its the first time i used BluePrint CSS framework properly, And it Rocks !!! . Total amount of custom css is less than a KB and yet it is a clean looking site with cross browser compatibility. So if you never looked at BluePrint CSS framework before do give it a shot.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngcoders.com/projects/remitratescom-money-sending-services-compared/feed</wfw:commentRss>
		</item>
		<item>
		<title>Adding nofollow to all outbound links to increase pagerank</title>
		<link>http://www.ngcoders.com/php/adding-nofollow-to-all-outbound-links-to-increase-pagerank</link>
		<comments>http://www.ngcoders.com/php/adding-nofollow-to-all-outbound-links-to-increase-pagerank#comments</comments>
		<pubDate>Sun, 24 Aug 2008 17:32:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[backlinks]]></category>

		<category><![CDATA[nofollow]]></category>

		<category><![CDATA[pagerank]]></category>

		<category><![CDATA[regexp url matching]]></category>

		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.ngcoders.com/?p=30</guid>
		<description><![CDATA[I have some sites which have been running for a long while, and due to not having time on my part to upgrade them they still run pretty old scripts with custom coding ( If it aint broke dont fix it  ). Some time back i realized the rel=&#8221;nofollow&#8221; thing and how people posting [...]]]></description>
			<content:encoded><![CDATA[<p>I have some sites which have been running for a long while, and due to not having time on my part to upgrade them they still run pretty old scripts with custom coding ( If it aint broke dont fix it <img src='http://www.ngcoders.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ). Some time back i realized the rel=&#8221;nofollow&#8221; thing and how people posting links on those sites got Backlinks for free. After doing a little backlink checking i found that my sites were linking to competitor sites , which is totaly unacceptable.Also with so maybe free backlinks going out PR can be affected ( am not shore about that though ). So with a few lines of PHP you can kill all free back links people have been getting through ur side.</p>
<p>So if you are stuck with the same situation here is a little help , Assuming your site is running in php. What we do is buffer all the content and find all non site links and replace them with a additional nofollow tag.</p>
<div class="code">ob_start();</p>
<p>// Your sites code goes here</p>
<p>$content = ob_get_contents();<br />
@ob_end_clean();</p>
<p>preg_match_all(&#8217;!href[\s]*=[\s]*["\']{1}([\w]+?://[\w#$%&amp;~/.\-;:=,?@\[\]+]*)["\']{1}!&#8217;,$content,$matches);</p>
<p>// Replace all outbound links with nofollow</p>
<p>$replaced = array();</p>
<p>for($i=0;$i&lt;count($matches[0]);$i++)<br />
{<br />
if(strstr($matches[1][$i],&#8217;http://www.sitename.com&#8217;)) continue;<br />
if(strstr($matches[1][$i],&#8217;http://sitename.com&#8217;)) continue;</p>
<p>if(in_array($matches[0][$i],$replaced))continue;</p>
<p>$content = str_replace($matches[0][$i],$matches[0][$i].&#8217; rel=&#8221;nofollow&#8221;&#8216;,$content);</p>
<p>$replaced[] = $matches[0][$i];<br />
}</p>
<p>echo $content;</p></div>
<p>Now i hope this code increases the PR for the sites , they are PR 5 for now &#8230; will post results if i see any changes in the site stats.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ngcoders.com/php/adding-nofollow-to-all-outbound-links-to-increase-pagerank/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
