Saturday, February 8, 2014

How to Add Emoticons/Smileys in Blogger Comments




Emoticons/Smileys are a great way of making discussions more interesting and fun, so it's a pity that Blogger don't support them. This tutorial will show you some simple steps on how to add some very cute emoticons called Kolobok to your Blogger/Blogspot comments, so that you and your blog visitors will be able to have an enjoyable time together.

Now available for threaded commenting system too!

emoticons in blogger, kolobok smileys, threaded comments



How To Add Kolobok Smileys In Blogger Comments

Step 1. Go to Dashboard - Template - Edit HTML - Proceed


 Step 2. Expand Widget Template (make a backup)


Step 3. Search (CTRL + F) for this tag:

</body>

Step 4. Copy and paste just above it, this code:

  • For previous commenting system (comments without reply option)
<!--kolobok-smileys-->
<script src='http://helplogger.googlecode.com/svn/trunk/[helplogger.blogspot.com]smileys.js' type='text/javascript'/><noscript><a href='http://helplogger.blogspot.com/2012/04/how-to-add-emoticonssmileys-in-blogger.html' target='_blank'><span style='font-size: x-small;'>Add emoticons</span></a></noscript>
<!--kolobok-smileys-->

  • For threaded commenting system (comments with reply option)
<script src='https://helplogger.googlecode.com/svn/trunk/kolobok threaded.js' type='text/javascript'/>

Note: ignore steps 5-8 if you are using threaded comments!

Step 5. Now find this code snippet:

<b:loop values='data:post.comments' var='comment'>

Step 6. Paste the following code just above it:

<div id='smileys'>

Step 7. Find the following code (look carefully, it should be somewhere below the code from step 5)

</b:loop>

Step 8. Paste the following tag just after it:

</div>

Step 9. Now find this code:

  • For previous commenting system:
<data:blogTeamBlogMessage/>

Note: if you'll find it like 4 times, stop to the 2nd one!

  • For threaded commenting system:
<div class='post-footer-line post-footer-line-3'>

Step 10. And add this code just after it:

