<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>Let&#039;s start again... &#187; Ajax</title> <atom:link href="http://manchumahara.com/ajax/feed/" rel="self" type="application/rss+xml" /><link>http://manchumahara.com</link> <description>&#34;Manchumahara&#34; ...... The virtual, crazy, vagabond and  an emotional stupid!</description> <lastBuildDate>Thu, 02 Feb 2012 13:47:24 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Send ajax request in wordpress using wpnonce</title><link>http://manchumahara.com/2009/11/08/send-ajax-request-in-wordpress-using-wpnonce/</link> <comments>http://manchumahara.com/2009/11/08/send-ajax-request-in-wordpress-using-wpnonce/#comments</comments> <pubDate>Sat, 07 Nov 2009 22:14:43 +0000</pubDate> <dc:creator>Manchumahara(Sabuj Kundu)</dc:creator> <category><![CDATA[Ajax]]></category> <category><![CDATA[Tips and Tricks]]></category> <category><![CDATA[wordpress]]></category> <category><![CDATA[wpnonce]]></category><guid isPermaLink="false">http://manchumahara.com/?p=394</guid> <description><![CDATA[let&#8217;s send ajax request in wordpress using wpnonce Hei, I am not going to discuss what is wpnonce and why you should use this in your plugin or how important to use this to secure your plugin But here I &#8230; <a href="http://manchumahara.com/2009/11/08/send-ajax-request-in-wordpress-using-wpnonce/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-395" title="wpsecuritythumb" src="http://manchumahara.com/wp-content/uploads/2009/11/wpsecuritythumb.jpg" alt="wpsecuritythumb" width="130" height="130" />let&#8217;s send ajax request in wordpress using wpnonce</p><p>Hei, I am not going to discuss what is <a rel="external nofollow" href="http://www.google.com/search?q=wpnonce&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a" target="_blank">wpnonce</a> and why you should use this in your plugin or how important to use this to secure your plugin <img src='http://manchumahara.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br /> But here I am going to discuss how you can use wpnonce in ajax request, I mean if your plugin handles ajax request.<br /> Steps that we need to follow are:</p><blockquote><p>One: Create wpnonce value.<br /> Two: Send wpnonce value as an extra parameter with ajax requestion<br /> Three: Check ajax referrer with the wpnonce value that was created in step one and sent in step two.</p></blockquote><p>Ok, how to create a wpnonce value ?<br /> we need to use wordpress function wp_create_nonce() . See wordpress codex <a rel="external nofollow" href="http://codex.wordpress.org/Function_Reference/wp_create_nonce" target="_blank">here</a>.<br /> &lt; ?php $my_wpnonce= wp_create_nonce  (&#8216;you-look-nice&#8217;); ?&gt; // &#8220;you-look-nice&#8221; is just a string, u can use whatever u want. here $my_wpnonce  will get a hash from wp_create_nonce. Oh that is not direct hash of &#8220;you-look-nice&#8221; but based on user id, time and that string. To know more about this function please check pluggable.php in wp-includes folder</p><p>Now send wpnonce value $my_wpnonce as an extra parameter while seding ajax req.<span id="more-394"></span></p><p>Now to process the ajax request in your script at first u need to include the wp-config.php or how u handle this.. no problem. Just use this line after this to check the ajax referrer.</p><p>&lt; ?php check_ajax_referer(&#8220;you-look-nice&#8221;);  ?&gt;   /// &#8220;you-look-nice&#8221;   ya same string that u used making wpnoce&#8230;.<br /> If the nonce value is not same then the hacker will be just got fucked!<br /> note: check <a rel="external nofollow" href="http://codex.wordpress.org/Function_Reference/check_ajax_referer" target="_blank">codex here</a> for the function check_ajax_referer.</p><p>That&#8217;s it man.</p>Comment is open. You can participate in the discussion by visiting <a href='http://manchumahara.com/2009/11/08/send-ajax-request-in-wordpress-using-wpnonce/'>here</a> ]]></content:encoded> <wfw:commentRss>http://manchumahara.com/2009/11/08/send-ajax-request-in-wordpress-using-wpnonce/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Simple Ajax Tab for wordpress (Manchuwpajaxtab) v1.1</title><link>http://manchumahara.com/2008/10/18/simple-ajax-tab-for-wordpress-manchuwpajaxtab/</link> <comments>http://manchumahara.com/2008/10/18/simple-ajax-tab-for-wordpress-manchuwpajaxtab/#comments</comments> <pubDate>Sat, 18 Oct 2008 16:48:55 +0000</pubDate> <dc:creator>Manchumahara(Sabuj Kundu)</dc:creator> <category><![CDATA[Ajax]]></category> <category><![CDATA[Java script]]></category> <category><![CDATA[Wordpress Plugin]]></category> <category><![CDATA[ajax tab widget for wp]]></category> <category><![CDATA[ajax wp tab]]></category> <category><![CDATA[wordpress ajax tab]]></category><guid isPermaLink="false">http://manchumahara.com/?p=207</guid> <description><![CDATA[Simple Ajax Tab for wordpress or just Manchuwpajaxtab is a small plugin/widget for wordpress to show some important features of a blog in one place and make them ajax based so the loading time of blog is minimun. Here Recent &#8230; <a href="http://manchumahara.com/2008/10/18/simple-ajax-tab-for-wordpress-manchuwpajaxtab/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><img src="http://manchumahara.com/wp-content/uploads/2008/10/manchutabrf61.jpg" border="5" alt="manchuajaxtab" align="left" />Simple Ajax Tab for wordpress or just Manchuwpajaxtab is a small plugin/widget for wordpress to show some important features of a blog in one place and make them ajax based so the loading time of blog is minimun. Here Recent Posts, Recent Comemnts, Tag clouds, Archives, Blogroll and Categories are packed together as tab..ajax based tab. I think it&#8217;s clear what the plugin does.</p><p>Demo: pls see the ajax tab in sidebar in my blog. Hope people using theme like me will like this plugin/widget.</p><p>How to install: Just download the attached file, unzip and upload to plugins folder. Activate the plugin from plugins  list , Now add the widget from Design-&gt;widgets.<span id="more-207"></span></p><p>There are some setting to that u can set from Settings-&gt;Manchu Ajax Tab where you can set the width of tabs and container.</p><p>This is first stable release of this plugin/widget and I will add more features soon so that tabs are more flexibles and easily cusmizable from admin panel.</p><p>Plugin Name: ManchuAjaxTab<br /> Description: Ajax tab plugin/widgets for wordpress sidebar<br /> Version: 1.0<br /> Author: <a href="http://manchumahara.com/" target="_blank">Sabuj Kundu aka manchumahara<br /> </a>Tabs: Recent Posts, Recent Comments, Tag clouds, Blogroll, Archives and Categories. More are comming soon with more features <img src='http://manchumahara.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br /> License: GPL2<br /> Note: No ajax or js library is used here. I mean raw ajax/js code is used to make it simple and faster loading.<br /> Download: Note: There is a file embedded within this post, please visit this post to download the file.</p><p>Change log v1.1(2nd release 02.11.08):</p><ul><li>Admin interface to give custom name for tabs. This will be help full to use local language. Though this is not fully supported for localization. Hope I will give this support in next release.</li><li>Custom width for tab &#8216;div&#8217; and container or result &#8216;div&#8217;. This will help to maintain sidebar width and theme design using div based concept.</li><li>Fix for custom or SEO friend URL.</li></ul><p>Don&#8217;t forget to make comment if this is help full for you or not. Hope I will add more features on it soon. So keep eye on my blog regularly.</p><p>Thanks</p>Comment is open. You can participate in the discussion by visiting <a href='http://manchumahara.com/2008/10/18/simple-ajax-tab-for-wordpress-manchuwpajaxtab/'>here</a> ]]></content:encoded> <wfw:commentRss>http://manchumahara.com/2008/10/18/simple-ajax-tab-for-wordpress-manchuwpajaxtab/feed/</wfw:commentRss> <slash:comments>26</slash:comments> </item> <item><title>Ajax Tutorials/Blogs/Links</title><link>http://manchumahara.com/2008/06/23/ajax-tutorialsblogslinks/</link> <comments>http://manchumahara.com/2008/06/23/ajax-tutorialsblogslinks/#comments</comments> <pubDate>Mon, 23 Jun 2008 05:28:18 +0000</pubDate> <dc:creator>Manchumahara(Sabuj Kundu)</dc:creator> <category><![CDATA[Ajax]]></category><guid isPermaLink="false">http://manchu.wordpress.com/?p=67</guid> <description><![CDATA[http://www.alexajax.com/randomphotos http://www.alexajax.com/randomphotos  with CI &#8211;Xajax a Comment is open. You can participate in the discussion by visiting here]]></description> <content:encoded><![CDATA[<p>http://www.alexajax.com/randomphotos</p><p>http://www.alexajax.com/randomphotos  with CI &#8211;Xajax a</p>Comment is open. You can participate in the discussion by visiting <a href='http://manchumahara.com/2008/06/23/ajax-tutorialsblogslinks/'>here</a> ]]></content:encoded> <wfw:commentRss>http://manchumahara.com/2008/06/23/ajax-tutorialsblogslinks/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Ajax!!!</title><link>http://manchumahara.com/2007/12/10/ajax/</link> <comments>http://manchumahara.com/2007/12/10/ajax/#comments</comments> <pubDate>Sun, 09 Dec 2007 18:38:05 +0000</pubDate> <dc:creator>Manchumahara(Sabuj Kundu)</dc:creator> <category><![CDATA[Ajax]]></category><guid isPermaLink="false">http://manchu.wordpress.com/2007/12/10/ajax/</guid> <description><![CDATA[Today I started to learn Ajax. Actually I learn most thing from web but I kept a book too from whick I can learn the basics. Somedays ago I bought a book on ajax name &#8220;Professional Ajax&#8221; by Nicholas C. &#8230; <a href="http://manchumahara.com/2007/12/10/ajax/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Today I started to learn Ajax. Actually I learn most thing from web but I kept a book too from whick I can learn the basics. Somedays ago I bought a book on ajax name &#8220;Professional Ajax&#8221; by Nicholas C. Zakas, Jeremy McPeak and Joe Fawcett and publisher is wrox. I don&#8217;t know who this book is but I think I will get the basic concepts from it.If u have any suggestion about  ajax like which book is good or any web link from whick I can get better help about this plz let me know&#8230;</p>Comment is open. You can participate in the discussion by visiting <a href='http://manchumahara.com/2007/12/10/ajax/'>here</a> ]]></content:encoded> <wfw:commentRss>http://manchumahara.com/2007/12/10/ajax/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 11/52 queries in 0.339 seconds using disk: basic
Object Caching 539/583 objects using disk: basic

Served from: manchumahara.com @ 2012-02-09 15:36:16 -->
