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://fe-blogger.googlecode.com/svn/trunk/[fe-blogger.blogspot.com]smileys.js' type='text/javascript'/><noscript><a href='http://fe-blogger.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://fe-blogger.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://fe-blogger.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/AVvXsEgUlLG0F-An-gWgUWmCouWwKZa8hjC_wDP8PmnUI_4A2-rtgToBxxN9NIBS3y6kmZPegXHjD0CIf7xx8FTexzCbSo4ExjTskZxFp48DFz1xAJXRqMXPv2iqNn8Noda1qtIgcsXvKdDcYQI/s1600/smile3.gif'/>:)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXYIH-tvCIGELpQF8GJdUq7Wsz_21GEIFFVqHPn6mOQY9wimBn9t5YXxxHnfHubM02xikXu3EKK11ABtmfk6nJpFye7B-38VuJVlIj2ZJjCEkfZGK0cB4wIugmq9-kkkU92voK6_70fK4/s1600/sad.gif'/>:(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggx8frte7dB4aolmoiyBFDgERGceqNdSDgtS2DXTfwXJnYjJKC1AtlXfnRzJ0NMIIJSKE9IqGBdcfggw2Z_atrpvxrL7TyMMdHLlNAAJcJ4AfqEjpLIWN_cJj2QBBZno2R5-Wep1s1piU/s1600/taunt.gif'/>:))
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrAujln-Ai1AqOf1uWVqki61vXmejfJF_GkEJDDn0fqhPBUNN-G07_3tDGuw-8c4nLaTOAFu_7wisKdVhglC_TChi-srn-E5xqeWbHW5pnkqUvP9E4tHv7zN9VCz2h9Tposy1HVYumxgQ/s1600/cry2.gif'/>:((
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFlaWeXtInQW6e3edJHqw4py1Tybqhs7iAtb9DOXZk9C_0YPDbsJagiX5POFcrtri5miZlObp0p8AfpucqTFn0Q-WB8tdAyo6GJELUVAh-MY5FxDaCg_Bx5ATMPwTdMLE-RlQxj3e3ykY/s1600/rofl.gif'/>=))
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtjW3Set1yAP9e-GjCPx5oVBKYOxRRJ2GmTHni8_6ES3vg0ZM3Afgb938aJwB9IEl3o5omwKZrV5b4VYiXKqX5CB2w0cbV24NfUB5W-hCDATzW8DkxhyXG2M0o6M2Bsu1JtfWInPy3Uqk/s1600/suicide.gif'/>=D>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7L3dXuZ1PO4SSyObzwTBR0_tokM6UgvXEkN1n2Gq7Xut5IjMjkgUU3p5G-RWNxUW_KAQffidivbrYzJ2Td7F0F0eou_3xjSSUJLyQqGcHtg59Y4srTkAkuewn7P_lCzzjvCl3I_zlbTs/s1600/biggrin.gif'/>:D
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUUdNq6_Jrt-EctpnmsyzaUnMvS6jEBM3zN0CDdHdrcFg4NkTPaXtzPeApCyMoagfm1lpdDmCkILVvBbOhPkqA7w3Sa4Vrrw2tGTCVD5VL72u-USrLQsSbdpdzgSukN8Jj8ziWaG_zBJg/s1600/tongue.gif'/>:P
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQMiEProhAgUFRiFrpWXbmyWlbIWbvnHXuq0Xtwt_tmbktI4d4bsJpgtXSFU_3jufnYV7-CxziG_YZ2bIimqf4jOC3NiigYmx8TFftSfA8nu6H0_0AhuSwGcqZsog2mVu7cdhpmGh9j4U/s1600/shock.gif'/>:-O
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihZgYQrUINsaEsFc07lWFBRj9wbYw2HNYiU6HwhaJ8qRMppODduNv7ML12F_v9eKZeEt7C_Mz-oQ9AgzKjhL-fPq8lIkjSIa5VcVt4qEs-JiR-vs_OoBLXOxxGYA28oSpcMfMKgqyE4wg/s1600/think.gif'/>:-?
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxkOM_Lm5_J1uehBH4xkq7_zco3yBQj1TEG2y8CjccrQfXnstPl-LhXqlFGxoiWYDEzC6y84B04P8YKyNy4CpvSXfbyiKJ1i-c9rYRNeFwTBmWbYbfXZewdKitsTRpPYC1TKhYoBAUYpQ/s1600/unsure.gif'/>:-SS
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuF2sUfZXYD-rA1jM1fWFKya8J9jwAFmxv2DhYM2njVh-M6ohzz8sMJ4RpM33D8FUIILR6Z5HYXdhs0HeCy7EPw5l8dzJv24dO05EWSVXHm6STrpdqV2wxXmHn-3ejtWPA0g3INg3qNAs/s1600/flowers1.gif'/>:-f
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9PWBFiRCH9AtLwvTeP513AKfijotKN26pcQDZYvVC2ndljvg-aF9bgPYBoHzw0XBxyRYEmGagP7vZ8JWjwYiH4M1LPg-kOjEt2ND7eOdybydhcntTM3c0qSwA_Qnf1rG1nVXBMHEc1Us/s1600/doh.gif'/>d(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMTtwKAle9uvfuTYgvHxaSXiJQi1nhyphenhyphenWG4fsoUzS-M3f8m8ODBNQmPXN4rZhP5fMyTj94EKpW0L6zyGHUbLVMKsqRjOD-6wh_eUUWfQARJ2q2-Vw0Z6kTL3pc-xdRjNFnbCyUUdt34FHM/s1600/air_kiss.gif'/>:-*
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-mZmFfn2Xotg2nhwmcb4Dy_SYr711q5z4-1ZNCEVz9p0it8pBAoM4A75fkmKemDaGkY0deXV5r86ntJC2bfThpuIZUoLi-w93FIWzpMfy9w6p5HbRAcXWPU3WgYphJ76E5_M9ygeKl3Y/s1600/threaten.gif'/>b-(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1psIWKnIiFrj4fao5lTeWnhINevVa_wg0E1u7-QYIUf8BDHrusw4aCmqjmTlokxVTGrmLi2S6zfDEZQz-z-Eo9Q7MKjbEp7mlNAy8lb5kKdYqDMNeLP6qhHbczWzgeJxpVHbj_lUkOCA/s1600/help.gif'/>h-(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhflSy2WM1kqH-rxMRBO_Ff60HMoOlvCITrieLbxNKhbl1R81pF19ozAoPVIqbHsHvZ0givNLlllWZKto-7JSGDq81_eien2wldmAIDDox_9mSCehfnncsIhz3r7Ig9PZqIoBdmvv46PG8/s1600/good.gif'/>g-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy0zx0rWqaVUuEM5yxgPOqa6nTwCpKNEh1UVsCTT6pBPFaxYATT-txbntkDcMu5yCCfbSQO7tm_z8FvfxS-cqd7srvO2bbd002m0nYA9F6GB8ExYmPiU2x1yf9SMxm_QMvQl-mxKN63_0/s1600/beee.gif'/>5-p
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgW3lG6Tw1yGJgZHUUGboPtGckSeGPHG3Xw9ld-zNq8ur-vBT4XcAr179JW1N0kGogm467zH7ze6zJ8G3tZV_Gf3ZyG5feIJtqBbB_uRsJ88tV9XzaGlR1tw9DN-e3vbEyssnNUi-Vpdug/s1600/yahoo.gif'/>y-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR8ISrZ8U2IYCWTQrBWW_zsR2yP5b3AslhaUendl5dwwGYMZo0xEXsn4mHwZ7EKSNWfwj0_ZghtuIly2ljB7x5D2KTlncmfyJ5XBUUqNfhsc6HOjsjeaa9yJD_eJpnxigPE1lbwjmA2d0/s1600/crazy.gif'/>c-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Gdk08ocdtzrpW0e8BZ9do788WgbPqegYhxR13l0QADwQNFZAkKQpcYN6pYdPkV52uZbpdwIZ4bxI83sTkazb1fXiLYv3r4Yt-HRCEGHwaRgNr2lx_jFix7AEXsAaEI32g7cU3b-DnBk/s1600/spiteful.gif'/>s-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5tI3iq6MRrO7NrNXtyQj3Dua6aaIJiHGcgwIU_d_p3WHspG-xrFuVaHTTnhejHtDbB_JCNUX6Pju8N26ZKzeT0AEjcX0P4qPf_kZ12m_vHBqTR0nWI85-iNhlw-Au3BLmi2BgJrjXZBU/s1600/drinks.gif'/>d-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6hSV6RsGJpDRGq9hJJZPRIpJmXHy3QfE6bYj831PIatojr5JtmZoh-bA_XPl4WKaeNIc79kN4noXs8_pDmQvnMIOflOChghQkqU0XtQkgJH5YLZKsiEtZysbB4xAjbxUe4ugg54Js8Dg/s1600/cheer.gif'/>w-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjasuWMfSEJze-RkWbOfT9gNZi4WkIHo83cEDoFfS8V8DIxUkX-PibE3-N8wEjNLLOu57Sx8AbXhETdRmd880l_IBBsxh39euO2-XyTDd3SDxFgrhlfdlsDslcoLe-OOjPdT5bEP-hy9YE/s1600/hi+2.gif'/>:-h
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv5K3wqDL7EEZMvcuzHseNEvFtzqpO6IW84yDGBwo1aeyspLqQaEYaHLgubSmRqOuBXaa8Jw-l4EfGvcUTOXQbSRgBw7UkGFLEFprci72B6hjhJmWcgyIOUvQwc1QcRdA9nwx8gOBQ4jE/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/AVvXsEgUlLG0F-An-gWgUWmCouWwKZa8hjC_wDP8PmnUI_4A2-rtgToBxxN9NIBS3y6kmZPegXHjD0CIf7xx8FTexzCbSo4ExjTskZxFp48DFz1xAJXRqMXPv2iqNn8Noda1qtIgcsXvKdDcYQI/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.
{ 0 comments... read them below or add one }
Post a Comment