<b:if cond='data:blog.pageType == &quot;item&quot;'><script type='text/javascript'>
//<![CDATA[
function moreSmilies() {
    document.getElementById('smiley-more').style.display = 'inline';
    document.getElementById('smiley-toggle').innerHTML = '<a href="javascript:lessSmilies()"><div style="font-size:small; font-weight:bold;color:#000000;">Hide Emoticons /<a href="http://helplogger.blogspot.com/2012/04/how-to-add-emoticonssmileys-in-blogger.html">Add Emoticons</div></a></span>';
}
function lessSmilies() {
    document.getElementById('smiley-more').style.display = 'none';
    document.getElementById('smiley-toggle').innerHTML = '<a href="javascript:moreSmilies()"><div style="font-size:small; font-weight:bold;">Show Emoticons</div></a>';
}
//]]>
</script>
<div class='emoticons'>
<span id='smiley-more' style='display: none;'>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizWiPT4YDDL9MenaA7V-H6ra5vRd8I5mbIbrbWrv9YmRhvk8sRTs7KA-Mze0vwp2uwqqgwHx5ugUmcuyLv_RfsYMj-vkx1cs8FGouMg3TfNdAYIPrakyNtJR-0yTJJuUJr-5HpDSrYIiU/s1600/smile3.gif'/>:)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieN4B6ykFjf1DVDiy_RPKZ9RHfdlo24egEtWRIJijGowDzTbrvCsioQ3vGkhlX_iO5ESKZR82q_EkcnQOvkbU8dVbPWB9OH18zhl0XTOnArE7r2Zq96AG_l2bbw6fRnGSYg971CLJfB-g/s1600/sad.gif'/>:(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtJRSyZHRoVh5foA0EJ0hhQu6MRetkpOp-n0WWtNooU-5sPzbDU07xwXgxJ8rox_p5g242YpOnAfF8sWyqHMARSG81DML7NC8Yzvb5fNoak17Mu0COpSHvocvPkUkSuP4QZttllOkv5mM/s1600/taunt.gif'/>:))
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvCX8MFEBQFfmls9womzOrW1jNiihoEX4SHsydon_OHX6N_BSiwzu7WbKdBjdoFiL_ei9qRINvZU3uYqGqOnLgtkWj3BojGajfh7EX-5trR8EfAhOZnFsWhXOXvnW-0WDx2TMSX3cjgog/s1600/cry2.gif'/>:((
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhojj5xLGSYwsso55jtKKvJxk5tm5SDC9Nt_taeV27WO_1AvTDtDecbkgo8_mFu9WGK9ySaNKg7wdr8b21Z51Te1E0ama-WYwaTX2TsdVUl_eDNe1ThDdNZpSrc_tw6gvrxQ1KtJgl4-3U/s1600/rofl.gif'/>=))
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQYw-vmtUqV_dDDxMy-V6JcT_11oLYE3KjvyJpksMUpC7j_1Nm_XPqDAPR-IO_WwPHYcLsoBhrWyeOUFfjxzk0h_ZE8uGljEUJRcsopr1-kPL4Xo2Qds_sNjIy5-yd8epcnJVxJLudrsU/s1600/suicide.gif'/>=D&gt;
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLOrlJZWjW7juBtK7mipw8DOPCpnfwihvz-lglkl2DqOrnUWyHtBWkkE8dw16Jd-Vr5HeFYgNQdFYA_XyXJ_-PjHvPQTNs2phpMtPNjpwYvXhJlvgu_uhHlVDbwhfVnuqqsz63YP4ueII/s1600/biggrin.gif'/>:D
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5F0wgtRmm4K3cA_PRi48tWnpVrbb_YHxPiJtlQ4kxRiyUaqtHHPiv1W42kh3Eb0mkU3vMiKrLDu3LyqVV2S8H54-VAbXVcMj2YdtUzUwiEjD90eSH2ipOeYbJBLdSXrKuuFdQpjzP2nc/s1600/tongue.gif'/>:P
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjepOXbAZSwHBFFHCDlwNKDQZgsvcTh-GRA7Vv-HJ0ux41EMLw1wGjYcrslACbsKp4bLM6LxEhBLD-Kt-Iu9JHLykM_bu6ebisg7GUj_r_7JmQR14872NBlE432dTAU3JW7h-plY5RqpD4/s1600/shock.gif'/>:-O
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA1A3j3SJw1F2fn9DOxUTXYCNhplKUq6BC8cdUOiUqCDiuciKNPPYROtbnRdveX5P360r4VloPO1tmjPJkmBM7iTWJybOr5m73ICAbU2QjVXg2t0ARy__MuW7zi45IyozeLURnIh5JmVM/s1600/think.gif'/>:-?
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiWlwWqCwNSllQmMO3IWXzEfGOYt5crXBynwYy1q5_6iwI5OlhN05Zzem9FYXNukpy3jp56G5QCFB3Q4O5sE9cC_q_AhFBmTAP842CBY85jxU21eTwyfM0Y6aWF6OtZuIlh7YMzxX06ew/s1600/unsure.gif'/>:-SS
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQJGquvW7n7_XOkSXLLuzXfYd02G8EiS4e6BH6kafnNjQ5845j9mdrzHLpBVLy44CUtJilJPrSiCisYAuzag8wgSs277e_FBXJmC8jtZNh2CTBJ-ni68k_DzukiSBK2djiaDrJlVExxVc/s1600/flowers1.gif'/>:-f
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC8qMWrCsiixzUC8KL3PM5fByYs1rmYKxhJ0fyMPpvLph9aj5IkeKy1UZ_366l7DZXzLvuP4cTcw0-aWTGo3kV9uOhffEUQe3qercOmIIfMeAC3ACky9mMp8LEJYX6ZFfrlpf0tdXSYUg/s1600/doh.gif'/>d(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiImSdBxYX6ynSfyzuPtia4IcBnzGdv7AFaE4Rbrmgc1QC5LgkeBocoWyeM1JsDQU6D0QWeUor10_1b5USa5AlfNYugE9VcmIUFRENZku5LQxMZrgiMj0W-Vg9TrQMsSD2x-go9qOXLT6w/s1600/air_kiss.gif'/>:-*
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizh7KaNaHPUvwp-n7x9vA-KSIWIJHlINxKWyqzixCw_bmuJCFkH5wuqfbnOCGVZWM8vpr_UekPc5yqqbvxguYuTuMgAT3HRPSrOkseZ1v4XeHWm7kcBE04_ZLjvACJ4mncETF3agccLCE/s1600/threaten.gif'/>b-(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOql_HROszfsbWtNmDOogIn-jHdLHmwH7_BIu6DpNEP2uhjUx4w_iYdx_uZtvqqMthmsHQbistPvkEpWyne6rCBkca1-HtlmAPrN4CBnPdOxksLyb7u2P9o57gI8_k0qvMyx6kXnqYGeQ/s1600/help.gif'/>h-(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrFWsOgUZZGo3gv02BNyz0Sp-VOy6la2imHVbksPCc8WTC9ONviMENcExyH-S2IF2Iw2s5yedxWuW3IRZF-PJi85WdJH7sIAlTMyQ7tkWgS1St8zn8DEFJTO_uvJ6zY5xOItr7DEdtOUo/s1600/good.gif'/>g-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFhhHVBGaT7SFres6MmropX20okrLsXQP4YLrVacH-zUhZtO6B8kUMA6sBagT2cXFVsMwdI0xKtHZYrJ3CiTZsUie_jbFv_fdpHL6fwhT4BS4sBZiv-W6zlg1YCqj3mym2Ixq2ftPHH68/s1600/beee.gif'/>5-p
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl8zfELU1sU29AaLbm87GM8gFtfYgSIhfIb_wiK4iMPSRPsmrlZFsrhZk1AhVt9YpMkTiv47_OKRFWSSMAmst_9v1j-OBuxk6kgcIW9vvtFVlj58uZ0GQ9XsS95Jb5jcDVDj-2J5kzI_8/s1600/yahoo.gif'/>y-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxlzVV1SFwc5q0U8YUr8ZU54U4G0H105hneqLTY2tJ83wv_mKO6OYyWr_9RWFa3l_U-cvg4kBkWzJUGSgWgV6M_haW7L4kdsCyaBOaXr5YvcfsPd-XGC_0u8tSubqYlaF4CHx6Hfdd4Lc/s1600/crazy.gif'/>c-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEie_cC-HCGfDMQKYViVxyIqDs9zhQvtx7KVK_CQBgOeeZC54JECsiP5emCJmJQN1TP2_fC-4K26ofvj-j6g6pLc6mRSsbUMVhIX16VfEX5gkjtXBMjeF7tqTAEFohOcato14QLmS0XNMUQ/s1600/spiteful.gif'/>s-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgASnZjHmRFJgnWYqkPszOKIqrsYioHpvmioAH2iqFa9xeNyPNaeaBA40_bp96zViC1p5RI3uhTfwQjcHK3kNoIhFMwYZp312eJi_hfVvzHV1jzVLyLTUd5XzeGAEuV1Epb_LrvkSRrbsI/s1600/drinks.gif'/>d-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiENFaEb17IVGGW-efS7aLultxGcFL2ziP9Dsz89gY1Zd2mLiWZ4zBtWJvQuUR08WLK5GoKex9MV_X-uDaDbZF4Mg1L8K0Cp9M2ihQ0X8MC6F71M2ewA8r5eetuue77qF6YmHRbOm-7H-I/s1600/cheer.gif'/>w-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoUNnMe5xtIPWrt9d79f0Qoh4SN9ooH2L-VXb8edI6Az2C7oNjB2vvzQFQdXG358ajaJ0SXgRJOGeh22CGEVo_2G3bWQZouX9hHKYKDqUjWRB-fORtFqKOmHLeHwSNXw29m6hz-WjxcrE/s1600/hi+2.gif'/>:-h
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3Un9ZYM_DWsrQ_J8RHpUykXrLhvO2f-bKBdY1zkxVuHW3SNzCXo454NNpAm1apA0T3UsRKxi0F3ae6vyvOm2wIM5G-eKACjNbnKjZsn1DaGY2PRziGlZCiKHWOPucyDg_ejIDyZSC2GI/s1600/give_heart.gif'/>:X
</span>
<span id='smiley-toggle'><a href='javascript:moreSmilies()'><div style='font-size:small;font-weight:bold;'>Show Emoticons <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizWiPT4YDDL9MenaA7V-H6ra5vRd8I5mbIbrbWrv9YmRhvk8sRTs7KA-Mze0vwp2uwqqgwHx5ugUmcuyLv_RfsYMj-vkx1cs8FGouMg3TfNdAYIPrakyNtJR-0yTJJuUJr-5HpDSrYIiU/s1600/smile3.gif'/></div></a></span>
</div></b:if>

Note: Ignore steps 11-12 if you are using threaded comments!

Step 11. Finally, find this code

]]></b:skin>

Step 12. Add this one below, just above ]]></b:skin>

.emoticons {-moz-background-clip: -moz-initial;-moz-background-origin: -moz-initial;-moz-background-inline-policy: -moz-initial;text-align: left;width:400px;}
.emoticons a, .emoticons a:hover {margin-left: 20px;text-decoration:none;}

Note: if you want to change the size of the emoticon container, edit the red code.

Step 13. Save the Template and you're done. Enjoy!

If you have any problem and need help, please leave a comment below.

3 comments:

  1. Great post full of useful tips! My site is fairly new and I am also having a hard time getting my readers to leave comments. Analytics shows they are coming to the site but I have a feeling “nobody wants to be first”.
    Tropic Diva

    ReplyDelete
  2. Hey, great blog, but I don’t understand how to add your site in my reader. Can you Help me please?
    bandar slot terpercaya

    ReplyDelete