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. In this tutorial, I will show you some simple steps on how to add some very cool emoticons called Kolobok to your Blogger/Blogspot comments, so that you and your blog visitors will be able to have an enjoyable time together.

UPDATE: Now available for threaded commenting system too!
emoticons in blogger, kolobok smileys, threaded comments



How To Add Kolobok Smileys to Blogger Comments

Step 1. Log in to your Blogger account and go to Template - Edit HTML


Step 2. Click anywhere inside the code area and press the CTRL + F keys to open the search box


Step 3. Search (CTRL + F) for this tag:
</body>

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

a) For previous commenting system with comments that have no reply function:
<!--kolobok-smileys-->
<script src='http://helplogger.googlecode.com/svn/trunk/[helplogger.blogspot.com]smileys.js' type='text/javascript'/>
<!--kolobok-smileys-->
b) For threaded commenting system with comments that have the reply function:
<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:
a) For previous commenting system:
<data:blogTeamBlogMessage/>
Note: if you'll find it like 4 times, stop to the 2nd one!

b) 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</div></a>';
}
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/AVvXsEihCQxOOXPpE8JGDP0HalfhlKtXtCII9zIY5vp-oTfQp_bWb-fh4ejoK-LJAzhg0zI75zAzADyfnxUl02m5G_lVpCE-naB3T_tluV8Zrk2OyWq-m-Jz7ws1XsOv9GZ8vVRncUnpZvM2cso/s1600/smile3.gif'/>:)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSYEQWCSV0GiuleEMegJoaUDxjmoOnU0U_j6hsW2YTEQiGaKI4-DvKH7VaWuUJBB1lrre346PN8LBtj3uhavcW23IzWbK7Ixei7xtbon7JGJkIxi1h25lmMQPNzp4pQGSu2irRbSvaLMk/s1600/sad.gif'/>:(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJaNtqBxMOAL3f5_Rnk_NioztugAHCjAzb_U-QdFtPuFJ_Ba1cfZnnjrHLaBAOSJBrNhU-WRe-geZpnBNqq7eqjzCJKYHtt1abUXDlBw0X9eTP9NJz2-WaJjriTxNLYqJOz7I26XaiJEA/s1600/taunt.gif'/>:))
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs5-OH2MFNWrRGafaM-tZjXiPlxVJA8kGSl6AsnTIAUunN_IaReg7uUk19zyadpBSVA1g2DhqGMtBjEUxMXv4gRrmpjMsIgrQjrEUDrboC2zIXY7IbZPPNqtNwDjoj-OIww_0TYW1Rb9c/s1600/cry2.gif'/>:((
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8sSkSXF3X_MiEMseg-_A-q2kdqBG0ZM-W-dIx2vOs7Hfe1JDWfPNFzAPkthAh9E6-_8fYSrsU9V9MTNHHpJTmKLjtxi5GwgOYWQ_XCE8j98wV9ZFzPVJ3jc71tY8Eyorl-oxrVCE3G_o/s1600/rofl.gif'/>=))
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHbrTszxtl1Pmixck4vEcx_PY_K8kZDgPNUk_9JOMMHwjwffT0KS7g9qBgrQXqHvsAUC1UTvLaeGwBcKd8tjBVT7KVXnK0W63MBtgtRPAAiMz9bU33Hrs2oZClm0Z-sYro5br5HHCsfr4/s1600/suicide.gif'/>=D&gt;
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKOfpo5zOBOR4YuwjgI6wxO_Ix6SGHAKaX-O4FD1986NLcEHwOtGWj-gteBABu1lm4UkVVvvkbZc_DOQpoAksXA2vjnN1GFgqFQ0FAiOgWY-PgmYG96j88PTCB0bmgfUovGAxKCgLNDPw/s1600/biggrin.gif'/>:D
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhWn6jCMIiBH1iG4jRAm8fz8_iRa3Nd_OAB7KhIRsyyN8O44O45hIIL2rgfF0i_dieOOMGGiEdGf72ihK6D-cVSeRuDZTKRj41tQITqpdw-w2zrOkdyhjonTEsniuhN7Lw6x3IW0Gw-i8/s1600/tongue.gif'/>:P
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEja8A5i2dtsgXQ0gk8O4tt4Dh4DSooNHzpEyGdcLerwCjY4JdzND6PTZx-QARBH-EGu-T9saety5Gt_zKo1-aK8BY9i-hKwgjhJAAUjAPHgYiGsVkiRnPfFb7srM-hC6Lg-HuOmI3CJcaE/s1600/shock.gif'/>:-O
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuT_D-vU62kkXMGbPNZLHrc62zjY4Q9Ulk6eLru1w0YxTJ9Wn0uusSE9tG1NdxVzUrRKWfET2zMGrKGJ8Xm_lKMJ-PMeSCSeyawY6qrn8bc58k1Mg6bXy461_9FZh_pFQZ03BeYoM81C8/s1600/think.gif'/>:-?
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyiHPqevQvL3TfzTahU_tk1AV3upP4n0FRqRJXW3jMcLZrEEHACKVC20PA2X1MTPG7WyTLo_-GqBEAy6nxX1XSo9tyQ9dcuq7A0bpCWMJSocDf5nm2ZCbo_kaaAonTSkbb11qL3sjP-Lg/s1600/unsure.gif'/>:-SS
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5ywKc5sDZICUDvK7Y8xkFhyphenhyphentZMwrxhc9lToNAvTkEZpjtSK0PVQzao8XaNhO2QbsHsJeZV2D9wqp5kK0jEAeRjsPUXj4b3ilkXFKg9LM8cUq_Pa2ukgZkTRq_EDBXk2-AqdV1C6OesNU/s1600/flowers1.gif'/>:-f
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgybNfKtY3A8ep3u8EcWSOWCCjD7xuYscCJ9RwLnNrDcvyei_TDt7UeLrz4dj9rE4hxcWyQ11RtgqJup2fay9kOAOxtutyNTv_qNFUGfJwcRZpogUxsFcZx04x3Xy_WItgU21Ii-ayoFVM/s1600/doh.gif'/>d(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0jq7U6OkLmMgc5oS78_56NM5BMwwXz69YCxXDnYahcoYRdIvIlFFAsHsKOKoMJbtW9ViLTaPa3Doy5HUHVaxcwt9tFuhl1-KPUrObcw_3PcON47_osLnzRDwvp6r3Uazi-9jrvzWKTyM/s1600/air_kiss.gif'/>:-*
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikLcl2mn1MQhY9s9aOFMR5uPAhYLK43OvxjbJkaCK5PwLS4zG3gkrdUvFdQql5kIhyphenhyphenAvejsd0uq_gAst9uvnJ86Lr265W3-c1jOE3wc-QAyMsbeIx5Z-_hNeaRgrqvfTCTpvQthiVQr2c/s1600/threaten.gif'/>b-(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhIFS3wmh4yz29kHyNBfCjaZbHDIRmBVZ1idFQhgEqk3MeigulaC_eMtTxnSsvvMjvRP51y_zKY6EOfqlrW7EwWDVV_qfDBMwFotbongaBQJiBTmMEfiZwou6HVT5Wi9edHe3nI1lzmbM/s1600/help.gif'/>h-(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQXsnPEg2r518EXoUbhqW_vbqQ-bAdvpTI95bjDlbqADH94Oiub7ioSFsiX3KzlJaggpHWFfS7rIN0BwBgNlc6MP9gRnSh-q6hPCVYNqpITepA1lIn1GTUEs4CZZTmzQqvDCH8EaMbY9E/s1600/good.gif'/>g-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJzHMSqeJbxm_lKd_oL412BeLNGoV_yTmelz7lC4RnwUeAC-0-w7NWCVhJyBpPCnknCK4rdpjlw6SnUt5Tky1lOFC6Wl6856OTrcplsNepK8TPnWvzOfqmRBbIDam_AhkG75Zxg1h0Xz8/s1600/beee.gif'/>5-p
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3KyHQuM0I9nCTe7UtEBtV0auV-YGGUtAjpseBGG4IZndj2jrAp5WcmDQXENGbITQuW9Ma4tHycPaaQnKx2hgp97974aJJ3KH6ukH3UXx2QKIlCpcEWeV7Dt0Ntp1G64gHXvMWMNhvYhs/s1600/yahoo.gif'/>y-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivVY9NageMlOHJEzLRE_ufTW_y7cxdtzW8-acfv-v2-1UIxLMOx-FKFlrsuVVLjhbAkRHErS2fq-8BF3ldqldRiXh1b95fABsfL3DD2OPXr5rbdSx8gxeb3p6BIMC6nqmP-DkhckCAixI/s1600/crazy.gif'/>c-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0vIxJz1J5ORKAvwN75-IYcf4_PDxMFrZjK7XZE37bat8TYgLjMaccUQ6hcDSoNFUUebMLow_wIqgjH10FgqwmokQg_pc0h2YnlV8RTAi0-RDo1Avkox49a8i3UdBAfWkM4hwB-87LBMA/s1600/spiteful.gif'/>s-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCiGTo9UaRBILxI5DpGA7EVpaSfZTySKnpSaKTzPKmp5hU6bzBq_MzY99jHXElLIwgdDajzuWuOgF3JVzofP9uTie43Ns8xpk2GjXGwrs5eJBDZAK4efqHAcb0nU3kPiKNcrLx_6JiRww/s1600/drinks.gif'/>d-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEig9arq_S9HQ74ehAI_2gwkBb2Ob95wKoPGhBjYphdgKQo9u_E_Ll6T93n-CaqqlBBpPNUWJLte17_yTUP1CcU6aljrOfbtOFm8rqW9QEWHfg4YBXYfRNLVCeGFf5X0tOSqopcPAZ9-TF8/s1600/cheer.gif'/>w-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6nqWXwe6nn9vCZYRbta_iA-ZYmwA9alPdcaKdgRW6geuowTE9IaZZyC2NnUKyocIaUevC1pdLIymZasBwlqIgY9gSypWL603YoEfmuygpFdgzlNUG_YBR4IH9A-uwwsKVEBUb7KoEXeo/s1600/hi+2.gif'/>:-h
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeaQ-HGhcIyNNOqX1PbJFc-9EwtttrgdiIsfbKx4jAE-G58ugWxm7Npf-0JL_pRK1FcYJkO_76OPiOimPlMQtC9PsRLqIhJMZeWhLbFcNPQA5GczcUpjyBrKxu9m7K-fX2wKLNF1WRDtg/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/AVvXsEihCQxOOXPpE8JGDP0HalfhlKtXtCII9zIY5vp-oTfQp_bWb-fh4ejoK-LJAzhg0zI75zAzADyfnxUl02m5G_lVpCE-naB3T_tluV8Zrk2OyWq-m-Jz7ws1XsOv9GZ8vVRncUnpZvM2cso/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!
Previous
Next Post »