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!
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 == "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</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/AVvXsEjxBtTqKHdaXtOZz6tO40XYTg34jIyL8tTwwk5rKGCrLVr7-Bh3BPwkYCrNXkB7vijqp-5cl2rHRBP1PZKOSzbDgBr89Ve-KsJ0bE_uMyNEMEgPpyzKTLGi90k4clme_a9Ldr8OelZO728/s1600/smile3.gif'/>:)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcEWbxSfLSvfeHgXqAxWqtPgu0SHJgZfArl70H6YvgVRBfUvHnmr1DMc-PlezKLDiER8B17TZ1RtXg35ESQvq2lrPY6OBaK7Pp6OLjJo7LpNtW6BPA6bJjdj7JDxEmO8zOlIYx1sZgKHc/s1600/sad.gif'/>:(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkksK_7F6hkTavGSuS1IrZE3Q4PKdg_N4yxoxBWeyc57kChKcxxUJu4Ewv8wEMVPC1E04hw7XFcabPFuPZRR4xdbUH_brisAj3nVmdhyphenhypheneFHEegqTZb01SJi3Mb8AsVFEv-z6ri9Ob7DQ4/s1600/taunt.gif'/>:))
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnXDiNriz1DKzq0YSgJugQPyzmnBmwQnY1imNtxKTsvOKR2M29gU9IVGKclGd68XjWCiosSCSVw1AsbEwNj9vKfWgsJMdyg5qCLb3tmWDz1S0AHsEKRSS8xnc1jX1HA28I4jpTvlBC0TU/s1600/cry2.gif'/>:((
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpWVvOfUNW9y_Wo_rPPoEU6wCKf8et-semn4R6IJ-xthzVO1VkURX0FEH0BtgSDzyCGNFFAljHvf4IICFzQLMWCPRxWNfFlBfzml5eBBoZhN_s5qaPsSRdUcGjzTbuRJRbbF_OOks_kOc/s1600/rofl.gif'/>=))
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmq7YhSEcucbUbEw3U0fLfT9ekNDXEXxVRg95MUae4iFr5PPAXaPCydXPYx4yIfqiQTQ6j58vSWTpvYUvmjlbY694DhdbyDgOBChsBwlUknPa8mLCLRuv4b2i12kbHBtzXHiVliE6DZYA/s1600/suicide.gif'/>=D>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHbeF_ros5diphfaSurW1YLfOHE2KPtCv9AZYuZ3lmYzGoajR-zCLeAJpKMh3sykyp2lAxwqKyb11i2lrmq5pzjtzYpkOtGKxQVgTIHmdOXwOQtFlN0nBDLRDWA4mjCOwzByzRD0DJmrk/s1600/biggrin.gif'/>:D
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6FLSt-tkAZFn1OUaSYIz5LHtqLagNSMWzcX_qkKKVWExOT-BWN-7fp9goL9d5ip-7eknTbEcNTJ0Hig81cJNWcPDoGr0yzVcfur2oR00PMl9BfEOaSRskl9g3tNexIb7PvKaze_BnrjA/s1600/tongue.gif'/>:P
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN2VbRsdYHHqBdtH-zC06G-yxpzJEcMEHjP0o3BrWppM1NmOO63aeQ57gBlt969GqrFAyuwjGPpq0O_8G8TmIsyyqs1J-TEmzt5wkVPXyzobRu5Dh3waWPm7WDHyoWURh7ecY2EuT6h2w/s1600/shock.gif'/>:-O
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRyQsoKrFKFe8X4h9YIwAcHV7xMZkXaJWajxqxDuDCehQowbUCftMQdNSOTW__HajT69n18ZB8t4G3EQw1Fluhg-zTDSi0padKBhdn4IEu4Hh18keZbbbOzqOTDNHcjiL7_uwPilHreEY/s1600/think.gif'/>:-?
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbQ22GcWDMiey9Xr9FKSoShuB_VziUlIVxzNVt_mLZnzO4w_rLWSKjuGKLwz3jF_JNWrQdCmBgTI8xdeJviO7mEZqRq2ZWggEE3ZGjy4i0z3hXwrIOvNYl1cu16tEu3yYda9bC_ajnH2c/s1600/unsure.gif'/>:-SS
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY9yG9E_IcNhF4ZkbAy4qXKyITPAN5QmWhEdg8t9kNag_R2CJ1N6ZyoiM_4y21hth_9I35z4vL71mIJlgiN_3n0bB8oznB0CaWILG5JYB2k-jUih2bUV_AgykY0dwr_eXcEGyy-h6wj7U/s1600/flowers1.gif'/>:-f
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDavBG_taiHKOWpfZHYcF2yt8kaE1a-SH6eIw8_baVG7OKtL7ZTs5rB5MHPZkF0xfhGBSc3gC9ChgeGDIQrivVKSiS9KnRSZg1rI0zRQOxfBYTgizDbSuGz66xE0T0wlqBGsjwJndyquc/s1600/doh.gif'/>d(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgptVpXyhICRBh8NeVtu8r4JxeZYXhpr7fIHWbIgs8_ifO2YZ9CdrTdlP5tvunh3XUXeWosOisA0J5C90D6ubaQs59deRoYGI3hB4Um2LdTmcAlrggd-yC6mTAI8IMVpPS6X06umv85ZOY/s1600/air_kiss.gif'/>:-*
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYOBM6cSjxvKOQtXYJWBoBVwj3ALHdml5vAnGN2UBfeC20qv74zN8ahMrgob_Si9XrJKQL2XLXbwsxSQXxm5Fo7-Sg5_oDw4ZiKDarkzpt4L_1JhHfbnTZjdlMrJxdNcsMwh07KFYiPPo/s1600/threaten.gif'/>b-(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEw-RR-b_v5jIUWg3Q7T0lY_d0oeF5WUTsvlyPWxFLA6_ZRcKzXFeAxqYKZVBGw1hyz-Fw-j4Axk3qUi7nXq9rkbTm2aA0nnMm23owjG0V95sTr7d5NFnHGyapnpRfI0knvkFw-J0rskg/s1600/help.gif'/>h-(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzFspAawXoWy_g6PBWHbtVVQYPT1jXQLidTcq0nHddH9W5S0jTGMYfz_Rxoo96Btq7sLhyDKR95QI-k-HaQ8ayGrH-LochSzBcK6ShOWUq8hJUVM6CbUWG5DctmX8OLiVKDlfId0OXZ00/s1600/good.gif'/>g-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2TdLC18E9adOuFT7tSjfuXT3782HxOREsE-CfTMH3xGbxMt4Kz_DS_ElIr-_9rIpBQkp7zAe01kJkJkepRxTjOVKLP0PdBw4aDuguR40aOJh-mD2FVOOWLoJlgq5oecGulOTC1p6xtUU/s1600/beee.gif'/>5-p
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqpdKzCCLnyBN2MBDgzQqbS7-kmMscYI3SUnOwDXPVh88lDvazYtgbQ8hTNmsiIy9oKBYid7rgqApqKL-3MaafmimQW-wSG_Q90oFn8nK2VrIBcEYUW0arxWrgJWYSlTPkJ5wucxb7sPI/s1600/yahoo.gif'/>y-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSKKjtCg_GNudoDQBL5yYMw3NqZf-Py5jRo7WUs6nT8y5V6vJISyvI38dPmVThyAec4OAdFbc7_rwBrdZUNCqt0hfWBQoELUoaHKv-u1ZYksaIeT8SuXfni0BbWtbQs6u24Tiv66IXgMw/s1600/crazy.gif'/>c-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG7ngSJRbgPvnNxdW2Q9qr0aHRdirxN2S1mzXc4grDmx5sZk2U3cZ4bAmr49xabXhSJ4Mn5yAR5cwnMK4etbZY3f-ghDWbTa4zG8U-TXwTsyf-_uLLPI5OZ_mCJrDvAOzUNmFFk2TXlHk/s1600/spiteful.gif'/>s-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJY6wf6DfKBi1c_SWt1dc_gsdRV1Dz7tTR98UQYUovW-4K4dt8KZw5dV5tIUVkwunfD4urLXABDX0TtSm0Wd8nyw41xrsaohml7pxmfrEXJTikcP69tBbcWM6jRnzzyRCg6GJTrDkGD90/s1600/drinks.gif'/>d-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhyo__87p4QpMzauZYCaT9k-TCSZWO1R0f_yBaqeT_tY-qaRsVjDlUC2mcevatriYdz4aLmzO54LCcVjmzkmi7rtGg1qjENfWRH5qABQ7yaSXMiSbowD7nToGUCkFxqJnoDF7tfOFBCuA/s1600/cheer.gif'/>w-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqIeuIb-mZgGZe0ZCFeRU8N3kUMO9cWL8F-Y9ThIKK-iC3p81ZUt0E51O30-YnXNBjTQqRNYYEv4-w4ltCoa7mKT_QmuuWUiz1Nu7ce7MBTnTJ0rHS6WRHbhDr6aqVxgYy0kJetM6O3Mo/s1600/hi+2.gif'/>:-h
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGl30Vwk7uya7tdyS8umxdlHVTh7OvSBjIasSzpxX2uQoeF9mBB8tmZO1M-FF4CRpjI8Q_iwhNruxoIPHH0cnlnBcPVbkrbPjmT1IZwhGUmFScG232YzuHhMxYeGYEC5UM5sr0ufS1ySM/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/AVvXsEjxBtTqKHdaXtOZz6tO40XYTg34jIyL8tTwwk5rKGCrLVr7-Bh3BPwkYCrNXkB7vijqp-5cl2rHRBP1PZKOSzbDgBr89Ve-KsJ0bE_uMyNEMEgPpyzKTLGi90k4clme_a9Ldr8OelZO728/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!
This is dummy text. It is not meant to be read. Accordingly, it is difficult to figure out when to end it. But then, this is dummy text. It is not meant to be read. Period.