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/AVvXsEh_lxeWZPYC6n_IEI-PJgEQwCl3HQaU4mDMq2wqUQTVVNkbNCXSSCqPQGBeuObu6zP2CgeOUR-ksyLR99OnuA1nkACnHlWED5wbTJubnRyHYpab8sz5N_aWItXfCVJbDRX0AYdLkO33MOE/s1600/smile3.gif'/>:)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmcfy7LYqtx_7igbYP7p6omuceytv-DQIniTt6M8UoEQit4bKlsUHjClN_lzYHHW4CXqzOFsBfT9QWTU6kRCGsgC9-SFMNNjUMtZi0UudISPpQ-LnYZTYnTzksz_hnN7xg6G66zzIyw94/s1600/sad.gif'/>:(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcVDyTMt30AfAvKOfv1beyL1nB76ATc-EG7x56AMEi3akqTvxJ-wXsk7aiE_cN4ZP9kwYtwbvpUS-ws3fEWS4Wubi5KC77JL90xL4r0TLI-a8yMbsOtbEt3otnVO4JEy1oarFzhOxwgZw/s1600/taunt.gif'/>:))
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-PziP0-VnolKEWIWlpbtAUvMFN0GKeLA5mTKAo3rDSogfkg-ei405Yi-sDuQkuVPKwGS5R8x8Jzp3WrbQrpr56qlGUsu85U7I52wswR5EtRgQmfOo-K09wmRlEWN59hSwn-yo1RT9znc/s1600/cry2.gif'/>:((
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_XJpLcF2fJlrxSuuDjRiApWtgLYU16dXn-yfTCJsl5wJn-jCSqhc0WUsFa8qsybPDcDCpLZhTlSbOhZkVBvE8V3cyHKWwbdwnmx3SM9Yd4w-XwO-C23ypqmR3Z30nTEQf9AGcu7WQ3D4/s1600/rofl.gif'/>=))
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKva5kkR2y5AfqjznJ400yFm8gt2s_RnaSaNTeWlHGxugrYXszAmHvMN94r9-cDYA1cycbfvsplvIs1rl10H6ipa3Dg5RgrUiuruM1xQh6x34bXJGME6YRbwC9z3c4wv17pOwrtp0eJpc/s1600/suicide.gif'/>=D>
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeaX_g1QJvXAMsIH6la3WzhoqwCNUZPqFyADKmHSqco5CX9Oks1JkCXUFYgWiggzpckIDwRrNsLbuPplp3RgkuLQ3EJ6nfjOMuFE9FGo-qD5liWbEpV0zj_0XS-HN3_o8veYrd1i6JATw/s1600/biggrin.gif'/>:D
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8kzCOirv6vpgK6w8NmfP_yaNIGKzEPNOlVKfy27kNQubnwfujzy9yPZFUp84lHx-z6FhD9jnqwVQ5FGxOd4bQ-Gc4i6v_ini0cCNZkktTuU7ecvcd_3Ljh924lSaIvoS7_L-y3iyugnY/s1600/tongue.gif'/>:P
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3ibd8sEItoPiEA1ztL1kiKE4aVG1M51gc6zYdNCF6Y3qvhU2xGGfN2MC7ozULKZiDmo860n2oAlWSVj5MYtsHRnyOw5VDpsDqv_TGPmg1rzIWKG0SeQn5fvYN4Yql6zLm3sA6VqKPfWg/s1600/shock.gif'/>:-O
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTqOLuuQjAn0jU2Fr31bs65hVZ1pc7BeHMRkkUSs0dBFLMsg5e7nNE5U004XUklI4YErPJ6SW3C7nZxe7g1_BPO_oll52McsHlJ6e8Mmrc0oN_KAqFwSoYXPuQ8pVBC46xCVRMVZfFESo/s1600/think.gif'/>:-?
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqzrK8bXeY89P1kS0owBM-66R7vMIzFBeEzn3k9UxiX0ZB0-p4RTzJsie8iMc5hdBSy0n1miIfEeAbebyd1W76HRkGiBCovFDL12n8U4HBDXY4tX44ppdwh1oQPFWHox-qoyuciH9OGMg/s1600/unsure.gif'/>:-SS
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiaDRSREL0VQpFRJQEjQHMSIfL45i1XrDvHx3BwXn3frBWDMS47J-Vg-MI_HA9L83kKftemeG7SiAc6ZzG_7k2co2WrFXx2_esxOX3yVJmdEJJ8uVzForEihSsGEYNzcQTVgM_ZC8XkdQ/s1600/flowers1.gif'/>:-f
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYuFc7IvoF0ZDExWVKO4qagPjxOqR0_eevR1OudDc2E9qW3NnmA-AAzhaw74IE6cxPKmDt6CQsEAnRZTeFQzYj-JUQ6LKTPrBzgeR-ncQ7l72FfgUyKWxphdWWust5aSEma1vF_O1N3Pc/s1600/doh.gif'/>d(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD7UQSKBl-MzX-ve9xosPA_vpXx93WkCjKbvfm0F-4jmngYicHzX8jMK5bfeC5elKiKAFsVC6XGJ6m6VhsiwRs0dHtrFirzBM4RehVgv9-n1lFwGXwbyFsP29E0zb4LA-8bc0uu9GKLoo/s1600/air_kiss.gif'/>:-*
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgw50C4ZV_bcm4M97YENeUyNtya2jFgTMEagl-HKYp0Fkfx8kjFkKU9XoppilxtozXbs59GK97LzneoE4GMn8mMxSEEEqA3Sj6PpDjVQroAHzKiwqffBn1JLtMrkruqIW5hSYpWjiRFOqk/s1600/threaten.gif'/>b-(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVKpRrF1kvtRXVa7Ev1c8C4oGiebddA2MKZVxXwVFqjpa5Dwrb8e9_aZBRqw_A6_Olsb3rK8dP-hd7frlBOqckMpYFClItlJIbRUHHzLAJ4wurFpNaOisL8s7jgluUkKqTV8-pJosDKlU/s1600/help.gif'/>h-(
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivm8DM1_L0jAjccmQYnyGMFZlgT9gkIi1KyjD5JR5L5GTDsUA66PdUMOo_ga8jvcueIOxosWf5PLMboOmZU_swLkeFgkiKjgQ11O8Za7BNzqZHyx2grJS14dxiejfzfeTNzhQtOT3a0DE/s1600/good.gif'/>g-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgd0C_iTj-ag6SOnUE5m85oMVUeGDIdJF3qgkRaAOf7EVICaUc_Wc8y9eMKqsc-vguSRX-ffylUzvZq1KFD4FbEE_b0Vv7DSHg8ELKNr_fokj0HlLAeYjLZn_PRr0gUg6BE691f-NRWCQ/s1600/beee.gif'/>5-p
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuK32IsAWjlZftc8FFw6XfDivVRRWCq5Gyqajmt1-qojzJZrpZ2BQO4SGP5J5rNP8i9NA38if21X2mAmMD259LLqj0oYj-kNB6jgbd43HUsWL7jhnBP6rizL5PQd_xw64BxF_adOpy1TU/s1600/yahoo.gif'/>y-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8rk0vyy6G4Aky0BWoDj_LamzOM_k4slXpMPdOuascO5lP9IjZyJGjKmL9pF_6yOQwCYUuK5aVOIIx189opXdEPGXjRX9rTM_eJhMTPtVAtq3DRD3L4lkz4dqhpSMjP0qjvh27GWgCoSE/s1600/crazy.gif'/>c-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvKg-yzCQbfbsgFVbppk6qhckUWLQsfZLGg2JSBof0II2Gzy_sMvczI7Q9y73fnfQhsmF0QQ71qgOE5krArQN27awYjCDzaQBl0RlP3gC7DqLkOiqUHc7LdGvjK-H2WFVSIRvox_Rzo4U/s1600/spiteful.gif'/>s-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkFW6R1dTC9jgPocQHe1TBGTieaJYLEAK6kNHg9GmJjTSNYMG5FZEvaDunrvcOJgFKB0txxr-9FyPy7lSmxsXkDFAml0v9eu0UoNwSazVeCTcrtbYnXy53oX-91AVbo_F5hfJgQHCIGRk/s1600/drinks.gif'/>d-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF6b19_7BfFJiqHg_Wo4t9K0R4BixfV8BfG-gwKOgRoREDaX9r6ONZrjbmNp7N76MwGk0Vdz8wZUB9MFhyqSAhCgKLcI8LsqX650na_5VTCm_ccliiKNCZ3zkV3ABfYHjFASeGI9B2a60/s1600/cheer.gif'/>w-)
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsrD5dIUseyrbUis4wBWuzGroJM2EjRMs41OKArwPHxklgk1MXmUSFMoHu4M7kwFa8_KocvKagC__TH523kt44dRBdvMJp-nbd2SVAiT8tDwtoZDzurqG1-LEU56W13HWMTOaUJg8DNVI/s1600/hi+2.gif'/>:-h
<img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEin8H8HYBkWl-33zN3vKg8KXQqNUOf1rwUiZjrlHjGC3iqISqsV-3c1FyEl32qelnr0Q-kiFBRnIETSDHTQ27-Iw8uV_yWXDtPAILeTUGQ39HSUqcQD7PPWIoY6Q-FDYAjsbQIRMjm_qwc/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/AVvXsEh_lxeWZPYC6n_IEI-PJgEQwCl3HQaU4mDMq2wqUQTVVNkbNCXSSCqPQGBeuObu6zP2CgeOUR-ksyLR99OnuA1nkACnHlWED5wbTJubnRyHYpab8sz5N_aWItXfCVJbDRX0AYdLkO33MOE/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:
Post a Comment