Now available for threaded commenting system too!
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)
</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 == "item"'><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/AVvXsEiKAYtv7kl96sshz3CE_yqilOt-cb3hlvKSmryz_L81sfZWuGEp5UMCMiD23gDKzfJLIogH0k-K1sbVoFv0FIaSF9dEpK3d1b26BM71XwS8DCn8ZqipN9b1aoOa4wfFyMDokhzILx7pYhE/s1600/smile3.gif'/>:)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2VCHWnxeZcvoPbhOM6UqxrOVv3BFZQbF_bwd6GUt1uDqVeDAI3PpmsgrlEuGKTbG7_gW3HhdXNvzsRHkMCUS0VSHENpaP6qniTa8P-Hh_M1Ku-5skIhXcpLI0Iq6H58m-oRR6g1JkBs8/s1600/sad.gif'/>:(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdpiO0z7iQn0rHGwB15V1-yG4pMnzJmhsss6TfN8ZJNcYca0VKRS8g61is5WKv1VtNTTMp4-CrGNDi8ks4oECSD5fsmuLs3fkdMbwp4oMr6M-cRlxuQmRiObUUlT5zW2vljlGHYs5JNZo/s1600/taunt.gif'/>:))
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR7uJ0ETb4LItF1le17WGefZFHdw_pogzc93lXa08cXYXvz67HBP-F5wO8ypKXl1jFYE2F8WFbmEHGm0Hla8c1XTKjRRxW5gYE085ljW7Q60u9zwYKJtMeqFnEnnm1117Aq5tuDHFBCmw/s1600/cry2.gif'/>:((
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6ypZqxkz0gGf3dyVzUVVG8bKkzgC-8EBQxLD3kf9Ehkjpe9eIvnyNJP8oeh9U28AqdHIpV5UVLmPBQ1bfEb4RrHD9svMsrxEDDyclcaNjRMorJBAo9PvcjkeM2COKS86XSG0lXg-ppzo/s1600/rofl.gif'/>=))
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghvYB1VzWeZJnFZUsgYAc9QlmKNVCUqaNxu3Kj-d1MUdnZURPqiPT_7_BnO1yfPnxtSWiW2a0E5hpUGAjQXM-CkZQ136VA5QKgf8tCnhqGvC55gcv0VjoEnHn1dlSQznu22FXgKXM-hEw/s1600/suicide.gif'/>=D>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-hjKqmw3PHtSHIRlPnZLwOC4KFLwEpOrby7mAH3DzkN3Cl5AyH7yNwUuprWai1rQnMSoK0wCl_uhuItRwuy9B5QCDfl9RUMxi2Zr_EPYs2QfhJbedlhgETcKPaaqnuXlyBotjWBpPmms/s1600/biggrin.gif'/>:D
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6R3Io3KzHwXFwZhVtQyvpwtn64f8IioEBGyFZl2GmwzvoleTS57YEoGH6Ijtl7FDbHrNlMj7BuKZNhpYReKpBnFZdZaOJt2zO_oFz4TWyTQvzPu4RF3TmFjsaAKnwhA2qTGZGsh_ZPe4/s1600/tongue.gif'/>:P
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFbrRX_JBTgHKnmFZoyOq9fBH-QeaDzFD5AoiTWxrzNY8sjX0FXejobaCMO8iFAVbBjYXFbwSzS1Z2vEF-UswAVFEhbvqxAKN0q08beyuFMJV048gU8pWsiwTsmrKkPRGY-gqLwyY1H_o/s1600/shock.gif'/>:-O
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxiXnGpO3aHtR9xIddqwnzucqkIj2S4lt4sVt_tr9P43bYrpVcxg9pySHKYH0B9Sry8uJPyVY4e8Capomj7nThHsv3uxJZpV9cm59uhnUWDEP1cdPPsTbL7YEKrOxZGq1bD3UwvODXGzM/s1600/think.gif'/>:-?
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzjbC2Ea5yKvpnGWUSajp5o0shgv4yFBoW9k9Xvoi4LtDyRlQ5Ozr9YrwPDzQ7y9LI8ifJQZVg-hnp2P6UUjJ9zKhwcuWM9YOQvdCfO-y2uB8hu_jPYiLMXmMHTMenuZn7tiucjdTLLZE/s1600/unsure.gif'/>:-SS
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWtu11hDcB_MuAuYiUtupWyGcla54WahWm9I6Bsdkuy4qI3IX4_lfmntUkjE-1x_rmMlY0m7Y_bgO8p0n4otV9Y7utx9iMRXyiy_zJv4U-s_hXy8nhfrAM4w5FzGD5vDTkqsDzyRHH-3c/s1600/flowers1.gif'/>:-f
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijk1KvfGcRdg6H1Iknv1dz4LRZAT0qsbIh4bF6e4UYFIwQ5bPiwHgopgCntYZVxDWoOQCYEGmp8cdzAGsdHhn5NGsd-e7UzmW8YNzqf5UuOBI1qdmIQ-_mmE3p665M-a5sAPPrqnECciE/s1600/doh.gif'/>d(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2AQbziv0_gqQ0suXe8cJOt9hHadWOg6LFQp2KzNAv7yzyfQY_UpEcNLUluReQ0AQn5G-XaEfU8Ile9yon7RDwpLx7b72Mdi5ei-bGoaGu7VE3gx7KSnyJahrB3YSxZCAycqhIukuVjIM/s1600/air_kiss.gif'/>:-*
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8xDJxqoeA-OwsY7Rk-lk7CNOMZtwbNbZEgv8hrAHZnBK0nTzajtpoIt9v0eVyvv5pygSw_tevZ8woZWNwofHxCHWLGI8jEyr_cNthBT9dG2O21d3f7zPl4R7R9v1j4CdzymRNR_U_F5I/s1600/threaten.gif'/>b-(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih_2zdo2lFCPW3w8E73xYXbKNMha_qxRUa72bIZlWQP0kfJxuA0viInTFiELBcIgCuF7npHFuejl4YSQZNDonGK7uB9XzyUhCAwq790vWkXCF8AACfeTRqGyXVXBE51-ofeCdcW2OzQdo/s1600/help.gif'/>h-(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0QrYYvQfbmSn_ZfL0Cwv3ZjYuiGvjyRpp9ZOSzb9PzywSftnvK_Ga8oE-9o790FdsbNg2YGll4vbEZtnjmd3r-oLLrHdg8lJnQDKlnVmVP7fA253AeujXMPqvcFgcrmHL3jnqy0LrMno/s1600/good.gif'/>g-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAI5QMFd2-Xfznqo58ayHnqFWWoFq4HR_hgjEajc-uE8FaUhfZ8f6IjHgH0hPgCNXWF-RgS5zcri3es3KLUsC8mklxJrH7vXM0THiDz7csGyE-1-JulDcr4aG048spUifdLnvXzxyD0_s/s1600/beee.gif'/>5-p
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh4rfELGOz0EnY7kq93nUgtGYA293Q9UEereCSG4nZanoXwZfg_jhZn9ZUKQ9XRzYXvVX-qiy-LsYDjHoZyzpIBvnPrFu55fTqT-Z52spTPJOK3fzY8DH4fk51PdBILDUZLSb2OBH6DR0/s1600/yahoo.gif'/>y-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWfrbQ-Sxm_oe5fALeAMNiydLG_H9zaXs3kPRAffBFM6Asfmzd_qf0zR5y4w3EdsagaDNcfG3a-uPpfuaBiQguChkH7RlFzyipTj5XDKFb-KV787Ss4o_xhdKGETjEWYyT8NiH2wW2x7E/s1600/crazy.gif'/>c-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj92rPGli3MJ5taVcSP1QHujnJUejKp4IPEpZuvTOJHjQxb3TYZ_HhVyO6yikx_KumNu3UsinxmqrgcOG-mqT8-3Dq94vlL7M4i0cb4fqw8JYtNp0z51gjt9RT-D8kQwluJSV4oEYGPz3U/s1600/spiteful.gif'/>s-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq6wBYlTgzUXsQcc4XLkAwPEJX1oU1smHe33dYfTOvozxsn7txPeHlCaVMJfIpi_M4P2Te6EQ2oHRntVUKUJdHBF97WCpvt6ev6HqDIaw3Dpib59SLg9FtMdAlBFBLnkmqvmL0_Y45jIo/s1600/drinks.gif'/>d-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibSuBNA08v3XeebWlcgP1nvJEhUkxMN2LYgW-YHpFZ_7Tbt_-cFvcgwMyN6Xdf_U9Enl2LsDxRShlGB6oSv0y5MWHEOjOqgGlT2I4Ep-gHk6vgxq9GKWWP9ZH_ByaXAV0AuWHcE48Segc/s1600/cheer.gif'/>w-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBkwQndJUMbQHPDlniIaODtHL9Y4acacx_toc2kOOkDW6phSzyzhzyBo1zMjwL5OWpdQwVmIuQn0_lGqJqq961QmlDHSGXSL9y7zai2ev1duuRzPeWfkAatjRXQ4Yi9mh8NCSg6-EUq7o/s1600/hi+2.gif'/>:-h
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8o-188lkzm3DWUHgt-erlX2e1zbHQAniiZGT8RZci60vlf4_TOxht7cpnd2fXyYHG24AvWkP7_vOedRuLesxRqnEz03kBaKPRIWtE7IR1NmL41znwI5UQPpE5qMfgOphXqyMl-0y8Lnw/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/AVvXsEiKAYtv7kl96sshz3CE_yqilOt-cb3hlvKSmryz_L81sfZWuGEp5UMCMiD23gDKzfJLIogH0k-K1sbVoFv0FIaSF9dEpK3d1b26BM71XwS8DCn8ZqipN9b1aoOa4wfFyMDokhzILx7pYhE/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.