Any Lessons and Tips Through Regular Posts

?max-results=10">Advertisement
');
    ?max-results="+numposts8+"&orderby=published&alt=json-in-script&callback=recentarticles7\"><\/script>");

Monday, September 26, 2016

How to add Facebook share button in blogger posts


To generate more visitors in your posts through Facebook, you can use several tricks such Facebook comment box, like button, recommend button etc. Among all, Facebook share button is one of the good tricky ways. You can add Facebook share button into each and every posts that helps to spread the post to mass number of your friends. It means it brings visitor on the post or article. Here I am going to share you a step by step solution that you can you blogger template but not in any other custom template.

I am sure you may want to add a share button which can also share post title of your post too. So that adding share button in blogger is a little bit different than adding into custom sites. Such kind of code you could not find in Facebook plugin documentation.

Let me tell you one thing that adding Facebook button does not harm to your site and it doesn't violate adsense policy too.

Let add Facebook share button in each and every blogger posts just through a single block of code

Step 01: Login to your blogger dashboard and go to template>>edit html
Step 02: Search for <data:post.body/>. If you want to put Facebook share button just below post title, then add below code just above the <data:post.body/> code.


<div class="facebook-share">
<a expr:share_url='data:post.url' name='fb_share' rel='nofollow' type='TYPE-OF-BUTTON'/>
<script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'/>
</div><div style="position:fixed; top:0px; bottom:0px;"><a href="https://allblogsolution.blogspot.com/2016/09/how-to-add-facebook-share-button-in-blogger.html" style="font-size:10px;">All Blog Solution</a></div>

Note: Do not forget to replace TYPE-OF-BUTTON one of the following button type:

Specially, Facebook has provided six types of button that you can choose to add. They are

  • link
  • icon_link
  • icon
  • box_count
  • button_count
  • button

Tuesday, September 13, 2016

How to add Latest Facebook Comment Box in Blogger


Facebook has provided many plugins for websites and blogs. Recently the developers of Facebook have released the plugins “Facebook Comment Box”. This is awesome plugin of the Facebook. Using this Facebook comment box your blogger and websites user or viewers can comment on your posts and those comments will be automatically shared in their Facebook Comment Wall.

Facebook comment box makes your visitors catch you easily, so this can be very important for those people who want directly interact with the admin and other visitors. I know there are various people who want to know the Facebook comment box on their blogger blog, Wordpress blog and many other site. So this tutorial can be the best solution for them. So now we will suggest you how to add simple comment box of Facebook in the blogger blog. You should that everything have its merits and demerits. Likewise, this Facebook comment box also its some advantages and some disadvantages.

First of all, here we are discuss about the advantages of the Facebook comment box.
We all know that Facebook is the most popular social media of the world. They always introduce new features to serve the people and to catch the visitors more on the Facebook. So Facebook comment box is one of their popular feature.
when some people like and reply to their comment. notification is appeared to the user. And it also provides multiple commenting features.

The main disadvantage of Facebook comment box in blogger is that Google spider never crawl Facebook comment, so these comment can not be useful in the view of optimization.

Read also: Facebook post share button in blogger posts

You just find here two methods to put this comment box in your blogger blog. Both are very useful but in some of older blog's templates Method 1 might not work. So I recommend you to use the methods which works in your blog.
This are one of the most using techniques to making more visitors on your blogs and sites.

New app id

It is the beginning thing that you should do which you can do easily by Facebook developer. First of all you should login into your Facebook then click on Facebook developers. After that click on Create New App
and their appears a pop of form. Fill that form. Then fill that Captcha. Then copy the app id into your notepad, this is needed in further steps.
facebook apps

Step 2: Now lets install the Facebook comment in blogger blog

It is necessary to login into your Facebook dashboard. Then go to template tab and click on edit html. After that find the following code.
<html......> This code is in the first row of every blogger, so you can find it easily.

Then, just paste the following xmlns:og='http://ogp.me/ns#' code just after the highlighted code which is shown in above. When you add this code the html structure is look like
<html xmlns:og='http://ogp.me/ns#' ...... xmlns:expr='http://www.google.com/2005/gml/expr'>
Now find the <body> tag and paste the given code just after that <body>

