Wednesday, April 18, 2012

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/AVvXsEi9TGVYJm1H3ekOuDO4VMrYJdDdcydLIzAqGVxeFOlVYT1k_hCVZXsWbEEb0RWgHoTt7XPeXJtc9P6AKqgghKjtEIn61e97Y32mjv8zCYhgJwv3uB0OTLcSsOsqw3m5comn9hz0wO84uZY/s1600/smile3.gif'/>:)
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1gO4G7Kd3iRjnREyjL8dghOz8QcIagH3ghtkzX-XN3pDDepP3_xtjykgsu7yTwGwSJWmEZHt-1qzrSpXRf6e5c10-pV0eTaA9_nt14NSg9EDlwG3pry60MO1c1PQZ5wtaRYxVpE_f5s8/s1600/sad.gif'/>:(
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizBWbGMctKC3hZFq2jWKhAFkS6DuME_MbTsUWjQqajj5PmeKpM1WUKaZARqcoof859tO-1xNFU5RwkD1zM_KB6ZhvNfjK6zX34d6VFBEyAyTxdB4XxNfPociRxafL3hj9faxFgXQsI0pQ/s1600/taunt.gif'/>:))
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsOyALvNAXY18GSi0lgh37ktl_Kj6hCwam8OZaJKQAwazozZlJ2aKeOYpGDIupZkj-c1KThlnte95MxvSknDfi6mMYs9r2IJAupKrgoehsgFHTKqKQ4BW1sH-6G-Cwaaw_Y9R6jySoPJI/s1600/cry2.gif'/>:((
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUtXMu1CiuwlGLVsMB5LhqsjG3KkLitINnlpXf-GBHN4WT_CA7Pdju2-FoR4rb4PQyjgyzoNJ_1bgiaRRErMhyphenhyphen2uhLE_Mj8XX-7_C3WCL9tcXwPzrLocGGb0Wl3PagrsFS6C-zN5wD1rA/s1600/rofl.gif'/>=))
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVq9pLqV0U6QAMgwd4dd9JejlViQbImOpWKo-Z3UdFBvH2ugGvQjWBlx5l2YZDNRcPd7c40iCpxLKmPuRtu-I4s3poUvvkd8gF_fNhRXkfTDN45ebg7aER6P2CqXgdgD1r0GOVgbjLgVw/s1600/suicide.gif'/>=D&gt;
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzT7kCykPIXu4Eo82TLobyNHE4E1tF3kJdHvzjfzgCNpyjDW6lyAPwy9yat_qjx0ShsLvcJLloHQ_wSKmu8_wI98-830w-Pux0SryEXqpnvpHrcSqpmk0mQpFbMQx3YN1VYy5Skud-TZ4/s1600/biggrin.gif'/>:D
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht9UNqaBnaw8hQ-UM3gF58EES7toonIQH2lXIZz4osEYblAXgRUgV5UtnCwERoVhLP__ke7vaIaU0hSbWIm_ZAs4KHTfFhdUTzkdmG1jlfbfUBErMVM4mDqLWcLMGoEbHhDbNf2pO-z-A/s1600/tongue.gif'/>:P
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_VS8UVLGfod_mZV_wEEX81hXcXLWaSeY_ypFrrbwHXb2YahYK_9s91dYk8Mf4xWGk7pC_NZSNEz6ln8wfcQ4BB_vGXayO5vVRo-usMTmR1IYSfDmvIccTzXpHa8IUWIWKwj81sW8PBS0/s1600/shock.gif'/>:-O
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHx4Phe-akTUc9eIxajWWJ_RBhyqM3zNOtDu9ZthMNgXGpjgKM-MxWEUqfFefPI5k0kcea9T6O6nvejA6h0zj8Ew-MTk-IMEK6-cqP51GJRzRXljP65wc9v78JM4hWHcx4siuZ82e-bRA/s1600/think.gif'/>:-?
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3OYmWQc26L1iIPfps_vEdF6NY0bh806OG3a0qc7NiNIQXOqNNzysQrS3er5yRPcys35yq5SF9Vz8uJD96oOjRePqharPO44OhX8TR-cwiD3biVxciMFoyBfSFPFZaeBvMF2l7xQPWOQM/s1600/unsure.gif'/>:-SS
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5rSntft06G20eI-tvs857bu5R5ss5Ln1Ck6ONL8wTdyLFTNJg7jcaEmZF_7FeieM_3wMvw5iO94irGS_l__H6lettzM96G4wgqf8w5iXttxidUEH4C-aTSIRMdsyOOGsGlUTvDRUwi0M/s1600/flowers1.gif'/>:-f
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkeQf9Mdhzsf5Wl8hB0fpRLSlDgewXbkHRV_qmGdK6nlg4slj8FUidM8UBom6-T2W10hKYobXd1AqbC5wzcvQMbjNbPoRCD05K3h_19bzULpsSKP3nT5gA25B5XDH3ysxhrwOpB_mJT8A/s1600/doh.gif'/>d(
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE66wkw3ImF0I9dJGiw3Dw_lOzThu4aeumAbfb8nWE1E71tov-tTv7C7agU-giA0qaKS3jTCJAdyP72E_cy-KW1-gzeHIHWD_ydF7cTiAnBeeo_fV0U4m7FWZT6LeCfVgheuIRP7pDxEI/s1600/air_kiss.gif'/>:-*
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHo2F317OyN0_H-cJuMohoqtc90C00j0Ao7_xfj7mgI7jG8MPC_s4J4on8JkWrCu3uOuBN-qQLU1UZNK5ug7wR8i9XSQAQUnzGPhHIIuayii328n0Ifh3kXty-olIHZQrkrmkKy8M8SeY/s1600/threaten.gif'/>b-(
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyyQ8SDU1KtbjFXv6o8riaZssbHoidxnMTmNhdEbP60HZxLOHueJL0QbkmfS7UWhBx2uBjebWBQxILR33m5HF_9H7nUDwPIXbz0AcLLgE0v0vxRWYNIwEP6daWmu8EQbSPdbc2jcNrjUI/s1600/help.gif'/>h-(
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW_izl28539IaC20JUSnZvKXlWH49gKNKV_YG68WXvb68P7AJ9v6UCsrwwGEnWw21opf-uQswG8ofA2-wQlEyoXrUlnEGe5SO2gDMdd6U-QjAOCBLxXHUF9okMvyXjPFVfQ72Jnymf83g/s1600/good.gif'/>g-)
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0DtSbyoglpXyPDd7k_ASq_2qydLFDHr6joTUgiUz2gveWBJ4W_cC3jwDirbNEMTbICtRs9WuBkJfSgT0-5hgUEg09MsjicXBpOcmNL6bIFeoGUzGZKnrLoTqZUOsGYzw6yFagVZ1FRgU/s1600/beee.gif'/>5-p
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid6RQTM-LGA5XXMthxeo1qcjRMkF4feu8MW-PYUWi0Y7pFFYcj7fdnkLIffNKHgDMcUIdDNypqbbn35aSFrpst8_Qjjg8g1oLSR1MJ2nQeszKxApd4gJzXAKev8lv-sORiQTWFMDM8Gh8/s1600/yahoo.gif'/>y-)
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRYTQWe7a3Fs6cW14IYO5vXARpEHV3VZI1QHVmwtQGWIwLDUY0lZGAAu2Eod-W342jkciOp6qz77AReXABoQAVGXhmziWDZONaeB7dKVCJD2gJ-sJMY4ehN_vZWu2N2uB9Mz0Oq8alLsA/s1600/crazy.gif'/>c-)
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMC1N4p2YKvyd5o7ktWrQCAW8DHxrbHBJ8GzNjMQ6YOsgs960tVBm7NfJzAvrrZy17yyQdDTpfm2rI961Fb3t4Z2_c4TqdnNjiHWagUjSCCBDK-mBaIG1TmDr4VK_VNSIuB-L_2QgcW-I/s1600/spiteful.gif'/>s-)
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzceTUVbz_0Gy-JWiothUMm9y8bONEVEmOBvIN_Ph14B8ombnhJtM1BdXtpBbEHywLl5QLQOYaN4iD_Y8b-XgqG7Nu8AoCWGOHS9Hvq5m5lZtd2pQSekuHugrOOD9ZB4d7C7uiB_ewKsw/s1600/drinks.gif'/>d-)
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEim1PxewXIE9cef2opscgNx3gv5yUwB67ExP7ErfAH0lg3So7JnkV8rJu2xk5OwfmNV0FFlFcRHB4NIIoPF8dsufLe7Nz5RppJ1cRO-V3IHJkeHw8sQuG3jMO0m-bdQVRu4cUryYlvdHL8/s1600/cheer.gif'/>w-)
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyZ5Ouw_tlHZ3o6_OUpZZJAzZeKmCGkfc817cwH0MkBS45LVPcWN0yRPty6B398DSgnKEt7WpIqy0ogeS1i4vnhugbdjhWpygim6dVJ642jZKn8oLgXGYVSdp5UK9US_KENXWNusMPBMI/s1600/hi+2.gif'/>:-h
    <img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgulla-_CCzcsGcng2GM4iYMVYWQ16lIo6nUf0-8YjvSQFpI1bEh5cEIlowtzWUgbYYLSL8TkIXOC4Pajqx5MBjclT1j6sWwgmVa6BTR2PSLdNcz5hIQgyzvnNriowtMowNwHtOnoY4Ltg/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/AVvXsEi9TGVYJm1H3ekOuDO4VMrYJdDdcydLIzAqGVxeFOlVYT1k_hCVZXsWbEEb0RWgHoTt7XPeXJtc9P6AKqgghKjtEIn61e97Y32mjv8zCYhgJwv3uB0OTLcSsOsqw3m5comn9hz0wO84uZY/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.

    adsense

    0 comments:

    Post a Comment

     
     
    Copyright © blog
    Blogger Theme by Blogger Designed and Optimized by Tipseo