Cara Membuat Emotacion Kaskus Di Commentar Blog
Langsung aja tanpa basa-basi...
Sebelum mengedit template sebaiknya simpan dulu template anda dengan mengklik Download Template Lengkap agar lebih aman jika terjadi kegagalan saat mengedit template.
1. Login ke Dasbor Anda ---> Edit HTML
2. Jangan lupa centang Expand Template Widget
3. Cari kode ini:
(di template saya ada 2 kode seperti ini, pilih yang ke 2)
- <b:if cond='data:post.embedCommentForm'>
4. Masukkan kode berikut ini tepat di atas kode <b:if cond='data:post.embedCommentForm'>
- <img src='http://www.mainshared.com/image/l1.gif' width='40'/>
- :a:
- <img src='http://www.mainshared.com/image/72.gif' width='40'/>
- :b:
- <img src='http://www.mainshared.com/image/03.gif' width='40'/>
- :c:
- <img src='http://www.mainshared.com/image/m4.gif' width='40'/>
- :d:
- <img src='http://www.mainshared.com/image/g5.gif' width='40'/>
- :e:
- <img src='http://www.mainshared.com/image/26.gif' width='40'/>
- :f:
- <img src='http://www.mainshared.com/image/l7.gif' width='40'/>
- :g:
- <img src='http://www.mainshared.com/image/d8.gif' width='40'/>
- :h:
- <img src='http://www.mainshared.com/image/d9.gif' width='40'/>
- :i:
- <img src='http://www.mainshared.com/image/10.gif' width='40'/>
- :j:
- <img src='http://ww
- <b>
- w.mainshared.com/image/11.gif' width='40'/>
- :k:
- <img src='http://www.mainshared.com/image/12.gif' width='40'/>
- :l:
- <img src='http://www.mainshared.com/image/13.gif' width='40'/>
- :m:
- <img src='http://www.mainshared.com/image/14.gif' width='40'/>
- :n:
- <img src='http://www.mainshared.com/image/22_002.gif' width='40'/>
- :o:
- <img src='http://www.mainshared.com/image/04.gif' width='40'/>
- :p:
- <img src='http://www.mainshared.com/image/17_002.gif' width='40'/>
- :q:
- <img src='http://www.mainshared.com/image/20_003.gif' width='40'/>
- :r:
- <br/>
- <img src='http://www.mainshared.com/image/57.gif' width='40'/>
- :s:
- <img src='http://www.mainshared.com/image/32_002.gif' width='40'/>
- :t:
- <img src='http://www.mainshared.com/image/34_002.gif' width='40'/>
- :u:
- <img src='http://www.mainshared.com/image/76.gif' width='40'/>
- :v:
- <img src='http://www.mainshared.com/image/11_002.gif' width='40'/>
- :w:
- <img src='http://www.mainshared.com/image/23_002.gif' width='40'/>
- :x:
- <img src='http://www.mainshared.com/image/77.gif' width='40'/>
- :y:
- <img src='http://www.mainshared.com/image/80.gif' width='40'/>
- :z:
- <img src='http://www.mainshared.com/image/29_002.gif' width='40'/>
- :ab:
- <br/>
- </b>
5. Pasang kode dibawah ini sebelum </body>
6. Save template dan lihat hasilnya
- <!-- Emoticon Start -->
- <script type='text/javascript'>
- //<![CDATA[
- a = document.getElementById('comments');
- if(a) {
- b = a.getElementsByTagName("DD");
- for(i=0; i < b.length; i++) {
- if (b.item(i).getAttribute('CLASS') == 'comment-body') {
- _str = b.item(i).innerHTML.replace(/:a:/gi, "<img src='http://www.mainshared.com/image/l1.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:b:/gi, "<img src='http://www.mainshared.com/image/72.gif' class='smiley'/>");
- _str = _str.replace(/:c:/gi, "<img src='http://www.mainshared.com/image/03.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:d:/gi, "<img src='http://www.mainshared.com/image/m4.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:e:/gi, "<img src='http://www.mainshared.com/image/g5.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:f:/gi, "<img src='http://www.mainshared.com/image/26.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:g:/gi, "<img src='http://www.mainshared.com/image/l7.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:h:/gi, "<img src='http://www.mainshared.com/image/d8.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:i:/gi, "<img src='http://www.mainshared.com/image/d9.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:j:/gi, "<img src='http://www.mainshared.com/image/10.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:k:/gi, "<img src='http://www.mainshared.com/image/11.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:l:/gi, "<img src='http://www.mainshared.com/image/12.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:m:/gi, "<img src='http://www.mainshared.com/image/13.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:n:/gi, "<img src='http://www.mainshared.com/image/14.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:o:/gi, "<img src='http://www.mainshared.com/image/22_002.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:p:/gi, "<img src='http://www.mainshared.com/image/04.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:q:/gi, "<img src='http://www.mainshared.com/image/17_002.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:r:/gi, "<img src='http://www.mainshared.com/image/20_003.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:s:/gi, "<img src='http://www.mainshared.com/image/57.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:t:/gi, "<img src='http://www.mainshared.com/image/32_002.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:u:/gi, "<img src='http://www.mainshared.com/image/34_002.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:v:/gi, "<img src='http://www.mainshared.com/image/76.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:w:/gi, "<img src='http://www.mainshared.com/image/11_002.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:x:/gi, "<img src='http://www.mainshared.com/image/23_002.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:y:/gi, "<img src='http://www.mainshared.com/image/77.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:z:/gi, "<img src='http://www.mainshared.com/image/80.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:ab:/gi, "<img src='http://www.mainshared.com/image/29_002.gif' alt='' width='40' class='smiley'/>");
- b.item(i).innerHTML = _str;
- }
- }
- }
- a = document.getElementById('comments');
- if(a) {
- c = a.getElementsByTagName("DD");
- for(i=0; i < c.length; i++) {
- if (c.item(i).getAttribute('CLASS') == 'comment-body-author') {
- _str = b.item(i).innerHTML.replace(/:a:/gi, "<img src='http://www.mainshared.com/image/l1.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:b:/gi, "<img src='http://www.mainshared.com/image/72.gif' class='smiley'/>");
- _str = _str.replace(/:c:/gi, "<img src='http://www.mainshared.com/image/03.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:d:/gi, "<img src='http://www.mainshared.com/image/m4.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:e:/gi, "<img src='http://www.mainshared.com/image/g5.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:f:/gi, "<img src='http://www.mainshared.com/image/26.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:g:/gi, "<img src='http://www.mainshared.com/image/l7.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:h:/gi, "<img src='http://www.mainshared.com/image/d8.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:i:/gi, "<img src='http://www.mainshared.com/image/d9.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:j:/gi, "<img src='http://www.mainshared.com/image/10.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:k:/gi, "<img src='http://www.mainshared.com/image/11.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:l:/gi, "<img src='http://www.mainshared.com/image/12.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:m:/gi, "<img src='http://www.mainshared.com/image/13.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:n:/gi, "<img src='http://www.mainshared.com/image/14.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:o:/gi, "<img src='http://www.mainshared.com/image/22_002.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:p:/gi, "<img src='http://www.mainshared.com/image/04.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:q:/gi, "<img src='http://www.mainshared.com/image/17_002.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:r:/gi, "<img src='http://www.mainshared.com/image/20_003.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:s:/gi, "<img src='http://www.mainshared.com/image/57.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:t:/gi, "<img src='http://www.mainshared.com/image/32_002.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:u:/gi, "<img src='http://www.mainshared.com/image/34_002.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:v:/gi, "<img src='http://www.mainshared.com/image/76.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:w:/gi, "<img src='http://www.mainshared.com/image/11_002.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:x:/gi, "<img src='http://www.mainshared.com/image/23_002.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:y:/gi, "<img src='http://www.mainshared.com/image/77.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:z:/gi, "<img src='http://www.mainshared.com/image/80.gif' alt='' width='40' class='smiley'/>");
- _str = _str.replace(/:ab:/gi, "<img src='http://www.mainshared.com/image/29_002.gif' alt='' width='40' class='smiley'/>");
- c.item(i).innerHTML = _str;
- }
- }
- }
- //]]>
- </script>
- <!-- Emoticon End -->
Comments
Post a Comment