tag:blogger.com,1999:blog-60232322546496209872024-03-14T15:01:12.653+05:30Web Development Tools & Tech InfoPHP, Codeigniter, Javascript, jQuery, Smarty, Wordpress Tutorials and Tech InfoAtulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.comBlogger38125tag:blogger.com,1999:blog-6023232254649620987.post-53928246621860529592014-08-01T04:01:00.003+05:302015-01-02T01:15:12.820+05:30Create Simple Geo Maps Using Highmaps<div dir="ltr" style="text-align: left;" trbidi="on">
Recently I explained you, how to <a href="http://www.techsirius.com/2014/07/visitor-realtime-geo-location-in-google-map.html" target="_blank">Show Visitor Location in Real Time in Google Maps</a>. Few <a href="http://www.techsirius.com/" target="_blank">techsirius</a> readers asked me to create a tutorial on Geo Maps so here I am. In this tutorial I will show you how to create simple Geo Map and fill value data in them. I am using here <a href="http://www.highcharts.com/maps/demo" target="_blank">Highmaps</a>.<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCwCMYj0GEznydoHMZI12hSZRTSmq7th3Ayton0WDeJnpTMsgMeBZUq_hcijUW_zSywWI7Z0JP5oshXLnd8Z_6Noq8A21Tav-Xr3zMPSrgguXEvMepEiE3Wqohfrr8sx6jQgrhDPJANkD9/s1600/content_image.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCwCMYj0GEznydoHMZI12hSZRTSmq7th3Ayton0WDeJnpTMsgMeBZUq_hcijUW_zSywWI7Z0JP5oshXLnd8Z_6Noq8A21Tav-Xr3zMPSrgguXEvMepEiE3Wqohfrr8sx6jQgrhDPJANkD9/s1600/content_image.png"></a></div>
<br>
</div><a href="http://www.techsirius.com/2014/08/create-simple-geo-map-using-highmaps.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com4tag:blogger.com,1999:blog-6023232254649620987.post-51600864920666790532014-07-12T03:11:00.001+05:302014-11-30T03:59:40.273+05:30Show Visitor Location in Realtime in Google Maps<div dir="ltr" style="text-align: left;" trbidi="on">
Few days ago I wrote a tutorial <a href="http://www.techsirius.com/2014/05/simple-geo-tracking-system.html" target="_blank">Simple Visitor Geo Tracking System</a> and thank you guys for your response. Today I am going to explain you, how to display visitor’s geo location in real time in Google Map. I am using here <a href="http://www.techsirius.com/2014/05/simple-geo-tracking-system.html" target="_blank">Simple Visitor Geo Tracking System</a>, <a href="https://developers.google.com/maps/documentation/geocoding/" target="_blank">Google Geocoding API</a>, <a href="https://developers.google.com/maps/documentation/javascript/" target="_blank">Google Maps Javascript V3 API</a>. Right now version 3 is latest version for Google Maps Javascript API and I am using it here.<br>
<div>
<br></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSz3T7WvTGaBnaINA1DBrUZQ_xZ7Vv-x98wSfeGtbymxmWm80z4Y0jeKI48c0RJmRp6JrEr1jyd-iJDI8FvahLD1Fu5PyQhjaMp55hTvL9hugpdwZXebkQ7NbT5y_LF1cANH9A_84vulFJ/s1600/content_image.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSz3T7WvTGaBnaINA1DBrUZQ_xZ7Vv-x98wSfeGtbymxmWm80z4Y0jeKI48c0RJmRp6JrEr1jyd-iJDI8FvahLD1Fu5PyQhjaMp55hTvL9hugpdwZXebkQ7NbT5y_LF1cANH9A_84vulFJ/s1600/content_image.png"></a></div>
<div>
<br>
</div></div><a href="http://www.techsirius.com/2014/07/visitor-realtime-geo-location-in-google-map.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0tag:blogger.com,1999:blog-6023232254649620987.post-6358120959090891242014-07-11T15:58:00.000+05:302014-11-30T04:01:44.381+05:30Copy to Clipboard Using SWF and Javascript Day 2<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
This tutorial is sequel of <a href="http://www.techsirius.com/2014/07/copy-to-clipboard-using-javascript-day-1.html" target="_blank">Copy to Clipboard Using Javascript Day 1</a>. Till now I have shown you how to create basic setup for copy to clipboard, which is less than 5 lines of javascript code. In this tutorial I will explain, how to customise Zeroclipboard for your project and apply them to multiple targets.<br>
<div class="ts_ad_in_page_locator" id="ts_ad_in_page_locator">
</div>
<div>
<br></div>
<div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1fnT5RoUmRcWHEov2Awkf7Wr-_nY66p5LT4YeHSrMfRMhDQNqVE_PqOn7f6JmMFjJIY2BMVvhSZS_SixokaF6JsWcVt9jJejxAu5lpGUVMa_qlSVuiFr40bhmf_pKme7pnEi0feNlBANq/s1600/content_image_multi.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1fnT5RoUmRcWHEov2Awkf7Wr-_nY66p5LT4YeHSrMfRMhDQNqVE_PqOn7f6JmMFjJIY2BMVvhSZS_SixokaF6JsWcVt9jJejxAu5lpGUVMa_qlSVuiFr40bhmf_pKme7pnEi0feNlBANq/s1600/content_image_multi.png"></a></div>
<br>
</div></div></div><a href="http://www.techsirius.com/2014/07/copy-to-clipboard-using-javascript-day-2.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0tag:blogger.com,1999:blog-6023232254649620987.post-4086048889116035682014-07-11T15:49:00.000+05:302014-11-30T04:03:06.731+05:30Copy to Clipboard Using SWF and Javascript Day 1<div dir="ltr" style="text-align: left;" trbidi="on">
Today I am going to show you how to copy simple text or HTML data to clipboard using javascript step by step. It is very fancy feature, copy data with just one click and paste wherever you want. I am using here <a href="https://github.com/zeroclipboard/zeroclipboard" target="_blank">Zeroclipboard</a> library. It uses flash SWF file. Most of the time Zeroclipboard's newer version do not support previous version so I highly recommend you to stick with a version of zeroclipboard and use it regularly. I am using here v2.1.1 which is latest right now.<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdW0oyd-SJkyqaEgWdzk60iDZX0Gnp-h7UWZtMWJOC4Cx5bv8q8kBOmsDAbWAg8LlS3qPV-_KwT-qLAkn79hQkyESp-dY6Kl4VS6od9Cqkm661oFM_35QhxwGyhduNJGN69iw8W7SBx44r/s1600/content_image.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Copy to Clipboard Using Javascript" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdW0oyd-SJkyqaEgWdzk60iDZX0Gnp-h7UWZtMWJOC4Cx5bv8q8kBOmsDAbWAg8LlS3qPV-_KwT-qLAkn79hQkyESp-dY6Kl4VS6od9Cqkm661oFM_35QhxwGyhduNJGN69iw8W7SBx44r/s1600/content_image.png" title="Copy to Clipboard Using Javascript"></a></div>
</div><a href="http://www.techsirius.com/2014/07/copy-to-clipboard-using-javascript-day-1.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0tag:blogger.com,1999:blog-6023232254649620987.post-85772833065508138802014-05-02T00:09:00.000+05:302014-11-30T04:04:07.761+05:30Simple Visitor Geo Tracking System<div dir="ltr" style="text-align: left;" trbidi="on">
Today I am going to show you, how to create a simple visitor geo tracker or geo location system. This is one of the most basic and important tool that every website owner uses to analyze how website is going, in which country website is popular, showing ads by country, redirect user to country specific page and much more. Let's create it in a simple and effective way.<br>
<br>
<div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaqn9CyEADvOh4nqKYNz_aFDoH2EFWybP6DGh75tk_p66h6DoxwCYdr5ixdXsytMJfrfOliDQFMP1ukb7sf06y91bcLzy1dalahJEnNap2X62XSGDarZbgNtqhSNB2hXURIivXIr_k8Grr/s1600/simple-geo-tracking-system.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Simple Visitor Geo Tracking System" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaqn9CyEADvOh4nqKYNz_aFDoH2EFWybP6DGh75tk_p66h6DoxwCYdr5ixdXsytMJfrfOliDQFMP1ukb7sf06y91bcLzy1dalahJEnNap2X62XSGDarZbgNtqhSNB2hXURIivXIr_k8Grr/s1600/simple-geo-tracking-system.png" title="Simple Visitor Geo Tracking System"></a></div>
</div></div><a href="http://www.techsirius.com/2014/05/simple-geo-tracking-system.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com4tag:blogger.com,1999:blog-6023232254649620987.post-85364852632577195492014-04-09T03:43:00.002+05:302014-07-19T11:33:30.438+05:30Detect if Social SDK/Content did not Load<div dir="ltr" style="text-align: left;" trbidi="on">
Many times it happen when you open a webpage in your browser whole page loads just fine but not <b>facebook like button</b>, <b>facebook page feed</b>, <b>twitter share button</b>, <b>linkedin share button, google plus one button</b> etc.<br>
<br>
It is because of browser addons/plugins, like <a href="https://chrome.google.com/webstore/detail/avast-online-security/gomekmidlodglbbmalcneegieacbdmki">avast online security</a>, <a href="https://addons.mozilla.org/en-US/firefox/addon/adblock-plus">Adblock plus</a> etc., block them.<br>
Well it is no problem for visitors but webmaster do not like it much. Here are few solutions that find out if social plugins like Facebook, Twitter, Linkedin have been blocked by browser 's add-on/plugin.<br>
<br>
<div>
<div>
<b>Suppose If facebook SDK did not load then replace blank spots(where facebook buttons/content suppose to display) with some useful content or you can do other cool stuff, so let's get start it.</b><br>
</div></div></div><a href="http://www.techsirius.com/2014/04/detect-social-SDK-didnt-load.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0tag:blogger.com,1999:blog-6023232254649620987.post-46251243813237651142014-01-09T09:47:00.000+05:302014-08-03T18:09:59.910+05:30Smarty Inbuilt Functions/Modifiers List<div dir="ltr" style="text-align: left;" trbidi="on">
Smarty has many in built <b>functions/modifiers</b> that we can trigger them by just using a <b>keyword</b>. Most of these functions/modifiers are used many time while coding. Today I am presenting you a list of these type of build in functions/modifiers with their uses.<br>
<br>
</div><a href="http://www.techsirius.com/2014/01/smarty-inbuit-modifiers-list.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0tag:blogger.com,1999:blog-6023232254649620987.post-29343227847110348622013-09-21T10:23:00.003+05:302014-11-30T04:08:26.751+05:30Dynamically Insert String into Ckeditor<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: Arial;"><span style="background-color: white; font-size: 15px; line-height: 17.25px; white-space: pre-wrap;">As far as ckeditor is getting popular our expectation is getting higher for it. Ckeditor is very flexible and easy to use <a href="http://en.wikipedia.org/wiki/WYSIWYG">WYSIWYG</a> editor. You can see significant difference between Ckeditor and second most popular WYSIWYG editor <a href="http://www.google.com/trends/explore#q=ckeditor%2C%20elRTE&cmpt=q">here</a>. It is google trends match result. Okay enough talk about world lets come to the main point.</span></span><br>
<span style="font-family: Arial;"><span style="background-color: white; font-size: 15px; line-height: 17.25px; white-space: pre-wrap;"> </span></span> <span id="docs-internal-guid-33c791a4-7375-1828-011e-ae313897e080"><span style="background-color: white; font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Many times it happens when you need to insert a string or link or anything like that into ckeditor editor dynamically using Javascript.</span></span><br>
</div></div><a href="http://www.techsirius.com/2013/09/dynamically-insert-string-into-ckeditor.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0tag:blogger.com,1999:blog-6023232254649620987.post-3319059191967617312013-09-20T00:39:00.000+05:302014-11-30T04:46:24.166+05:30Remove Directory, Subdirectory and Their Files<div dir="ltr" style="text-align: left;" trbidi="on">
We often face this problem. Some <a href="http://www.techsirius.com/" target="_blank">techsirius</a> regular readers asked me this question that how to remove all files and sub-directories of a directory. I just created this script to accomplish this task. Please do not forget to leave your feedback. Now lets get started.<br>
</div><a href="http://www.techsirius.com/2013/09/remove-directory-subdirectory-and-their.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0tag:blogger.com,1999:blog-6023232254649620987.post-3216564212186012962013-08-30T11:07:00.000+05:302014-11-30T04:11:17.001+05:30Cover Half Body Background with Image<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
Today I will explain how to cover half HTML body background with image. Often web designers need to create it. In this tutorial I am using <a href="http://www.w3schools.com/cssref/css3_pr_background-size.asp" target="_blank">background-size</a>, which is CSS3 element.<br>
<br>
I am showing you here two methods to complete this task. In first method we will insert image into body background using CSS and CSS3 & cover half of the body. In second method we will cover half of the screen using CSS and jQuery. So let's get start it.<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5pUlC1Xjd7PhsxbqpL1Aom5EvFCSsxKsRcyeq9tuU0j0qCyjCcS9OcxzoGvAURdHWG5-K5_zSFVb7cERV0ldmr_xFWTcePFTh0S_PWexWftXFYioz3SxCKPr1i9Ju95PR0LJfhwb8HaPP/s1600/image.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5pUlC1Xjd7PhsxbqpL1Aom5EvFCSsxKsRcyeq9tuU0j0qCyjCcS9OcxzoGvAURdHWG5-K5_zSFVb7cERV0ldmr_xFWTcePFTh0S_PWexWftXFYioz3SxCKPr1i9Ju95PR0LJfhwb8HaPP/s1600/image.png"></a></div>
<br>
</div></div></div></div><a href="http://www.techsirius.com/2013/08/cover-half-body-background-with-image.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0tag:blogger.com,1999:blog-6023232254649620987.post-55120877581685893222013-08-10T09:42:00.000+05:302014-07-19T11:38:31.907+05:30Configure Ckeditor Toolbar Icons<div dir="ltr" style="text-align: left;" trbidi="on">
Ckeditor is a very popular browser based text editor. Ckeditor is very flexible to customise. By default there are bunch of tools in its toolbar and we often do not use most of them. Let's find out how to customise ckeditor toolbar icons.<br>
</div><a href="http://www.techsirius.com/2013/08/configure-ckeditor-toolbar-icons.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0tag:blogger.com,1999:blog-6023232254649620987.post-25618136426642735562013-08-02T00:57:00.001+05:302014-11-30T04:13:56.450+05:30Check If Image Path/URL is Genuine in jQuery<div dir="ltr" style="text-align: left;" trbidi="on">
It is a common problem when you load page and some of images do not load properly that means image path is not genuine. There could be many other reasons for it but on the screen it gives very bad impression to website users.<br>
<br>
Today's tutorial is based on this issue. Solutions is very simple if you are able to check whether image is loading properly or not. We will do here the same thing using jQuery and javascript.<br>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjWgwcHft33TRKXUkHMqyRfUaUg5I7RRKsDp-zL3mgRrrA8nKKWYORcds8lXXWnKlHh_fCi5RtykD_HsUWhK0AhvxZ2eD1mPCj_GdgKzj43CoCSG52PnQFst6N7q2tqn_ZaDUEWCiQFd27/s1600/img.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjWgwcHft33TRKXUkHMqyRfUaUg5I7RRKsDp-zL3mgRrrA8nKKWYORcds8lXXWnKlHh_fCi5RtykD_HsUWhK0AhvxZ2eD1mPCj_GdgKzj43CoCSG52PnQFst6N7q2tqn_ZaDUEWCiQFd27/s1600/img.png"></a></div>
<br>
</div><a href="http://www.techsirius.com/2013/08/check-if-image-pathurl-is-genuine-in.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com4tag:blogger.com,1999:blog-6023232254649620987.post-65089175689851494312013-05-17T10:42:00.001+05:302014-08-03T18:10:56.898+05:30Resume Last Conversation in Gtalk<div dir="ltr" style="text-align: left;" trbidi="on">
Since a long time many gtalk users were waiting for this feature, specially since facebook has implemented to resume last conversation in its messaging system.<br>
<br>
Now you can resume your last conversation with your friends, family, clients etc. where you left in <b>Gtalk </b>or<b> Google chat </b>by just one click in your gtalk chat history button called <b>Resume Chat</b>.<br>
<br>
Suppose you are talking to your client or friend one day and after few times you need to resume your conversation with them. It is very hectic if you need to see last conversation topics and text again and again. But not any more.<br>
<br>
Now lets find out how to do it.<br>
</div><a href="http://www.techsirius.com/2013/05/resume-last-conversation-in-gtalk.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0tag:blogger.com,1999:blog-6023232254649620987.post-12891951031662140762013-03-10T12:54:00.001+05:302014-07-19T11:41:23.651+05:30How to Redirect Non WWW to Proper WWW TLD for Blogspot<div dir="ltr" style="text-align: left;" trbidi="on">
As I previously explained <a href="http://www.techsirius.com/2013/03/upgrade-blogspot-to-tld-domain-step-by.html" target="_blank">how to upgrade normal blogspot sub domain to TLD domain</a>. Today I will show you how to redirect non www to proper www TLD for blogspot.<br>
<br>
I will suggest you to register your domain with godaddy.com because their system is very simplified and godaddy is the biggest domain registrar in the world. So let's get start it.<br>
<br>
First login in your godaddy.com account and click on my account(top left corner).<br>
Under products tab->domains click on launch.<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhovh_suW2Go4hXhHIJ55lZAWjSQwATTgyxKsyw40a_jwA5-P-qypxFBphyphenhyphen5rH2z4e7ti85A2Za3nUDjUfqNtjTWG3ZXDbPECq8plAfIi1h_FasiLJZMIMhPNzzoWJi8ciIVNKuZc326hAL/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhovh_suW2Go4hXhHIJ55lZAWjSQwATTgyxKsyw40a_jwA5-P-qypxFBphyphenhyphen5rH2z4e7ti85A2Za3nUDjUfqNtjTWG3ZXDbPECq8plAfIi1h_FasiLJZMIMhPNzzoWJi8ciIVNKuZc326hAL/s320/1.png" height="328" width="400"></a></div>
<br>
</div><a href="http://www.techsirius.com/2013/03/how-to-redirect-non-www-to-proper-www.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0tag:blogger.com,1999:blog-6023232254649620987.post-7328074216858396132013-03-10T12:53:00.000+05:302014-07-19T11:42:04.159+05:30Upgrade Blogspot to a TLD - Step by Step<div dir="ltr" style="text-align: left;" trbidi="on">
Few days ago I registered <a href="http://www.techsirius.com/" target="_blank">techsirius.com</a> for this blog. Initially I thought that I will just update name server and site will be ready to go but I was so wrong ... Anyway lets check this out.<br>
<br>
One more thing, now a days <a href="http://affiliate.godaddy.com/redirect/F663017747BE0865BE949659501C7470AA3CF25DFCC883A459CB9B23C813CBBB61F47852D12DBC6D85BCF107C22F81ED74224BF9C068D428997EBA7AF2EFAC75" target="_blank">godaddy.com</a> offering very cheap domain registration specially if you live in India. Just google "buy cheap domain" and you will find one or more ads that <a href="http://affiliate.godaddy.com/redirect/F663017747BE0865BE949659501C7470AA3CF25DFCC883A459CB9B23C813CBBB61F47852D12DBC6D85BCF107C22F81ED74224BF9C068D428997EBA7AF2EFAC75" target="_blank">godaddy.com</a> is offering a .com in just 109 INR.<br>
<br>
Well I booked my domain with <a href="http://affiliate.godaddy.com/redirect/F663017747BE0865BE949659501C7470AA3CF25DFCC883A459CB9B23C813CBBB61F47852D12DBC6D85BCF107C22F81ED74224BF9C068D428997EBA7AF2EFAC75" target="_blank">godaddy.com</a> so I will share story about it.<br>
<br>
First search and register a domain from <a href="http://affiliate.godaddy.com/redirect/F663017747BE0865BE949659501C7470AA3CF25DFCC883A459CB9B23C813CBBB61F47852D12DBC6D85BCF107C22F81ED74224BF9C068D428997EBA7AF2EFAC75" target="_blank">godaddy.com</a>. As you login you will find a button <a href="https://mya.godaddy.com/default.aspx?isc=iap295m&ci=60016" target="_blank">My Account</a> on the top left side of the screen, click on it.<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYOgHPg_KaYElYALn0jKbcoUqULuzIvYoFR3v-8QOFgWO_OgZhVZLv5B2ivpCKo6kC-MjEHJvM2Kbs6eiIlysRduU0kvTTKm0X8rEKOV5uBfjhsC6kCM2M5I-pGjVZe7Dfnj30szKNzUSD/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYOgHPg_KaYElYALn0jKbcoUqULuzIvYoFR3v-8QOFgWO_OgZhVZLv5B2ivpCKo6kC-MjEHJvM2Kbs6eiIlysRduU0kvTTKm0X8rEKOV5uBfjhsC6kCM2M5I-pGjVZe7Dfnj30szKNzUSD/s320/1.png"></a></div>
<br>
</div><a href="http://www.techsirius.com/2013/03/upgrade-blogspot-to-tld-domain-step-by.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com3tag:blogger.com,1999:blog-6023232254649620987.post-18933387297430466902013-02-12T01:07:00.000+05:302014-07-19T11:43:29.664+05:30Simple script_tag() function for Codeigniter<div dir="ltr" style="text-align: left;" trbidi="on">
Today I will discuss with you about simple script tag function for Codeigniter. I searched on the web for this type of function but found only few complicated functions then I decided to write something simple. I am trying to put here everything simple so you can modify script_tag() according to your project need. So without wasting more time let's get started.<br>
<br>
First of all insert below codes in your <a href="http://www.techsirius.com/2012/07/how-to-create-mycontroller-in.html" target="_blank">main controller</a> or in index.php on root directory.<br>
<br>
<b>Try to put script_tag() at the top of the page.</b><br>
<br>
</div><a href="http://www.techsirius.com/2013/02/simple-scripttag-function-for.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0tag:blogger.com,1999:blog-6023232254649620987.post-66400531968826178182013-01-18T03:04:00.002+05:302014-07-19T11:44:25.866+05:30Apply jQuery Method to Multiple Selectors or Tags<div dir="ltr" style="text-align: left;" trbidi="on">
One day I was wondering if there is a way that I can apply a jquery method/function to a group of divs, whose selectors are different, or other tags like <span> or <a> etc. at the same time. Well thanks to jQuery which is very flexible and very easy to extend. Now let's do some exercise for it and see how it works.<br>
<br>
Suppose you have a parent div and its hierarchy is same as below and you want to title value of few specific tags, then follow below instructions.<br>
<br>
</div><a href="http://www.techsirius.com/2013/01/how-to-apply-jquery-method-on-more-than.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0tag:blogger.com,1999:blog-6023232254649620987.post-23875215865213705372013-01-17T04:16:00.000+05:302014-07-19T11:45:34.142+05:30Pop Custom PHP Warning Message in Codeigniter<div dir="ltr" style="text-align: left;" trbidi="on">
Today I will tell you how to pop custom warning/error message in Codeigniter. Few days ago I was working on a project in codeigniter and I needed to show some custom warning messages on user interface so I dig back into Codeigniter and found something that I would like to share with you.<br>
<br>
It is just few lines of code that you should put on your <a href="http://www.techsirius.com/2012/07/how-to-create-mycontroller-in.html" target="_blank">main controller</a> so you can call it any where in your controller and also you can use it in any of your model by putting this code in <a href="http://www.techsirius.com/2012/09/how-to-create-mymodel-or-custom-main.html" target="_blank">main model</a>.<br>
</div><a href="http://www.techsirius.com/2013/01/pop-custom-error-message-in-codeigniter.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com2tag:blogger.com,1999:blog-6023232254649620987.post-51218472665347827502013-01-14T14:03:00.001+05:302016-09-25T08:32:14.863+05:30Load Controller within Another Controller in Codeigniter<div dir="ltr" style="text-align: left;" trbidi="on">
Today I will show you how to load a controller within another controller. Initially I was thinking that it will be very complex but thanks for Codeigniter. So lets start it.<br>
<br>
First we have to extend the CI_Loader class. So create a file called <b>MY_Loader</b> in <b>applications/core </b>folder. If you have made changes in config.php <b>$config['subclass_prefix'] </b>rather than "MY_" then you should make these changes here also. Suppose you have set<br>
</div><a href="http://www.techsirius.com/2013/01/load-controller-within-another.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com71tag:blogger.com,1999:blog-6023232254649620987.post-44939157910694273852013-01-13T02:57:00.000+05:302014-11-30T04:19:43.273+05:30Alternative for jQuery .click() Method<div dir="ltr" style="text-align: left;" trbidi="on">
Jquery is very powerful and feature rich javascript library. During web development project you often need to detect <b>left mouse click</b> in javascript. The most common jquery method to detect <b>clicks</b> is <a href="http://api.jquery.com/click/" target="_blank">.click()</a>. Some times <b>.click()</b> does not work as expected and the most common reason is jquery library version. Today I am going to explain you <b>6 different methods</b> to detect <b>"clicks".</b> So lets get start it.<br>
</div><a href="http://www.techsirius.com/2013/01/alternative-method-for-jquery-click.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com1tag:blogger.com,1999:blog-6023232254649620987.post-7234974809222221012012-12-21T15:35:00.000+05:302014-11-30T04:20:26.431+05:30Send Private Message to Facebook User using Facebook Javascript API<div dir="ltr" style="text-align: left;" trbidi="on">
In this tutorial I will show you how to send private message to facebook user using <b>Javascript Facebook API. </b>Although it looks very complicated but in real it is very simple, just follow the tutorial. So let's get start it.<br>
<div>
</div></div><a href="http://www.techsirius.com/2012/12/send-private-message-to-facebook-user.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0tag:blogger.com,1999:blog-6023232254649620987.post-91206658767488079112012-11-18T04:04:00.000+05:302014-11-30T04:21:33.022+05:30Login with Google in PHP<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
Today Facebook is leading social networking website in the world but Google Plus is not far behind from Facebook. As Google Plus will get more user base they will give more free hands to developers to develop more interactive apps but that is not today's topic.<br>
<br>
Today I will explain you how to create Google Plus oauth system.<br>
<br>
First download <a href="http://demo.techsirius.com/index.php?p=check_fblike&download_file=techsirius.com_login-with-google-in-php_586472.zip" target="_blank">google library bundle</a> and extract folder called "<b>g_api_php_client</b>" in a separate location.<br>
<br>
Now create a project(app) for Google oauth login. Go to <a href="https://console.developers.google.com/" target="_blank">console.developers.google.com</a> and create a project(app). I am attaching instructions here in images step by step.<br>
<br>
<h4 style="text-align: left;">
Note:</h4>
<div>
This interface is in older version now so switch your <a href="https://console.developers.google.com/" target="_blank">console.developers.google.com</a> screen to older version if you do not see similar interface like below.<br>
<br></div>
<div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJn1zet-VtnggL9IdncUFNJ2gPQUQmh1MVQwqcjy-_ixuYLNb_aoYKBBA6TitSe7HI9rDXo_OO7ePe_Rp0qT2enXnSPN6mUcj_qHViz8ZcbvN6TDi8PoHeYGJETjTDSR-dS5Kz_WzIf20Q/s1600/g_login1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJn1zet-VtnggL9IdncUFNJ2gPQUQmh1MVQwqcjy-_ixuYLNb_aoYKBBA6TitSe7HI9rDXo_OO7ePe_Rp0qT2enXnSPN6mUcj_qHViz8ZcbvN6TDi8PoHeYGJETjTDSR-dS5Kz_WzIf20Q/s1600/g_login1.png" height="412" width="640"></a></div>
<br></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
</div></div><a href="http://www.techsirius.com/2012/11/login-with-google-in-php.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com1tag:blogger.com,1999:blog-6023232254649620987.post-33400515613217561062012-11-14T03:17:00.000+05:302014-11-30T04:22:36.499+05:30Get Google Plus User's Profile Picture<div dir="ltr" style="text-align: left;" trbidi="on">
Google has changed the old method to get Google plus user’s profile picture which was below.<br>
<br>
<div class="my_custom_code_holder">
https://profiles.google.com/s2/photos/profile/GOOGLE_PLUS_USER_ID?sz=IMAGE_DIMENTION</div>
<br>
And<br>
<br>
<div class="my_custom_code_holder">
https://www.googleapis.com/plus/v1/people/GOOGLE_PLUS_USER_ID?fields=image&key=YOUR_API_KEY</div>
<br>
But unfortunately none of above are working.<br>
<br>
Right now Google allow it only through oauth. The same way you get authentication for user’s personal and profile information. But I have made some twist here so you can get user’s profile image and store it on server without any hurdle. In future you can use profile image whenever you want without knocking to google.<br>
<br>
</div><a href="http://www.techsirius.com/2012/11/get-google-plus-users-profile-picture.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com1tag:blogger.com,1999:blog-6023232254649620987.post-74865060620418267982012-11-14T03:06:00.002+05:302014-11-30T04:24:08.983+05:30Get Redirect URL Endpoint<div dir="ltr" style="text-align: left;" trbidi="on">
During web development many times it happens, you have a URL and when you apply it, URL redirects you somewhere else.<br>
<br>
<h4 style="text-align: left;">
Scenario One:</h4>
Suppose you are working on a facebook project and you need to get user profile image. By Facebook PHP API you can get it very easily. But when you try to save image from given facebook profile image URL, you get nothing. Why? Because when you apply <b>facebook profile image URL</b>, it redirects you somewhere else.<br>
</div><a href="http://www.techsirius.com/2012/11/get-redirect-url.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0tag:blogger.com,1999:blog-6023232254649620987.post-65960021359223722212012-11-14T02:29:00.000+05:302014-11-30T04:24:34.406+05:30Get Page Data through CURL<div dir="ltr" style="text-align: left;" trbidi="on">
Javascript AJAX do not support cross domain communication. So if you need to call a web page which is hosted on different server, you have only option. You have to call that URL in PHP. There could be two method for it. First <a href="http://www.php.net/manual/en/function.file-get-contents.php" target="_blank">file_get_contents()</a> and second through <b>CURL</b>.<br>
<br>
<b>file_get_contents()</b> is very easy to use but there is one problem with it. If the web server is using SSL for data encryption then URL will be something like this<br>
</div><a href="http://www.techsirius.com/2012/11/get-page-data-through-curl.html#more">Read more »</a>Atulhttp://www.blogger.com/profile/07837245246892224670noreply@blogger.com0