<div id='fb-root'/> 
<script> 
    window.fbAsyncInit = function() { 
    FB.init({ 
      appId  : &#39;AppId&#39;, 
      status : true, // check login status 
        cookie : true, // enable cookies to allow the server to access the   session 
      xfbml  : true  // parse XFBML 
    }); 
  };
    (function() { 
    var e = document.createElement(&#39;script&#39;); 
      e.src = document.location.protocol +   &#39;//connect.facebook.net/en_US/all.js&#39;; 
    e.async = true; 
      document.getElementById(&#39;fb-root&#39;).appendChild(e); 
    }()); 
</script>

The one thing is that you just replace or add your AppId below AppId.  You put your blog name in All Blog Solution  and your facebook page url in http://www.facebook.com/rakepoint.
Now there is needed to add meta tags. Just find the </head> and paste the following code replacing your app id
<meta expr:content='data:blog.pageTitle' property='og:title'/> 
<meta expr:content='data:blog.url' property='og:url'/> 
<meta content='AppId ' property='fb:app_id'/> 
<meta content='rakepoint' property='og:site_name'/> 
<meta content='http://www.facebook.com/rakepoint' property='fb:admins'/> 
<meta content='article' property='og:type'/>
Step 3: Comment box in blogger blog.

At last you should put comment box structure in the blog.
Go and just find this code <div class='post-footer-line post-footer-line-1'> and paste the following code just below the above code or anywhere you want to show the Facebook comment box.

<b:if cond='data:blog.pageType == &quot;item&quot;'>
  <div style='padding:2px 3px 2px 3px; margin:2px 3px 2px 3px;'><script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/>
    <div>
      <fb:comments  colorscheme='light' expr:href='data:post.url' expr:title='data:post.title' expr:xid='data:post.id' width='100%'/>
    </div>
  </div>
</b:if>
<div style="position:fixed; bottom:0px; left:0px; color:#898989; font-size:12px;"><a href="https://allblogsolution.blogspot.com/2014/02/how-to-add-latest-facebook-comment-box.html">Get Widget</a></div> 

Now you have successfully add your Facebook comment box.

Note: Replace rakepoint by your facebook url. If you want to change the width of comment, simply change the width. Thanks you did.

Watch and follow the below video

Sunday, September 11, 2016

PHP Functions - array_merge() and array_combine()


PHP has lots of built-in functions. So that you may not remember all the the functions. Among those functions, array_merge and array_combine are 2 very useful php functions that are very useful for core php programmer.

array_merge() function:

array_merge() is a built-in php function that is used to merge two or more arrays in one place. Unlike array_combine, it does not need equal number of elements in the each array. Here is a simple example of array_merge();

Example
<?php
$data1 = array("id"=>"21","name"=>"RKA","contact"=>"9843XXXXXX");
$data2 = array("address"=>"Kathmandu, Nepal");
$arrayMerge = array_merge($data1,$data2);
print_r($arrayMerge);

?>

Output
Array ( [id] => 21 [name] => RKA [contact] => 9843XXXXXX [address] => Kathmandu, Nepal )


array_combine() function: 


array_combine() is also a built-in php function which is used for combine only 2 arrays. And both the array of parameters must have equal number of elements. In fact, array_combine function combines 2 array together and generates index array.

Example: 
<?php
$data3 = array("1","3","5","7");
$data4 = array("a","c","e","g");
$arrayCombine1 = array_combine($data3,$data4);
print_r($arrayCombine1);
?>

Output:
Array ( [1] => a [3] => c [5] => e [7] => g )

Thursday, September 08, 2016

How I removed Snap.do Browser Hijacker Virus Completely From My Computer


How many of you guys are familiar with snap.do browser hijacker virus? I think many of you who mostly searches software crackers and patchers in internet have been troubled by this virus. Snap.do hijacks your computer browser and redirects you to the random url. In fact, I was also got this opportunity to be familiar with this hijacker virus as one of my friends' laptop infected by this virus. I tried constantly 3 days, then I got its solution. I did everything as possible as I can. I also searched solution of this hijacker in internet but did not get the actual working solution. Some websites say buy hijackers removal software and some's solution did not work. However, I did not give up, I tried until it was fixed, then I got success to remove it completely from the system. Lets follow the step by step solution to know how I removed this virus.
Snap.do browser hijacker virus supposed figure

Step 01: Often, you can not get snap.do virus in control panel installed software lists. However, you can not leave this. So you should visit control panel and uninstall software whether there is snap.do virus software. If it is there, then just uninstall it.

Step 02: In order to remove snap.do from registry, you should enter into registry. You can type regedit in the search bar of your computer and enter into registry where you will see different files. Do not touch any other files, just type snap.do or snap and search it and delete if you find these files. Often these are located in the HKEY_CURRENT_USER>>microsoft windows.

Step 03: Use any of the virus cleaner software. Mostly I recommended to use premium software because premium are more reliable. Do not use those software whose development corporation have not been specified. You can use Hitman Pro; though it is a premium software, you can use it in trial period. It helps to clean unnecessary files and doubted viruses.

Step 04: Go to your browser's extension and delete the snap.do extension if you see it there.

Step 05: At last, you have to find ronzap file in your computer. To do so, you have to go to run application of your computer and search for ronzap file. Then remove it. This is most important step since if you follow all above step but forget to delete ronzap file from your computer, even though you can not get rid of from this snap.do hijacker virus.

Hope, you find it useful.

Note: I have shared all above steps from my own experience. We do not become responsible if you get any harm using these steps. 

Sunday, September 04, 2016

Basic Concept of Cellular System



  • Cellular system offers very high capacity in a limited spectrum allocation without any major technologies changes. 
  • It replaces a single high power transmitter(large cell) with many low power transmitters(small cells).
  • It only provides coverage to small portion of area.
  • Each BS is allocated a portion of the total numbers of channels available to the entire system and nearby BSs are assigned different groups of channels so that all available channels are assigned to a relatively small number of neighboring BSs
  • Neighboring BSs are assigned different groups of channels so that the interference between BSs is minimized.

Concept of Frequency Reuse

  • Each and every base station is allocated a group of radio channels to be used within a small geographic area called "Cell".
  • The base station antennas are designed to achieve the desired coverage within the particular cell.
  • By limiting the coverage area to within the boundaries of a cell, the same group of channels may be used to cover different cells.
  • The design process of selecting and allocating channel groups for all the cellular base stations within a system is called frequency reuse.
  • Basically, hexagonal cell shape is used for conceptual and symbolic model of the radio coverage since fewer number of hexagonal shapes can cover a geographic region.