<?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>Manoj Kumar</title>
	
	<link>http://manojkumar.org</link>
	<description />
	<lastBuildDate>Sun, 21 Jun 2009 12:24:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</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/ManojKumar" /><feedburner:info uri="manojkumar" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>BuddyPress theme for bbPress.</title>
		<link>http://feedproxy.google.com/~r/ManojKumar/~3/BfPIehcvPhY/</link>
		<comments>http://manojkumar.org/buddypress-theme-for-bbpress/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 12:20:58 +0000</pubDate>
		<dc:creator>Manoj Kumar</dc:creator>
				<category><![CDATA[Basic]]></category>
		<category><![CDATA[BuddyPress]]></category>

		<guid isPermaLink="false">http://manojkumar.org/?p=177</guid>
		<description><![CDATA[You can download bbPress theme from here which looks like BuddyPress.
Note: Its still not sharing/using any BuddyPress functionality.
Download Link

]]></description>
			<content:encoded><![CDATA[<p>You can download bbPress theme from here which looks like BuddyPress.</p>
<p>Note: Its still not sharing/using any BuddyPress functionality.</p>
<p><a title="Download Link" href="http://manojkumar.org/wp-content/uploads/looks-like-buddypress.zip" target="_blank">Download Link</a></p>
<p><a href="http://manojkumar.org/wp-content/uploads/test-bbpress_1245585801807.jpg"><img class="size-medium wp-image-180 alignleft" style="margin-top: 15px; margin-bottom: 15px;" title="BuddyPress Theme for bbPress" src="http://manojkumar.org/wp-content/uploads/test-bbpress_1245585801807-438x249.jpg" alt="BuddyPress Theme for bbPress" width="438" height="249" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://manojkumar.org/buddypress-theme-for-bbpress/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		<feedburner:origLink>http://manojkumar.org/buddypress-theme-for-bbpress/</feedburner:origLink></item>
		<item>
		<title>iPhone 3.0 and Internet Tethering</title>
		<link>http://feedproxy.google.com/~r/ManojKumar/~3/v15H0ADmj28/</link>
		<comments>http://manojkumar.org/iphone-30-and-internet-tethering/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 11:36:20 +0000</pubDate>
		<dc:creator>Manoj Kumar</dc:creator>
				<category><![CDATA[Basic]]></category>

		<guid isPermaLink="false">http://manojkumar.org/?p=172</guid>
		<description><![CDATA[I have written a post on Internet Tethering with iPhone 3.0 on http://futurechat.in, please have a look  
Link : iPhone 3.0 and Internet Tethering
.
]]></description>
			<content:encoded><![CDATA[<p>I have written a post on Internet Tethering with iPhone 3.0 on http://futurechat.in, please have a look <img src='http://manojkumar.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Link : <a href="http://futurechat.in/iphone-3-0-and-internet-tethering-with-airtel/">iPhone 3.0 and Internet Tethering</a></p>
<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://manojkumar.org/iphone-30-and-internet-tethering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://manojkumar.org/iphone-30-and-internet-tethering/</feedburner:origLink></item>
		<item>
		<title>New WordPress 2.8 has arrived</title>
		<link>http://feedproxy.google.com/~r/ManojKumar/~3/ZMTEFWyaZkA/</link>
		<comments>http://manojkumar.org/new-wordpress-2-8-has-arrived/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 06:00:30 +0000</pubDate>
		<dc:creator>Manoj Kumar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://manojkumar.org/?p=163</guid>
		<description><![CDATA[New WordPress 2.8 named after trumpeter and vocalist Chet Baker. It more or less looks like the same as 2.7 with bug fixes
There is long list of features available here, But what I like most as a User or Admin are listed below
1. Faster Loading of admin interface.
2. New Theme installer like plugin browser. Now [...]]]></description>
			<content:encoded><![CDATA[<p>New WordPress 2.8 named after trumpeter and vocalist <a title="Chet Baker" href="http://en.wikipedia.org/wiki/Chet_Baker" target="_blank">Chet Baker</a>. It more or less looks like the same as 2.7 with <a title="Bug Fixes" href="http://core.trac.wordpress.org/query?status=closed&amp;order=priority&amp;col=id&amp;col=summary&amp;col=type&amp;col=component&amp;milestone=2.8&amp;resolution=fixed#no2" target="_blank">bug fixes</a></p>
<p>There is long list of features available <a title="Here" href="http://codex.wordpress.org/Version_2.8" target="_blank">here</a>, But what I like most as a User or Admin are listed below</p>
<p>1. Faster Loading of admin interface.<br />
2. New Theme installer like plugin browser. Now you can browse and install a theme from admin interface itself.<br />
3. Earlier there used to be problems with widgets as one had to select where one wants to put a widget and then select a widget from available widgets. But now its very simple with new drag &amp; drop interface.<br />
4. Now you can customize your dashboard up-to four columns.<br />
5. Timezones and daylight settings used to be a problem, now will have a list of cites to choose from.<br />
6. Auto Save with Control/ Command+S.<br />
7. Upgrade Processes during database upgrades.<br />
8. Allow case-insensitive logins.<br />
9. Make user_nicknames unique during registration.<br />
10. TinyMCE 3.2.4.1</p>
<p>Have a look at following demo video</p>
<p><embed src="http://v.wordpress.com/Pu3T4X8l" type="application/x-shockwave-flash" width="400" height="224" allowscriptaccess="always" allowfullscreen="true"></embed></p>
<p>References:</p>
<p>1. <a href="http://wordpress.org/development/2009/06/wordpress-28/" target="_blank">2.8 Release Jazzes Themes and Widgets</a></p>
<p>2. <a href="http://codex.wordpress.org/Version_2.8" target="_blank">Codex Version_2.8</a></p>
<p>3. <a href="http://core.trac.wordpress.org/query?status=closed&amp;order=priority&amp;col=id&amp;col=summary&amp;col=type&amp;col=component&amp;milestone=2.8&amp;resolution=fixed#no2" target="_blank">WordPress trac</a></p>
]]></content:encoded>
			<wfw:commentRss>http://manojkumar.org/new-wordpress-2-8-has-arrived/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://manojkumar.org/new-wordpress-2-8-has-arrived/</feedburner:origLink></item>
		<item>
		<title>bpPicture Album plugin for BuddyPress (Some Screenshots)</title>
		<link>http://feedproxy.google.com/~r/ManojKumar/~3/XZlIwjD9SSI/</link>
		<comments>http://manojkumar.org/bppicture-album-plugin-for-buddypress/#comments</comments>
		<pubDate>Thu, 28 May 2009 12:18:42 +0000</pubDate>
		<dc:creator>Manoj Kumar</dc:creator>
				<category><![CDATA[BuddyPress]]></category>
		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://manojkumar.org/?p=126</guid>
		<description><![CDATA[Plugin Download Link
New Beta Version Download Link
Fixes
1. IE Problem with &#60;
2. Language Support
3. Typo and code
Please test and confirm  
Following are some screenshots of bpPicture Album plugin&#8230;
1. Picture Album Thumbnail Screen

2. Picture Album Full Screen

3. Picture Album Upload Screen

]]></description>
			<content:encoded><![CDATA[<p><a title="Plugin Download Link" href="http://downloads.wordpress.org/plugin/bppicture-album.zip" target="_blank">Plugin Download Link</a></p>
<p><a title="New Beta Version" href="http://manojkumar.org/wp-content/uploads/bppicture-album0023.zip" target="_blank">New Beta Version Download Link</a></p>
<p>Fixes</p>
<p>1. IE Problem with &lt;</p>
<p>2. Language Support</p>
<p>3. Typo and code</p>
<p>Please test and confirm <img src='http://manojkumar.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Following are some screenshots of bpPicture Album plugin&#8230;</strong></p>
<p>1. Picture Album Thumbnail Screen</p>
<p><img class="size-medium wp-image-123 alignnone" style="margin-top: 5px; margin-bottom: 15px;" title="user-checking-friends-album" src="http://manojkumar.org/wp-content/uploads/5-user-checking-friends-album-438x477.jpg" alt="user-checking-friends-album" width="460" height="477" /></p>
<p>2. Picture Album Full Screen</p>
<p><img class="size-medium wp-image-124 alignnone" style="margin-top: 5px; margin-bottom: 15px;" title="user-checking-full-pic-view-and-posting-wire-on-pic" src="http://manojkumar.org/wp-content/uploads/6-user-checking-full-pic-view-and-posting-wire-on-pic-438x611.jpg" alt="user-checking-full-pic-view-and-posting-wire-on-pic" width="460" height="611" /></p>
<p>3. Picture Album Upload Screen</p>
<p><img class="size-medium wp-image-125 alignnone" style="margin-top: 5px; margin-bottom: 15px;" title="picture-upload-form" src="http://manojkumar.org/wp-content/uploads/2-picture-upload-form-438x304.jpg" alt="picture-upload-form" width="460" height="304" /></p>
]]></content:encoded>
			<wfw:commentRss>http://manojkumar.org/bppicture-album-plugin-for-buddypress/feed/</wfw:commentRss>
		<slash:comments>307</slash:comments>
		<feedburner:origLink>http://manojkumar.org/bppicture-album-plugin-for-buddypress/</feedburner:origLink></item>
		<item>
		<title>Mobile Device and Web</title>
		<link>http://feedproxy.google.com/~r/ManojKumar/~3/raeaq9wAqn0/</link>
		<comments>http://manojkumar.org/mobile-device-and-web/#comments</comments>
		<pubDate>Sun, 24 May 2009 10:55:31 +0000</pubDate>
		<dc:creator>Manoj Kumar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://manojkumar.org/?p=117</guid>
		<description><![CDATA[With mobile internet usage increasing, how important is to for your web presence to be mobile friendly and is also tracked ?
A 2008 Nielsen Media Research highlights that there is an average lift of 13% in mobile web audience and Jakob Nielson&#8217;s alertbox says Mobile Web 2009 = Desktop Web 1998, certainly mobile web has [...]]]></description>
			<content:encoded><![CDATA[<p>With mobile internet usage increasing, how important is to for your web presence to be mobile friendly and is also tracked ?</p>
<p>A <a href="http://www.nielsenmedia.com/nc/portal/site/Public/menuitem.55dc65b4a7d5adff3f65936147a062a0/?vgnextoid=27e6a153e30a9110VgnVCM100000ac0a260aRCRD" target="_blank">2008 Nielsen Media Research</a> highlights that there is an average lift of 13% in mobile web audience and <a href="http://www.useit.com/alertbox/mobile-usability.html" target="_blank">Jakob Nielson&#8217;s alertbox</a> says Mobile Web 2009 = Desktop Web 1998, certainly mobile web has a significant role to play. But the question is there are hundreds of devices and  models, so where do we start ? Here tracking your mobile web presence is important.</p>
<p>While with the help of google analytics tool you can easily track screen size, bowser and the OS, but if you want to provide a remarkable experience to your audience you should also  know about the models being used . Then figure out the capability of that device so you can provide a better experience.</p>
<p>Recently I came across a site called <a href="http://percentmobile.com" target="_blank">percentmobile.com</a> which provides us a comprehensive analysis on mobile devices, below is a screenshot of there sample report.</p>
<p><img src="http://manojkumar.org/wp-content/uploads/percentmobilecom-438x553.jpg" alt="PercentMobile" title="PercentMobile" width="438" height="553" class="alignleft size-medium wp-image-116" /></p>
<p>Now we know enough about our site to start work :</p>
<p>A site developer can create a mobile friendly site without much changes in existing code, but certainly there are some important things that they  should keep in mind while developing a site for mobile. They are</p>
<p>1. Highest used device for his site<br />
2. Screen size<br />
3. CPU speed<br />
4. Network capabilities etc.</p>
<p>HTML 4 Specifications allows you to use specific style sheet for your target device. To know more about what works on which device,  mobile test suites are listed</p>
<p><a href=" http://www.w3.org/TR/1998/REC-html40-19980424/types.html#h-6.13" target="_blank">1. Media descriptors</a><br />
<a href="http://www.w3.org/2007/03/mth/harness" target="_blank">2. Mobile Test Harness</a></p>
]]></content:encoded>
			<wfw:commentRss>http://manojkumar.org/mobile-device-and-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://manojkumar.org/mobile-device-and-web/</feedburner:origLink></item>
		<item>
		<title>Tech. Nostalgia</title>
		<link>http://feedproxy.google.com/~r/ManojKumar/~3/Qs3IwrvGQVg/</link>
		<comments>http://manojkumar.org/tech-nostalgia/#comments</comments>
		<pubDate>Sun, 03 May 2009 13:40:17 +0000</pubDate>
		<dc:creator>Manoj Kumar</dc:creator>
				<category><![CDATA[BuddyPress]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[WordPress MU]]></category>

		<guid isPermaLink="false">http://manojkumar.org/?p=106</guid>
		<description><![CDATA[When I looked back and think about sharing the work done in the past,  it doesn&#8217;t make sense as those technologies has limited relevance today.  One may say sad,  but I think its the beauty of technology as it keeps evolving. Keeps me on a journey of learning more. 
Going back in [...]]]></description>
			<content:encoded><![CDATA[<p>When I looked back and think about sharing the work done in the past,  it doesn&#8217;t make sense as those technologies has limited relevance today.  One may say sad,  but I think its the beauty of technology as it keeps evolving. Keeps me on a journey of learning more. </p>
<p>Going back in  time when I started my career as software developer. On the first day I was asked to do the data entry for a customer, I was stunned but I did that with full dedication and passion without any complaint resulted.  I got a live project the very next day. </p>
<p>After that there was a 3 to 4 year journey from converting existing <a href="http://en.wikipedia.org/wiki/FoxPro_2" target="_blank">Foxpro</a> projects to <a href="http://en.wikipedia.org/wiki/Visual_Basic" target="_blank">Visual Basic</a> Applications and new development. In that journey I had developed applications for companies in  automobile, education, garments, carpets, healthcare and chemical sectors.  The software used included <a href="http://en.wikipedia.org/wiki/Visual_Basic" target="_blank">Visual Basic</a>, <a href="http://en.wikipedia.org/wiki/Crystal_Reports" target="_blank">Crystal Reports</a>, <a href="http://en.wikipedia.org/wiki/MS_Access" target="_blank">MS Access</a>, <a href="http://en.wikipedia.org/wiki/MS_SQL" target="_blank">MS SQL</a> and <a href="http://en.wikipedia.org/wiki/Data_Transformation_Services" target="_blank">DTS services</a>.</p>
<p>While working with Futurescape I have done some great projects with industry leaders. If I jog my memory these come to mind&#8230;</p>
<p>I feel proud to be a part of one of the first successful CRM implementation in Indian healthcare industry.  While the maker of the CRM software hardly bothered to support the implementation, we still did good and it felt good to have learnt so much and also ensured smiles for our client.</p>
<p>I never thought I was creative but I once did something very nice with <a href="http://www.scala.com" target="_blank">SCALA</a>. It was just an experiment but I felt good doing it. I had mixed feelings when the client said  <em>&#8220;Everything went bad in the meeting except the presentation made by you for which I got an award&#8221;</em>. It felt nice that my client was appreciated even though the meeting could have been better. I was really happy that i discovered another part of me.</p>
<p>Another time, a concept developed started as a small internal site for a HR department of a company but it  got so successful that it was implemented at Global Level. </p>
<p>There are simple joys like developing a concept that allowed a healthcare company to send emails to people and in turn they could interact in the email to calculate their health problems . </p>
<p>To more complicated ones&#8230;</p>
<p>Isn&#8217;t it great that you have developed an <a href="http://www.google.co.in/search?hl=en&#038;safe=on&#038;client=firefox-a&#038;rls=org.mozilla%3Aen-US%3Aofficial&#038;hs=iLH&#038;q=analytics+cubes&#038;btnG=Search&#038;meta=&#038;aq=f&#038;oq=" target="_blank">analytics cubes</a> in <a href="http://en.wikipedia.org/wiki/Microsoft_Analysis_Services" target="_blank">MS SQL Analytics Services</a> which gives you so much information from various dimensions about business which previously took days to fetch. For the same client you create  Drill Down Crystal Reports which starts from Locations -> to -> Gender -> to -> Age Group -> to -> Age -> to -> Department -> to -> Customer -> to -> Single invoice itself, thats so much data was available on the client intranet. </p>
<p><a href="http://en.wikipedia.org/wiki/Pivot_Table" target="_blank">Pivot Table</a> web reports developed using <a href="http://en.wikipedia.org/wiki/Office_Web_Components" target="_blank">OWC (Office Web Component)</a> for a client which gives information and comparison for various States, Cites, Time Period and so on. It was a challenge as most users was using various version of MS Office and finding help on OWC for Pivot Table was like going through hell.</p>
<p>Two years ago, when i first started my journey with <a href="http://www.opensource.org" target="_blank">open source</a>, it was with <a href="http://www.dotnetnuke.com" target="_blank">Dot Net Nuke</a>. It was logical since I came from a background of Microsoft tools . As you are aware <a href="http://www.dotnetnuke.com" target="_blank">DNN</a> is based on <a href="http://en.wikipedia.org/wiki/ASP.NET" target="_blank">ASP.NET</a>. It thrills me that we used this <a href="http://en.wikipedia.org/wiki/ASP.NET" target="_blank">ASP.NET</a> based product to develop a portal for a franchisee network. It has everything that the business requires for their day to day operations. I will not bore you with the details except that it has been running successfully for the last two years and is this is also an case study for the client. </p>
<p>Just writing all the good memories made me smile .  Wish I had started my blog earlier , because then I would have shared more and learnt even more from all the people around. But I guess it is never too late and technology always evolves. </p>
<p>About two years ago, i discovered <a href="http://wordpress.org" target="_blank">Wordpress</a> and it has started a new journey. It is an appropriate time as I write this, the new <a href="http://buddypress.org" target="_blank">BuddyPress</a> release came out and it was satisfying and yet a huge surprise to see my name in the credits. Thank You Wordpress and the team and most of all to all the clients I have worked with and helped me learn.</p>
]]></content:encoded>
			<wfw:commentRss>http://manojkumar.org/tech-nostalgia/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://manojkumar.org/tech-nostalgia/</feedburner:origLink></item>
		<item>
		<title>Some basic SSH and Linux commands</title>
		<link>http://feedproxy.google.com/~r/ManojKumar/~3/zA_lpXOrExg/</link>
		<comments>http://manojkumar.org/some-basic-ssh-and-linux-commands/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 11:10:03 +0000</pubDate>
		<dc:creator>Manoj Kumar</dc:creator>
				<category><![CDATA[Basic]]></category>
		<category><![CDATA[SSH Commands]]></category>

		<guid isPermaLink="false">http://manojkumar.org/?p=72</guid>
		<description><![CDATA[Several people have been asking me about basic SSH commands to work with Linux server, so I thought let me put some basic commands at one place to refer to.
To connect to the SSH server first of all you need a SSH client. Some of the most popular Free SSH clients are listed below:
1. PuTTY
2. [...]]]></description>
			<content:encoded><![CDATA[<p>Several people have been asking me about basic SSH commands to work with Linux server, so I thought let me put some basic commands at one place to refer to.</p>
<p>To connect to the SSH server first of all you need a SSH client. Some of the most popular Free SSH clients are listed below:</p>
<p>1. <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">PuTTY</a><br />
2. <a href="http://winscp.net/eng/index.php" target="_blank">WinSCP</a><br />
3. <a href="http://matt.ucc.asn.au/dropbear/dropbear.html" target="_blank">Dropbear</a><br />
4. <a href="http://www.openssh.com/" target="_blank">OpenSSH</a></p>
<p>&nbsp;</p>
<p><strong>To connect with SSH Server</strong> you can use any of these command,</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> username<span style="color: #000000; font-weight: bold;">@</span>yourhostname.com
<span style="color: #666666; font-style: italic;"># It will prompt you for password #</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-l</span> username yourhostname.com</pre></div></div>

<p>Some of SSH server may deny direct root login to the server so you need<br />
to first login from any user and then <strong>switch to root</strong> with following command</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">su</span> -
<span style="color: #666666; font-style: italic;"># You will be asked for the root password #</span></pre></div></div>

<p>Since you are a root user and might want to check who had logged in earlier, you can use. It will give you who logged in and when.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">last</span></pre></div></div>

<p>&nbsp;</p>
<h3>User creation commands</h3>
<p><strong>To create user</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">adduser <span style="color: #000000; font-weight: bold;">&lt;</span>user-name<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p><strong>For deleting user</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">userdel <span style="color: #000000; font-weight: bold;">&lt;</span>user-name<span style="color: #000000; font-weight: bold;">&gt;</span>
&nbsp;
deluser <span style="color: #000000; font-weight: bold;">&lt;</span>user-name<span style="color: #000000; font-weight: bold;">&gt;</span>
&nbsp;
rmuser <span style="color: #000000; font-weight: bold;">&lt;</span>user-name<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p><strong>For changing current password</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">passwd</span>
<span style="color: #666666; font-style: italic;">#You will be asked for entering password#</span></pre></div></div>

<p><strong>Getting general help on commands in SSH</strong>, here man stands for manual</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">man</span> <span style="color: #000000; font-weight: bold;">&lt;</span>command-name<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>&nbsp;</p>
<h3>Working with Files and Directories</h3>
<p><strong>To check the current path</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">pwd</span></pre></div></div>

<p><strong>To list all files and folders [ ls ]</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ls</span></pre></div></div>

<p><strong>To show &#8220;hidden&#8221; files in current directory</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-a</span></pre></div></div>

<p><strong>To display detailed information about all files in current directory</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-l</span></pre></div></div>

<p><strong>To list all files and subfolders including hidden with their<br />
permissions, owner and groups in human-readable sizes</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-alh</span></pre></div></div>

<p><strong>To go to a particular directory [ cd ]</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>vhosts<span style="color: #000000; font-weight: bold;">/</span>yourdomainname.com<span style="color: #000000; font-weight: bold;">/</span>httpdocs</pre></div></div>

<p><strong>For copy file or folder to the specified location or folder [ cp ]</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>directory<span style="color: #000000; font-weight: bold;">/</span>you<span style="color: #000000; font-weight: bold;">/</span>want<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>copy <span style="color: #000000; font-weight: bold;">/</span>directory<span style="color: #000000; font-weight: bold;">/</span>where<span style="color: #000000; font-weight: bold;">/</span>you<span style="color: #000000; font-weight: bold;">/</span>want<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>copy<span style="color: #000000; font-weight: bold;">/</span>to</pre></div></div>

<p><strong>For moving file or folder to the specified location or folder [ mv ]</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>directory<span style="color: #000000; font-weight: bold;">/</span>you<span style="color: #000000; font-weight: bold;">/</span>want<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>move <span style="color: #000000; font-weight: bold;">/</span>directory<span style="color: #000000; font-weight: bold;">/</span>where<span style="color: #000000; font-weight: bold;">/</span>you<span style="color: #000000; font-weight: bold;">/</span>want<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>move<span style="color: #000000; font-weight: bold;">/</span>to</pre></div></div>

<p><strong>For deleting a file or directory [ rm ]</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #000000; font-weight: bold;">&lt;</span>file-name<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p><strong>To deletes all the directory and all files including subdirectories recursively.</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #000000; font-weight: bold;">&lt;</span>directory-name<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p><strong>To create a folder or directory [ mkdir ]</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">&lt;</span>directory-name<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p><strong>For removing the folder or directory [ mkdir ]</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">rmdir</span> <span style="color: #000000; font-weight: bold;">&lt;</span>directory-name<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p><strong>For creating file zip or archive in a specified directory [ tar cvf ]</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> cvf filename.tar.gz <span style="color: #000000; font-weight: bold;">/</span>directory<span style="color: #000000; font-weight: bold;">/</span>you<span style="color: #000000; font-weight: bold;">/</span>wish<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>archive</pre></div></div>

<p><strong>For extracting all zip or archive files in current directory [ tar -<br />
xvf ]</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xvf</span> filename.tar.gz</pre></div></div>

<p><strong>To create a zip file [ zip ]</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">zip</span> yourzipfile.zip filename.php</pre></div></div>

<p><strong>To unzip files in current directory [ unzip ]</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">unzip</span> yourzipfile.zip</pre></div></div>

<p><strong>To change owner of directory or file [ chown ]</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chown</span> user:group <span style="color: #000000; font-weight: bold;">&lt;</span>directory-name<span style="color: #000000; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">chown</span> apache avatars</pre></div></div>

<p><strong>To change file or directory permissions</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> permissions <span style="color: #000000; font-weight: bold;">&lt;</span>file-name<span style="color: #000000; font-weight: bold;">&gt;</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">755</span> avatars</pre></div></div>

<p>Permissions<br />
u = User who owns the file.<br />
g = Group that owns the file.<br />
o = Other.<br />
a = All.<br />
r = Read the file.<br />
w = Write or edit the file.<br />
x = Execute or run the file as a program.</p>
<p>Numeric Permissions:<br />
0 = No permission<br />
1 = Execute only<br />
2 = Write or edit the file.<br />
3 = Execute or run the file as a program.<br />
4 = Read the file.<br />
5 = Read and execute the file.<br />
6 = Read and write Read the file.<br />
7 = Read, write and execute</p>
<p>&nbsp;</p>
<h3>Working with SSH text editors</h3>
<p><strong>pico editor</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pico <span style="color: #000000; font-weight: bold;">&lt;</span>file-name<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p><strong>vi editor</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">&lt;</span>file-name<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p><strong>To LogOut from consol</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">logout</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://manojkumar.org/some-basic-ssh-and-linux-commands/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://manojkumar.org/some-basic-ssh-and-linux-commands/</feedburner:origLink></item>
		<item>
		<title>Simple steps for HTML to ASP</title>
		<link>http://feedproxy.google.com/~r/ManojKumar/~3/o7lBHlGox6U/</link>
		<comments>http://manojkumar.org/simple-steps-for-html-to-asp/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 11:09:28 +0000</pubDate>
		<dc:creator>Manoj Kumar</dc:creator>
				<category><![CDATA[Basic]]></category>

		<guid isPermaLink="false">http://manojkumar.org/?p=98</guid>
		<description><![CDATA[There are times when designers create html based sites but are uncomfortable about what needs to be done about making the site password protected. In such times, I have been asked to help .
However to make things simple, I have created a step wise activity so that any html based site can be converted to [...]]]></description>
			<content:encoded><![CDATA[<p>There are times when designers create html based sites but are uncomfortable about what needs to be done about making the site password protected. In such times, I have been asked to help .</p>
<p>However to make things simple, I have created a step wise activity so that any html based site can be converted to password protected one. It will help my designer friends and anyone else would needs to do this.</p>
<p>Let us take an example where we have to convert following pages into a password protected site</p>
<p>1. Home page (home.html)<br />
2. About Us (about.html)</p>
<p>Following are the tasks that needed to be completed in the password protected site.</p>
<p>1. Create a login page<br />
2. Password should be encrypted<br />
3. Every pages should be accessible after entering a valid password only<br />
4. Track each login along with IP address and store in database</p>
<p>Here we go&#8230;</p>
<h3>Step 1 Database Creation</h3>
<p>Create a database. Lets say database name is dbsite</p>
<p>Create 2 tables with following fields</p>
<p>Table 1 Name : UsersMaster<br />
Fields : Id (int), UserName(VarChar), Password(VarChar), Name(VarChar), Organisation(VarChar), Designation(VarChar), EmailId(VarChar), Publish (tiny Int), DisplayName(VarChar)</p>
<p>Table 2 Name : UsersLog<br />
Fields: UserId (Int), LoginDateTime(DateTime), IpAddress (VarChar)</p>
<h3>Step 2</h3>
<p>Create Following pages<br />
1. login.asp<br />
2. verifyuser.asp</p>
<p>Copy following code and paste in login.asp</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;%</span>
<span style="color: #990099; font-weight: bold;">dim</span> con, rsTemp, rsMaster, strqry
<span style="color: #990099; font-weight: bold;">dim</span> cn
cn<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;pwd=pwd;Initial Catalog=dbsite;Data Source=.&quot;</span>
<span style="color: #990099; font-weight: bold;">set</span> con<span style="color: #006600; font-weight: bold;">=</span><span style="color: #990099; font-weight: bold;">Server</span>.<span style="color: #330066;">CreateObject</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;ADODB.Connection&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">set</span> rsTemp<span style="color: #006600; font-weight: bold;">=</span><span style="color: #990099; font-weight: bold;">Server</span>.<span style="color: #330066;">CreateObject</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;ADODB.Recordset&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
<span style="color: #990099; font-weight: bold;">set</span> rsMaster<span style="color: #006600; font-weight: bold;">=</span><span style="color: #990099; font-weight: bold;">Server</span>.<span style="color: #330066;">CreateObject</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;ADODB.Recordset&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
con.<span style="color: #330066;">Open</span> cn
&nbsp;
&nbsp;
<span style="color: #0000ff; font-weight: bold;">function</span> getNewId<span style="color: #006600; font-weight:bold;">&#40;</span>tblname, fldname<span style="color: #006600; font-weight:bold;">&#41;</span>
	<span style="color: #990099; font-weight: bold;">if</span> rsMaster.<span style="color: #9900cc;">State</span><span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">1</span> <span style="color: #990099; font-weight: bold;">then</span> rsMaster.<span style="color: #330066;">Close</span>
	strqry<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;Select max(&quot;</span> <span style="color: #006600; font-weight: bold;">&amp;</span> fldname <span style="color: #006600; font-weight: bold;">&amp;</span> <span style="color: #cc0000;">&quot;) from &quot;</span> <span style="color: #006600; font-weight: bold;">&amp;</span> tblname
	<span style="color: #990099; font-weight: bold;">set</span> rsMaster<span style="color: #006600; font-weight: bold;">=</span>con.<span style="color: #330066;">Execute</span><span style="color: #006600; font-weight:bold;">&#40;</span>strqry<span style="color: #006600; font-weight:bold;">&#41;</span>
	<span style="color: #990099; font-weight: bold;">if</span> <span style="color: #990099; font-weight: bold;">not</span> rsMaster.<span style="color: #0000ff; font-weight: bold;">EOF</span> <span style="color: #990099; font-weight: bold;">then</span>
		<span style="color: #990099; font-weight: bold;">if</span> <span style="color: #990099; font-weight: bold;">not</span> isnull<span style="color: #006600; font-weight:bold;">&#40;</span>rsMaster<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">0</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #0000ff; font-weight: bold;">and</span> rsMaster<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">0</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">&lt;&gt;</span><span style="color: #cc0000;">&quot;&quot;</span> <span style="color: #0000ff; font-weight: bold;">and</span> IsNumeric<span style="color: #006600; font-weight:bold;">&#40;</span>rsMaster<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">0</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #990099; font-weight: bold;">then</span>
			getNewId<span style="color: #006600; font-weight: bold;">=</span>rsMaster<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">0</span><span style="color: #006600; font-weight:bold;">&#41;</span>+<span style="color: #800000;">1</span>
		<span style="color: #990099; font-weight: bold;">else</span>
		 getNewId<span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">1</span>
		<span style="color: #990099; font-weight: bold;">end</span> <span style="color: #990099; font-weight: bold;">if</span>
	<span style="color: #990099; font-weight: bold;">else</span>
		getNewId<span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">1</span>
	<span style="color: #990099; font-weight: bold;">end</span> <span style="color: #990099; font-weight: bold;">if</span>
<span style="color: #990099; font-weight: bold;">end</span> <span style="color: #0000ff; font-weight: bold;">function</span>
&nbsp;
<span style="color: #008000;">'FORMAT DATE</span>
<span style="color: #008000;">'----------------------------------------------------------------------------------------------------</span>
<span style="color: #0000ff; font-weight: bold;">function</span> checkdate<span style="color: #006600; font-weight:bold;">&#40;</span>mydate<span style="color: #006600; font-weight:bold;">&#41;</span>
	<span style="color: #990099; font-weight: bold;">if</span> mydate<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;&quot;</span> <span style="color: #0000ff; font-weight: bold;">or</span> IsNull<span style="color: #006600; font-weight:bold;">&#40;</span>mydate<span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #0000ff; font-weight: bold;">or</span> <span style="color: #990099; font-weight: bold;">Not</span> IsDate<span style="color: #006600; font-weight:bold;">&#40;</span>mydate<span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #990099; font-weight: bold;">then</span>
		checkdate<span style="color: #006600; font-weight: bold;">=</span><span style="color: #0000ff; font-weight: bold;">false</span>
	<span style="color: #990099; font-weight: bold;">else</span>
		checkdate<span style="color: #006600; font-weight: bold;">=</span><span style="color: #0000ff; font-weight: bold;">true</span>
	<span style="color: #990099; font-weight: bold;">end</span> <span style="color: #990099; font-weight: bold;">if</span>
<span style="color: #990099; font-weight: bold;">end</span> <span style="color: #0000ff; font-weight: bold;">function</span>
&nbsp;
<span style="color: #0000ff; font-weight: bold;">function</span> getdateformat<span style="color: #006600; font-weight:bold;">&#40;</span>mydate<span style="color: #006600; font-weight:bold;">&#41;</span>
	<span style="color: #990099; font-weight: bold;">if</span> isDate<span style="color: #006600; font-weight:bold;">&#40;</span>mydate<span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #990099; font-weight: bold;">then</span>
		getdateformat<span style="color: #006600; font-weight: bold;">=</span><span style="color: #330066;">day</span><span style="color: #006600; font-weight:bold;">&#40;</span>mydate<span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #006600; font-weight: bold;">&amp;</span> <span style="color: #cc0000;">&quot;-&quot;</span> <span style="color: #006600; font-weight: bold;">&amp;</span> <span style="color: #330066;">monthname</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #330066;">month</span><span style="color: #006600; font-weight:bold;">&#40;</span>mydate<span style="color: #006600; font-weight:bold;">&#41;</span>,<span style="color: #0000ff; font-weight: bold;">true</span><span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #006600; font-weight: bold;">&amp;</span> <span style="color: #cc0000;">&quot;-&quot;</span> <span style="color: #006600; font-weight: bold;">&amp;</span> <span style="color: #330066;">year</span><span style="color: #006600; font-weight:bold;">&#40;</span>mydate<span style="color: #006600; font-weight:bold;">&#41;</span>
	<span style="color: #990099; font-weight: bold;">else</span>
		getdateformat<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;&quot;</span>
	<span style="color: #990099; font-weight: bold;">end</span> <span style="color: #990099; font-weight: bold;">if</span>
<span style="color: #990099; font-weight: bold;">end</span> <span style="color: #0000ff; font-weight: bold;">function</span>
&nbsp;
<span style="color: #0000ff; font-weight: bold;">function</span> RTESafe<span style="color: #006600; font-weight:bold;">&#40;</span>strText<span style="color: #006600; font-weight:bold;">&#41;</span>
	<span style="color: #008000;">'returns safe code for preloading in the RTE</span>
	<span style="color: #990099; font-weight: bold;">dim</span> tmpString
&nbsp;
	tmpString <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #330066;">trim</span><span style="color: #006600; font-weight:bold;">&#40;</span>strText<span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
	<span style="color: #008000;">'convert all types of single quotes</span>
	tmpString <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #330066;">replace</span><span style="color: #006600; font-weight:bold;">&#40;</span>tmpString, chr<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">145</span><span style="color: #006600; font-weight:bold;">&#41;</span>, chr<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">39</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
	tmpString <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #330066;">replace</span><span style="color: #006600; font-weight:bold;">&#40;</span>tmpString, chr<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">146</span><span style="color: #006600; font-weight:bold;">&#41;</span>, chr<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">39</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
	tmpString <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #330066;">replace</span><span style="color: #006600; font-weight:bold;">&#40;</span>tmpString, <span style="color: #cc0000;">&quot;'&quot;</span>, <span style="color: #cc0000;">&quot;&amp;#39;&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
	<span style="color: #008000;">'convert all types of double quotes</span>
	tmpString <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #330066;">replace</span><span style="color: #006600; font-weight:bold;">&#40;</span>tmpString, chr<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">147</span><span style="color: #006600; font-weight:bold;">&#41;</span>, chr<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">34</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
	tmpString <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #330066;">replace</span><span style="color: #006600; font-weight:bold;">&#40;</span>tmpString, chr<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">148</span><span style="color: #006600; font-weight:bold;">&#41;</span>, chr<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">34</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
<span style="color: #008000;">'	tmpString = replace(tmpString, &quot;&quot;&quot;&quot;, &quot;\&quot;&quot;&quot;)</span>
&nbsp;
	<span style="color: #008000;">'replace carriage returns &amp; line feeds</span>
	tmpString <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #330066;">replace</span><span style="color: #006600; font-weight:bold;">&#40;</span>tmpString, chr<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">10</span><span style="color: #006600; font-weight:bold;">&#41;</span>, <span style="color: #cc0000;">&quot; &quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
	tmpString <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #330066;">replace</span><span style="color: #006600; font-weight:bold;">&#40;</span>tmpString, chr<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">13</span><span style="color: #006600; font-weight:bold;">&#41;</span>, <span style="color: #cc0000;">&quot; &quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
	RTESafe <span style="color: #006600; font-weight: bold;">=</span> tmpString
<span style="color: #990099; font-weight: bold;">end</span> <span style="color: #0000ff; font-weight: bold;">function</span>
&nbsp;
<span style="color: #0000ff; font-weight: bold;">Function</span> GetSecureVal<span style="color: #006600; font-weight:bold;">&#40;</span>param<span style="color: #006600; font-weight:bold;">&#41;</span>
	<span style="color: #990099; font-weight: bold;">If</span> IsEmpty<span style="color: #006600; font-weight:bold;">&#40;</span>param<span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #0000ff; font-weight: bold;">Or</span> param <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #cc0000;">&quot;&quot;</span> <span style="color: #990099; font-weight: bold;">Then</span>
		GetSecureVal <span style="color: #006600; font-weight: bold;">=</span> param
		Exit <span style="color: #0000ff; font-weight: bold;">Function</span>
	<span style="color: #990099; font-weight: bold;">End</span> <span style="color: #990099; font-weight: bold;">If</span>
&nbsp;
	<span style="color: #990099; font-weight: bold;">If</span> IsNumeric<span style="color: #006600; font-weight:bold;">&#40;</span>param<span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #990099; font-weight: bold;">Then</span>
		<span style="color: #008000;">'GetSecureVal = CLng(param)</span>
		GetSecureVal <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #990099; font-weight: bold;">CDbl</span><span style="color: #006600; font-weight:bold;">&#40;</span>param<span style="color: #006600; font-weight:bold;">&#41;</span>
	<span style="color: #990099; font-weight: bold;">Else</span>
		param <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #330066;">Replace</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #990099; font-weight: bold;">CStr</span><span style="color: #006600; font-weight:bold;">&#40;</span>param<span style="color: #006600; font-weight:bold;">&#41;</span>, <span style="color: #cc0000;">&quot;'&quot;</span>, <span style="color: #cc0000;">&quot;''&quot;</span>,<span style="color: #800000;">1</span>,-<span style="color: #800000;">1</span>,<span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#41;</span>
		param <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #330066;">Replace</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #990099; font-weight: bold;">CStr</span><span style="color: #006600; font-weight:bold;">&#40;</span>param<span style="color: #006600; font-weight:bold;">&#41;</span>, <span style="color: #cc0000;">&quot;;&quot;</span>, <span style="color: #cc0000;">&quot;,&quot;</span>,<span style="color: #800000;">1</span>,-<span style="color: #800000;">1</span>,<span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#41;</span>
		param <span style="color: #006600; font-weight: bold;">=</span> <span style="color: #330066;">Replace</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #990099; font-weight: bold;">CStr</span><span style="color: #006600; font-weight:bold;">&#40;</span>param<span style="color: #006600; font-weight:bold;">&#41;</span>, <span style="color: #cc0000;">&quot;..&quot;</span>, <span style="color: #cc0000;">&quot;&quot;</span>,<span style="color: #800000;">1</span>,-<span style="color: #800000;">1</span>,<span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
		<span style="color: #ff6600;">//Here you can add additional code as per your requirement</span>
&nbsp;
		GetSecureVal <span style="color: #006600; font-weight: bold;">=</span> param
	<span style="color: #990099; font-weight: bold;">End</span> <span style="color: #990099; font-weight: bold;">If</span>
<span style="color: #990099; font-weight: bold;">End</span> Function<span style="color: #000000; font-weight: bold;">%&gt;</span>
&nbsp;
&lt;!--#include virtual=&quot;encryptalgo.inc&quot;--&gt;
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;%</span>
<span style="color: #990099; font-weight: bold;">session</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;UserId&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">0</span>
<span style="color: #990099; font-weight: bold;">session</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;UserName&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;&quot;</span>
<span style="color: #990099; font-weight: bold;">session</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;UserDisplayName&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;&quot;</span>
<span style="color: #990099; font-weight: bold;">session</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;IsLoggedIn&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;&quot;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">Dim</span> log_success
&nbsp;
log_success<span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">1</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">if</span> <span style="color: #990099; font-weight: bold;">Request</span>.<span style="color: #330066;">QueryString</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;submit&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">1</span> <span style="color: #990099; font-weight: bold;">then</span>
	<span style="color: #990099; font-weight: bold;">dim</span> loginid, pwd	
	<span style="color: #990099; font-weight: bold;">Dim</span> Mail
	loginid<span style="color: #006600; font-weight: bold;">=</span><span style="color: #330066;">LCase</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #990099; font-weight: bold;">Request</span>.<span style="color: #330066;">Form</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;txtloginid&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
	pwd<span style="color: #006600; font-weight: bold;">=</span><span style="color: #990099; font-weight: bold;">Request</span>.<span style="color: #330066;">Form</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;txtpassword&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
   <span style="color: #990099; font-weight: bold;">dim</span> psw, txt
   <span style="color: #990099; font-weight: bold;">dim</span> strTemp
&nbsp;
&nbsp;
	 psw<span style="color: #006600; font-weight: bold;">=</span>pwd
	 txt<span style="color: #006600; font-weight: bold;">=</span>loginid
&nbsp;
   strTemp <span style="color: #006600; font-weight: bold;">=</span> EnDeCrypt<span style="color: #006600; font-weight:bold;">&#40;</span>psw, txt<span style="color: #006600; font-weight:bold;">&#41;</span>
   pwd<span style="color: #006600; font-weight: bold;">=</span><span style="color: #990099; font-weight: bold;">server</span>.<span style="color: #9900cc;">urlencode</span><span style="color: #006600; font-weight:bold;">&#40;</span>strTemp<span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
	strqry<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;Select Id, Password, Name,DisplayName from UsersMaster where UserName='&quot;</span> <span style="color: #006600; font-weight: bold;">&amp;</span> GetSecureVal<span style="color: #006600; font-weight:bold;">&#40;</span>loginid<span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #006600; font-weight: bold;">&amp;</span> <span style="color: #cc0000;">&quot;' and Publish=1&quot;</span>
	<span style="color: #990099; font-weight: bold;">if</span> rsTemp.<span style="color: #9900cc;">State</span><span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">1</span> <span style="color: #990099; font-weight: bold;">then</span> rsTemp.<span style="color: #330066;">Close</span>
	<span style="color: #990099; font-weight: bold;">set</span> rsTemp<span style="color: #006600; font-weight: bold;">=</span>con.<span style="color: #330066;">Execute</span><span style="color: #006600; font-weight:bold;">&#40;</span>strqry<span style="color: #006600; font-weight:bold;">&#41;</span>
	<span style="color: #990099; font-weight: bold;">if</span> <span style="color: #990099; font-weight: bold;">not</span> rsTemp.<span style="color: #0000ff; font-weight: bold;">EOF</span> <span style="color: #990099; font-weight: bold;">then</span>
		<span style="color: #990099; font-weight: bold;">while</span> <span style="color: #990099; font-weight: bold;">not</span> rsTemp.<span style="color: #0000ff; font-weight: bold;">EOF</span>			
			<span style="color: #990099; font-weight: bold;">if</span> strComp<span style="color: #006600; font-weight:bold;">&#40;</span>rsTemp<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold;">&#41;</span>, pwd<span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">0</span> <span style="color: #990099; font-weight: bold;">then</span>
				<span style="color: #990099; font-weight: bold;">session</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;UserId&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">=</span>rsTemp<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">0</span><span style="color: #006600; font-weight:bold;">&#41;</span>
				<span style="color: #990099; font-weight: bold;">session</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;UserName&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">=</span>rsTemp<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">2</span><span style="color: #006600; font-weight:bold;">&#41;</span>
				<span style="color: #990099; font-weight: bold;">session</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;UserDisplayName&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">=</span>rsTemp<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">3</span><span style="color: #006600; font-weight:bold;">&#41;</span>
				<span style="color: #990099; font-weight: bold;">session</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;IsLoggedIn&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;nfxkqur89124ejxtex7254241242j4bux8&quot;</span>
&nbsp;
				strqry<span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;insert into UsersLog values(&quot;</span> <span style="color: #006600; font-weight: bold;">&amp;</span> rsTemp<span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #800000;">0</span><span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #006600; font-weight: bold;">&amp;</span> <span style="color: #cc0000;">&quot;, '&quot;</span> <span style="color: #006600; font-weight: bold;">&amp;</span> <span style="color: #330066;">Now</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #006600; font-weight: bold;">&amp;</span> <span style="color: #cc0000;">&quot;','&quot;</span> <span style="color: #006600; font-weight: bold;">&amp;</span> <span style="color: #990099; font-weight: bold;">Request</span>.<span style="color: #330066;">ServerVariables</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;REMOTE_ADDR&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span> <span style="color: #006600; font-weight: bold;">&amp;</span> <span style="color: #cc0000;">&quot;')&quot;</span>
				con.<span style="color: #330066;">Execute</span><span style="color: #006600; font-weight:bold;">&#40;</span>strqry<span style="color: #006600; font-weight:bold;">&#41;</span>
&nbsp;
				<span style="color: #990099; font-weight: bold;">Session</span>.<span style="color: #9900cc;">TimeOut</span><span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">30</span>
				<span style="color: #990099; font-weight: bold;">Response</span>.<span style="color: #330066;">Redirect</span> <span style="color: #cc0000;">&quot;home.asp&quot;</span>
				<span style="color: #990099; font-weight: bold;">Response</span>.<span style="color: #990099; font-weight: bold;">End</span>
			<span style="color: #990099; font-weight: bold;">end</span> <span style="color: #990099; font-weight: bold;">if</span>
			rsTemp.<span style="color: #330066;">MoveNext</span>
		<span style="color: #990099; font-weight: bold;">wend</span>
		log_success<span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">0</span>
	<span style="color: #990099; font-weight: bold;">else</span>
		log_success<span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">0</span>
	<span style="color: #990099; font-weight: bold;">end</span> <span style="color: #990099; font-weight: bold;">if</span>
<span style="color: #990099; font-weight: bold;">end</span> <span style="color: #990099; font-weight: bold;">if</span>
<span style="color: #000000; font-weight: bold;">%&gt;</span>
&nbsp;
&lt;html&gt;
&lt;head&gt;
	&lt;meta NAME=&quot;GENERATOR&quot; Content=&quot;Microsoft FrontPage 4.0&quot; /&gt;
	&lt;title&gt;Login Page&lt;/title&gt;
	&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;
&lt;/head&gt;
&lt;body&gt;
			<span style="color: #000000; font-weight: bold;">&lt;%</span><span style="color: #990099; font-weight: bold;">if</span> log_success<span style="color: #006600; font-weight: bold;">=</span><span style="color: #800000;">0</span> <span style="color: #990099; font-weight: bold;">then</span>
				<span style="color: #990099; font-weight: bold;">response</span>.<span style="color: #330066;">write</span> <span style="color: #cc0000;">&quot;&lt;p&gt;&lt;strong&gt;Invalid Login ID or Password.&lt;/strong&gt;&lt;/p&gt;&quot;</span>
			<span style="color: #990099; font-weight: bold;">end</span> if<span style="color: #000000; font-weight: bold;">%&gt;</span>
			&lt;span style=&quot;font-weight: 700; text-decoration: underline; font-size: 110%;&quot;&gt;Enter your login details:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
			&lt;form id=&quot;frm&quot; name=&quot;frm&quot; method=&quot;post&quot; action=&quot;login.asp?submit=1&quot;&gt;
				&lt;label for=&quot;txtloginid&quot; class=&quot;lblogin&quot;&gt;Login ID&lt;/label&gt;&lt;br /&gt;
				&lt;input type=&quot;text&quot; id=&quot;txtloginid&quot; name=&quot;txtloginid&quot; value=&quot;&quot; class=&quot;tbstyle&quot; /&gt;&lt;br /&gt;&lt;br /&gt;
&nbsp;
				&lt;label for=&quot;txtpassword&quot; class=&quot;lblogin&quot;&gt;Password&lt;/label&gt;&lt;br /&gt;
				&lt;input type=&quot;password&quot; id=&quot;txtpassword&quot; name=&quot;txtpassword&quot; value=&quot;&quot; class=&quot;tbstyle&quot; /&gt;&lt;br /&gt;&lt;br /&gt;
&nbsp;
				&lt;input type=&quot;submit&quot; id=&quot;cmdlogin&quot; name=&quot;cmdlogin&quot; value=&quot;Login&quot; class=&quot;btnstyle&quot; /&gt;
			&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;</pre></div></div>

<p>Note: change &#8220;nfxkqur89124ejxtex7254241242j4bux8&#8243; and &#8220;IsLoggedIn&#8221; line in login.asp and verifyuser.asp to something unique so two webiste sessions doesn&#8217;t clash with each other. </p>
<p>You can write additional programming code in verifyuser.asp for extra security.</p>
<p>Change connection settings as per your server</p>
<h3>Step 3</h3>
<p>Paste following code in verifyuser.asp</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;%</span><span style="color: #990099; font-weight: bold;">if</span> <span style="color: #990099; font-weight: bold;">session</span><span style="color: #006600; font-weight:bold;">&#40;</span><span style="color: #cc0000;">&quot;IsLoggedIn&quot;</span><span style="color: #006600; font-weight:bold;">&#41;</span><span style="color: #006600; font-weight: bold;">&lt;&gt;</span><span style="color: #cc0000;">&quot;nfxkqur89124ejxtex7254241242j4bux8&quot;</span> <span style="color: #990099; font-weight: bold;">then</span>
	<span style="color: #990099; font-weight: bold;">response</span>.<span style="color: #330066;">redirect</span> <span style="color: #cc0000;">&quot;login.asp&quot;</span>
	<span style="color: #990099; font-weight: bold;">response</span>.<span style="color: #990099; font-weight: bold;">end</span>
<span style="color: #990099; font-weight: bold;">end</span> if<span style="color: #000000; font-weight: bold;">%&gt;</span></pre></div></div>

<h3>Step 4</h3>
<p>Make following changes in all html pages</p>
<p>1. Change the extension of all html pages to asp, so now we have (home.asp, about.asp)</p>
<p>2. Paste following line just below DOCTYPE Meta in all pages converted from html to asp</p>

<div class="wp_syntax"><div class="code"><pre class="asp" style="font-family:monospace;"><span style="color: #006600; font-weight: bold;">&lt;!</span>--#include <span style="color: #990099; font-weight: bold;">file</span><span style="color: #006600; font-weight: bold;">=</span><span style="color: #cc0000;">&quot;verifyuser.asp&quot;</span>--<span style="color: #006600; font-weight: bold;">&gt;</span></pre></div></div>

<p>3. Change all hyperlinks in pages from home.html to home.asp and about.html to about.asp</p>
<h3>Step 5</h3>
<p>Paste encryptalgo.inc file in root directory</p>
<p><a href="http://manojkumar.org/wp-content/uploads/sample.zip" target="_blank">Sample.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://manojkumar.org/simple-steps-for-html-to-asp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://manojkumar.org/simple-steps-for-html-to-asp/</feedburner:origLink></item>
		<item>
		<title>User Import for BuddyPress (All Fields)</title>
		<link>http://feedproxy.google.com/~r/ManojKumar/~3/zXIad6IRPfk/</link>
		<comments>http://manojkumar.org/user-import-for-buddypress/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 13:54:56 +0000</pubDate>
		<dc:creator>Manoj Kumar</dc:creator>
				<category><![CDATA[BuddyPress]]></category>
		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://manojkumar.org/?p=46</guid>
		<description><![CDATA[With this plugin now you can import users with all xprofile fields to your BuddyPress installation.
This plugin will automatically activate all user accounts and send notification as selected by the admin at the time of import.
It currently works with WordPressMU + BuddyPress installation.
Download (Version 1.0)
&#160;
Data formatting instructions
Formatting Data is the vital while to ensure error [...]]]></description>
			<content:encoded><![CDATA[<p>With this plugin now you can import users with all xprofile fields to your BuddyPress installation.</p>
<p>This plugin will automatically activate all user accounts and send notification as selected by the admin at the time of import.</p>
<p>It currently works with <a href="http://mu.wordpress.org" target="_blank">WordPressMU</a> + <a href="http://www.buddypress.org" target="_blank">BuddyPress</a> installation.</p>
<p><a href="http://wordpress.org/extend/plugins/user-import-for-buddypress-all-fields/" target="_blank">Download (Version 1.0)</a></p>
<p>&nbsp;</p>
<h3>Data formatting instructions</h3>
<p>Formatting Data is the vital while to ensure error free import of records into Buddy Press.</p>
<p>For your reference, follow the examples below for each field and type.</p>
<p>&nbsp;</p>
<h4>Check number of Delimiter</h4>
<p>1. Count the Number of Fields in your Buddypress xprofile installation.  The screenshot provides the explanation</p>
<p><img src="http://manojkumar.org/wp-content/uploads/profile-fields.png" alt="Profile fields" title="profile-fields" width="438" height="218" class="size-full wp-image-57" /></p>
<p>In the example, these are the fields .</p>
<p>1. Full Name<br />
2. About<br />
3. Gender<br />
4. Interests<br />
5. Favorite Food<br />
6. Date of Birth<br />
7. Country</p>
<p>Thus<br />
Fields &#8211; 7<br />
Delimiter &#8211; Fields + 1 = 8.  The | is the delimiter.</p>
<p>So our data string should be like :</p>
<p>username|email@dmainname.com|||||||</p>
<p>i.e. username + | + email@domainname.com + 7 Delimiters</p>
<p>&nbsp;</p>
<h4>Text Box Type</h4>
<p>2. Let us now take our first field Full Name whose Field Type is textbox (Shown in 1 Image)</p>
<p>For textbox field type you can enter any string like : Andy, Manoj Kumar or YourName etc.</p>
<p>I am taking field value as &#8220;Manoj Kumar&#8221; for full name</p>
<p>So our data string now should be like :</p>
<p>username|email@dmainname.com|Manoj Kumar||||||</p>
<p>i.e. username + | + email@domainname.com +  | + Full Name + 6 Delimiters</p>
<p>&nbsp;</p>
<h4>Textarea Type</h4>
<p>3. Second Filed in my installation is of textarea type by name About</p>
<p>Let us assume that field value for About is &#8220;This is the field value for About field whose Field Type is textarea&#8221;</p>
<p>So our data string now should be like :</p>
<p>username|email@dmainname.com|Manoj Kumar|This is the field value for About field whose Field Type is textarea|||||</p>
<p>i.e. username + | + email@domainname.com + | + Full Name Value + | + About Value + 5 Delimiters</p>
<p>&nbsp;</p>
<h4>Radio Type</h4>
<p>4. Our next field is Gender which is of radio type. By nature radio type field can take only one value form given options.</p>
<p>I have following options in my installation</p>
<p>Option 1 &#8211; Male<br />
Option 2 &#8211; Female</p>
<p>Lets say I want to select Male value for Gender field</p>
<p>Note: All Field Types except textbox and textarea are case sensitive. i.e. If you enter value &#8220;male&#8221; instead of &#8220;Male&#8221; it will not work.</p>
<p>So now data string should be like :</p>
<p>username|email@dmainname.com|Manoj Kumar|This is the field value for About field whose Field Type is textarea|Male||||</p>
<p>i.e. username + | +  email@domainname.com + | +  Full Name Value + | + About Value + | + Gender + 4 Delimiters</p>
<p>&nbsp;</p>
<h4>Multi Select Box Type</h4>
<p>5. Next field is multiselectbox by name Interests. Multiselect box can take one or more values, so we are delimiting values more then one by (Tilde Sign [~] ).</p>
<p>I have following options in my installation for Interests</p>
<p>Option 1 &#8211; Movies<br />
Option 2 &#8211; Traveling<br />
Option 3 &#8211; Driving<br />
Option 4 &#8211; Dancing</p>
<p>Lets say I want to select Movies as well as Dancing value for Interests field, my data string for this field should be &#8220;Movies~Dancing&#8221;</p>
<p>Note: All Field Types except textbox and textarea are case sensitive. i.e. If you enter value &#8220;movies&#8221; or &#8220;mOvies&#8221; instead of &#8220;Movies&#8221; it will not work.</p>
<p>So now data string should be like :</p>
<p>username|email@dmainname.com|Manoj Kumar|This is the field value for About field whose Field Type is textarea|Male|Movies~Dancing|||</p>
<p>i.e. username + | + email@domainname.com + | +  Full Name Value + | + About Value + | + Gender + | +  Interests + 3 Delimiters</p>
<p>&nbsp;</p>
<h4>Check Box Type</h4>
<p>6. Next field is Favorite Food which is of checkbox type. Data formatting for Check Box Field types are same as Multi Select Box. i.e. Delimiting more then one values by (Tilde Sign [~] )</p>
<p>I have following options in my installation for Favorite Food</p>
<p>Option 1 &#8211; Pizza<br />
Option 2 &#8211; Hot dogs<br />
Option 3 &#8211; Sweet potato<br />
Option 4 &#8211; Pasta</p>
<p>Lets say I want to select Pizza and Hot dogs value for Favorite Food field, my data string for this field should be &#8220;Pizza~Hot dogs&#8221;</p>
<p>Note: All Field Types except textbox and textarea are case sensitive. i.e. If you enter value &#8220;Hot Dogs&#8221; or &#8220;hot dogs&#8221; instead of &#8220;Hot dogs&#8221; it will not work.</p>
<p>So now data string should be like :</p>
<p>username|email@dmainname.com|Manoj Kumar|This is the field value for About field whose Field Type is textarea|Male|Movies~Dancing|Pizza~Hot dogs||</p>
<p>i.e. username + | + email@domainname.com + | +  Full Name Value + | + About Value + | + Gender + | +  Interests + | + Favorite Food value + 2 Delimiters</p>
<p>&nbsp;</p>
<h4>Date Box Type</h4>
<p>7. My next field is Date of Birth of datebox type. Its really simple to format datebox type field simply enter date in as &#8220;1 January 2009&#8243;. i.e. Date in numer + Space + Month (Like January, February, March etc) + Space + Year in numbers (like 1995, 2001, 2005 etc)</p>
<p>I am taking &#8220;1 January 2009&#8243; as Date of Birth &#8211;  This is an example</p>
<p>So now data string should be like :</p>
<p>username|email@dmainname.com|Manoj Kumar|This is the field value for About field whose Field Type is textarea|Male|Movies~Dancing|Pizza~Hot dogs|1 January 2009|</p>
<p>i.e. username + | + email@domainname.com + | +  Full Name Value + | + About Value + | + Gender + | +  Interests + | + Favorite Food value + | + Date Value + 1 Delimiter</p>
<p>&nbsp;</p>
<h4>Select Box Type</h4>
<p>8. Last field in my installation is country which is of selectbox type. Formatting for Select Box Type is same as textbox and textarea type, Difference is just selectbox is case sensitive.</p>
<p>Note: All Field Types except textbox and textarea are case sensitive. i.e. If you enter value &#8220;india&#8221; or &#8220;INDIA&#8221; instead of &#8220;India&#8221; it will not work.</p>
<p>I am taking &#8220;India&#8221; as value for this field</p>
<p>So now data string should be like :</p>
<p>username|email@dmainname.com|Manoj Kumar|This is the field value for About field whose Field Type is textarea|Male|Movies~Dancing|Pizza~Hot dogs|1 January 2009|India</p>
<p>i.e. username + | + email@domainname.com + | +  Full Name Value + | + About Value + | + Gender + | +  Interests + | + Favorite Food Value + | + Date Value + | + Country Value</p>
<p>&nbsp;</p>
<h4>Blank or field with no value</h4>
<p>9. If you do not have value for any specific field you can leave it as blank for example if we don&#8217;t have interests field value for a particular record our data string will look like</p>
<p>username|email@dmainname.com|Manoj Kumar|This is the field value for About field whose Field Type is textarea|Male||Pizza~Hot dogs|1 January 2009|India</p>
<p>All suggestions are welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://manojkumar.org/user-import-for-buddypress/feed/</wfw:commentRss>
		<slash:comments>60</slash:comments>
		<feedburner:origLink>http://manojkumar.org/user-import-for-buddypress/</feedburner:origLink></item>
		<item>
		<title>Bulk Import Members (Users) Plugin for BuddyPress Site</title>
		<link>http://feedproxy.google.com/~r/ManojKumar/~3/KxoLxKssXyg/</link>
		<comments>http://manojkumar.org/bulk-import-members-users-plugin-for-buddypress-site/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 12:50:39 +0000</pubDate>
		<dc:creator>Manoj Kumar</dc:creator>
				<category><![CDATA[BuddyPress]]></category>
		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://manojkumar.org/?p=41</guid>
		<description><![CDATA[We wanted to provide seekers at Unstructure , with a better experience and a richer profile. Keeping this in mind, we decided to include Buddypress .
While the site has been configured with Buddypress, one of the tasks that was required was to migrate users from a standard wordpress installation to the new buddypress members format. [...]]]></description>
			<content:encoded><![CDATA[<p>We wanted to provide seekers at Unstructure , with a better experience and a richer profile. Keeping this in mind, we decided to include Buddypress .</p>
<p>While the site has been configured with Buddypress, one of the tasks that was required was to migrate users from a standard wordpress installation to the new buddypress members format. On finding, no plugin or tool available to do the same, I decided to write one.</p>
<p>The following defines how the plugin works, let me know your thoughts on this <img src='http://manojkumar.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>1. You can import UserName, FirstName, Lastname and Email. Where FirstName + LastName becomes FullName for BuddyPress</p>
<p>2. Delimit your data with &#8220;[|]&#8221; (pipe sign) like username|firstname lastname|email@domainname.com</p>
<p>3. Paste your data in the given box</p>
<p>4. Choose any of the 3 Email notification options</p>
<p>5. Click on the import user button</p>
<p><a href="http://downloads.wordpress.org/plugin/bulk-import-members-users.zip">Download plugin from here (Version 0.1)</a></p>
<p><a title="Bulk Import Members" href="http://manojkumar.org/wp-content/uploads/bp-bulk-import.zip" target="_blank">Download For New BuddyPress 1.0.1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://manojkumar.org/bulk-import-members-users-plugin-for-buddypress-site/feed/</wfw:commentRss>
		<slash:comments>61</slash:comments>
		<feedburner:origLink>http://manojkumar.org/bulk-import-members-users-plugin-for-buddypress-site/</feedburner:origLink></item>
	</channel>
</rss>
