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/AVvXsEhtPqcnO7Jnx2vmru8AqLoTS8HPvxh4AZbmYOclCOYGzyxDciI3fvAdiFoeS29pSOLBhzAIm6DtaywxHfQBldDKYtE-OKht9jNjaxDGdT7YidTh2sfG41aa9R8ASn8-4f8XPsKDH-ENpno/s1600/smile3.gif'/>:)
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwsJBFyzwX_qakoEOMoyV0S0ZYnPUNu6sehp6QQ9haZ3VhwJonaO1w9ADl6Sbq61gCQrgXPOuG3TEgXIHcwA2SUwIvXB0nwaWmnHQXZqpL1jq2ss6FGix4opCrv5zmIzEPZ28ygmS1Urg/s1600/sad.gif'/>:(
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPLaEPXLBDJLZvSb_d8NKhligZLU8d2iRNHEDqYVOaOGNbjT2i2v7wTqdjuRRD-V4iwpGZHM1Ug7wmxHJYyYdv34Y-1sCC4bUaLd4M8hPPPizsQLwWQi-pMMnpFZT6UGZMMmLpStczxCA/s1600/taunt.gif'/>:))
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy1zLR1BC5pFuP_8QSXSZxVI2BcYJWXLRrDPZ6FuuaSmzmQ2rZqMpItaZgMB6Jkrlg-if1lFFPpGoDrHZFUl5xOFO3sJybVWRgpNHMcVayRcOWMC_p8Hck1wyPwXm634oU-s06fnU8k1Y/s1600/cry2.gif'/>:((
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5iPKwZOF6QWVGKLw1NVj0l2cl2guw8yosEVPQcvKHYBvCEX6qLxY3KGPGhRAQNGoE9SkNou_8P9m80cPwd1pwYucjp-o34akA7oNLEM7saP8kS2vxLpi6AmmmYpoULFcYh8RmNhi0NsI/s1600/rofl.gif'/>=))
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1fFGrI9dVzKg4MHI-6Vo72NfK-hs4HGFLYP9rFZ5atfzTXK1t9916qKUQd9P2jMUD3XYa5pq5Ya46c84ijsYhx8BIt9dwLaMeX7OX_IKfN_ctOHAK05NDMWKi7ClowLrzdPXTn9DMFRk/s1600/suicide.gif'/>=D&gt;
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEin8l_w2whk8EzH-T_g0jviDFlQtJWGdoI2sO-yb6MRAoyNqcSnA3nZKj2UUtT4Ggy8uFhG1VySL795odPqJ4uoUDZGJhXhipUcY4H1mqMOMpESczctIy-DmtnwwIHPufb6NBBR17OhxLM/s1600/biggrin.gif'/>:D
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQIhIYWMaabshZPpMBQlNC7mGCqCw8Ii4BqhwdyQC2aFRib-fLZc30xQlyrUmQ1a2s-F85gzxPuNVBSzA9YiX7uTpydoOvdtX5_hvB2cVA15cJg2PnDe6lX8W7hHUBRSC_8Sw3AmZRfi4/s1600/tongue.gif'/>:P
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzMceXJm6hzFbF0DpufByz_1LXs9FA6eGc3h6vVBN9zNYUMj3DoY-wRIV3JivfAoREz3lRVJEJENc0CvUlsIIUf7gIg-HwpEh5BEbtPP0gj_xAQvz950nDRtmNmkUdJIU6yHvXASr73xk/s1600/shock.gif'/>:-O
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5QoRx9lgxDGKzDneJ-WanQO1DX9IVzBiHLoMr5ytHOmD0aAg2hNWy19aCpL-iXFzWYTBlYrmuP-BL4qmYi-h1-SSAxMtnzkIwgNUTNpgEUiGjmYlnXRCOjWfPBRAPhbM80HCxKljm9FM/s1600/think.gif'/>:-?
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGjLoK3-RSds_60IZxUWiSznGxxjzwemNpPZWlKNUiFo-o98BODse6ei5AxiAZjH9ih50upImRXX5TZTcLYbBS7_5e9BSQfULQenb8Uc76AZ8RoXeYgjHuFnHLyLH8d07kQfcnEEy9nX8/s1600/unsure.gif'/>:-SS
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzSJSni1wUWL8wJxuoKeGrmNRU1oGfLs5_8O1UPRLBlcLErSv-5MfbMl2q73JwFXlb40qBtZvr4KhKk6QOXYKuNkM1SNGUfQloaOsZ-Vhrh0oMRbeoXy8ayrKaDgXMI7iW3caCuu-_73A/s1600/flowers1.gif'/>:-f
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgin0bWh97ljHFBMrhf9qVzgPMA3irr93wvXPDX-Pw8Y2AHx1KaBIVBuYUuDM6pZLy0mG4EIy3D7fNP_bOsoF5DJWNvu3AcAnUWXRn1OIjWKpUX9ShknY6hFufczz3evRwYE9Bn3dLZm4s/s1600/doh.gif'/>d(
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghCnP-AtAs6peEoI6r_dR9RfXr7K1LYWbBK7Zu9AT-Rm6OUUGNHKf8polCxgvhJfFIpqI8mZUXKuZ9AMZXtdsF2Bs3uEhVp8N7HGri6h3zOnK583u8Bm28ve-qB8-xAeMd3MDZiboO9Cs/s1600/air_kiss.gif'/>:-*
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1zaLcueGyyOODxjXSyYZAPO1kRbQlQazoVbguWyAt0-C-2fK1gWkRahQHv1-HK0Jz-eZLp9kp01mJ16wkPKUwAwlbctsIKb1bwksMpkziyRaUaQ4WHNKTi-cLnHSY7TJ35WED0UnNuYE/s1600/threaten.gif'/>b-(
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpPbTzRDRjFDioajI6wFhuCA_EZjh3hDXx-8d585mJpA6kkAoOjfmNJfaapKU4duYvKPNkgu94Cdx07QrNGSFsnUfTWcl0eZNe_0X-9XAwnoVfmx_6_g4WGknhM5G_gfRUFbi9YLa0moI/s1600/help.gif'/>h-(
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD9AB1jgizXZFFDD6kfcFdSYG73t3b7JX7bs_lKuJFvfj2oyCNHtvGhq2l_io40JKZ9QmTcZMyFYz-z3keWv-MSS-xcMe_dr8Y5DTlLFYq-9b0D0X4wvcXJCXscIqV8DiARFB1QdOqxU4/s1600/good.gif'/>g-)
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgFtp4rxkaJWEA0l-wg5T4-vWroe7eS_C76GP0u5sE6aJ88kmjfzqAmVi9Z-RvJQW5VIrQoXcwNRVAUy5HaSafizeIjGNGQ2MUNiRO-AMLdL4pF9Hq_WvQn6w-hJ-WRqeJDccxj3IscL8/s1600/beee.gif'/>5-p
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTASiwVIqTvWAfdZ4VAtR7VpIQr5GN6dY7PnY7x1uvnkdhk7ex9CW5f_oP44qxLaoNL_WiMztVaw_9uRLjKv5lJlvhlEwjiyYaY9XfDp879oi0Gefi5fPHS6prUICj5m-_tTQYQrgj_e8/s1600/yahoo.gif'/>y-)
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXbE1ctSFh3xlS3dG9aAwVyFKtYNSYMdcG0OaPveT2I0XjG4nSE_jg678x1CnNhux2V3V8kkWeEDs8-6CvFLLLZu2iL5R3WFtVIlMXz0bQ9y9mCfUEekIz18hDIjpRm7qYZEsiVIs9_8o/s1600/crazy.gif'/>c-)
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUX2XcbKoTke2ot9Sj8MdEnFpZF55392EghJVLGX6M1Zi07m0m1JClxs-vuWHN9Er2MHzywXD_0P68wHyRo4XH0PNYD9JCf1lWyH6COAQR7jTCnr3Sz-yh_xg9XkDDiIrGBKwytoyELjc/s1600/spiteful.gif'/>s-)
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPyWtJCnhumU3vh5MxyIR4vAJONLh94jihSIvADfxwDWFklbniGjAkqq3GD6sXDO7rSFJ_0Nqt3JydrwDTMoHrmzaOgDmpZmnRT_eM5bQpXJS-SRJXTqoHqugx0ksODhFrnb_rGPU12lI/s1600/drinks.gif'/>d-)
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlT0h2d2ZL0hcQm0jHi2JNyKBDZvfABy_-F12txxJEhN3KVFnOOVRDJqTpnmHuHMZVLROkBPoy_O9vKHpjkB4hW2Y3QNDOeqeBpIAmAiQOixIPEJxcRv35XI-kWyNk0Snox9AQ1nxQS5o/s1600/cheer.gif'/>w-)
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7D5lobajCtfQlxKG_GhwKp07OpunJRMM5juKk03yiaMWogp-E0S-7J-Hu-Tv5zv5hdrn3KhVYFx62N01ttkSQxzgLGSz1Ot_q_R_gCT-lLZLQCbITGvZFee9eYQk_vLdrcnukCKLNQY/s1600/hi+2.gif'/>:-h
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl78eyuP3RrGWm6TE3UFvVG0omRuhHMBxlF01UA5tfLreNpFt4JahDdRiT1Yqev7x59Va69JleoYBFZ-8R1FMPfQ6N4b86SndKbJ2B7f5w3Yw2RvAFh9QAZxmMSCwIF90VtVjnDr0roXA/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/AVvXsEhtPqcnO7Jnx2vmru8AqLoTS8HPvxh4AZbmYOclCOYGzyxDciI3fvAdiFoeS29pSOLBhzAIm6DtaywxHfQBldDKYtE-OKht9jNjaxDGdT7YidTh2sfG41aa9R8ASn8-4f8XPsKDH-ENpno/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 komentar:

    Posting Komentar