Merubah Tampilan Comments Dengan Fitur Replay (Thread Comment) Ala Utta' Bag.4

Assalamu Alaikum Wr.Wb.
Kali ini saya akan memberikan trik blogger lagi yaitu 'Merubah Tampilan Comments Dengan Fitur Replay (Thread Comment) Ala Utta' Bag.4', dimana pada postingan saya yang lalu pernah juga membahas..

1. Rubah Tampilan Comments Dengan Fitur Replay (Thread Comment) Ala Utta',
2. Costume Comments Dengan Fitur Replay (Thread Comment) Ala UTta' Bag.2, dan
3. Threaded Comments (Fitur Reply) Dengan Komentar Berbeda Bag.3.

Merubah tampilan kotak komentar, adalah salah satu cara untuk mempercantik tampilan blogger kita, apalgi trik yang akan saya berikan ini, pasti membuat anda tertarik membuat'Nya,. klw gk, brrt gk normal.hahaa (justkid),.

Oia sob, treaded comments kali ini ini berbeda dari ketiga mode threaded comment yang pernah saya bahas, disamping memiliki tampilan yang enak dilihat, juga sudah dilengkapi dengan Author admin yang berbeda dari komentar teman2, mksdnya, disini komentar admin akan lebih mudah diketahui dari komentar yang lain,. sehingga pengunjung dapat mudah membedakan mana admin dan bukan admin,.. so mantap deh pokoke.hohoo,..

Baiklah jika sobat penasaran melihat contohnya silahkan lihat gambar dan demo dibawah ini..


DEMO BISA LIHAT DISINI..

Gimana?? tertarik membuat'Nya.... jika begitu silahkan ikuti tahap-tahap berikut :



    Seperti biasa terlebih dahulu :
  1. Login blogger.
  2. Rancangan, Edit Html, Cari kode ]]></b:skin>
  3. Dan Letakkan kode berikut diatasnya :

/* Threaded Comments style bag.4 */
.comment-body-author p{color:rgba(0,137,224,0.65)!important;text-shadow:0 0 1px #000;}
.comment-body-author {background-color:rgba(0,0,0,0.40);border:1px solid #111;border-top-color:#111;border-bottom-color:rgba(0,137,224,0.40);border-right-color:rgba(0,137,224,0.45);box-shadow:inset 0 2px 6px #000;-webkit-box-shadow:inset 0 2px 6px #000;-moz-box-shadow:inset 0 2px 6px #000;padding:2px;cursor:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd1hu_OvM7kn4FQFUKB9lgSZ7Kw1EBLIe3H0UlyrGXFnEgehPCqhiJ0gTEvbYZch3ViFIhR98rf6utH-pB28lA8uuM6kQuIqciBwEirh83yj0zulV1ed2-fhoNAHloE2C-1fMvdAfNS64/s320/forum_admin_utta.png),auto;font-family:Terminal Dosis Light;font-weight:420}
.comment-body-author:hover{border:1px solid #222;border-top-color:#333;border-bottom-color:rgba(0,137,224,0.60);border-right-color:rgba(0,137,224,0.70);}
.comment-form, #comment-editor {background-color:rgba(0,0,0,.2);border:1px solid #222;border-top-color:#333;border-bottom-color:#151515;-moz-box-shadow:0 5px 12px rgba(0,0,0,.7);-webkit-box-shadow:0 5px 12px rgba(0,0,0,.7);box-shadow:0 5px 12px rgba(0,0,0,.7);overflow-x:hidden;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;padding:15px;}
#comment-editor {width:95%!important;}
#cm_page_copy, .cm_pagenavi {background:#000;height:1px;margin:8px 0;padding:2px 0;border-radius:3px;border-left:1px solid #111;border-top:1px solid #111;border-right:1px solid #333;border-bottom:1px solid #333;}
.comment-form{width:95%;max-width:95%;}
.comment-form p {cursor:help;box-shadow:inset 0 3px 8px rgba(15,15,15,0.70);-moz-box-shadow:inset 0 3px 8px rgba(15,15,15,0.70);-webkit-box-shadow:inset 0 3px 8px rgba(15,15,15,0.70);position:relative;border:4px solid rgba(35,35,35,0.40);
padding:10px;font-family:century gothic;font-size:12px;line-height:1.6em;color:#bbb;margin-top:30px;}
.comment-form p:hover {color:#0089e0;background:rgba(15,15,15,0.70);}
.comment-form p::after, .comment-form p::before {top:100%;
border:solid transparent;content:" ";height:0;width:0;position:absolute;
pointer-events:none}
.comment-form p::before {border-top-color:rgba(45,45,45,0.55);border-width:15px;right:10%;margin-right:-26px}
.comment-form p::after {border-top-color:rgba(0,137,224,0.75);border-width:9px;right:10%;margin-right:-20px}
.comment-form iframe{opacity:0.1;-webkit-transition:.2s ease-in;
-moz-transition:.2s ease-in;transition:.2s ease-in;}
.comment-form iframe:hover{opacity:1}
.comment-form a{color:#0089e0;}
#comments h4{background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4jxBG58Rfi_I0Oy_F6bahz_TNQuKWQkUI_syW4VONNvaaIMZPVPgmA9TkxLD2dVNgCzaJt5P0Cik39WVE3Nwn1xvOL-rBi30XG78FTpSly09lvdFcwGSwBSVGH3S0R_JgHc7q73BBhPCy/s400/icon_comments.png) no-repeat 3px .3em;padding-left:27px;padding-top:0;margin:0;font:bold 16px oswald;color:rgba(75,75,75,0.50);
font-size:20px;text-shadow:0px 0px 0 rgb(-22,-21,-21),-1px -1px 0 rgb(-54,-53,-53), -2px -2px 0 rgb(-85,-84,-84),-3px -3px 2px rgba(0,0,0,0.5),-3px -3px 1px rgba(0,0,0,0.5),0px 0px 2px rgba(0,0,0,.2);}
.comments{background:#333 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkhdYatbpkujLI-LfRHh0lUZz9rMZJExkGKl5DEEJuphYe5lEqCOo-ArpAEjABGd57jtZVgnM3UrOuuld2dKfLxMgjdcxVl7d9us5luEO2H7UP6iaoh_9ZEDbRxNPCuBqpk9wwk58H-YU/s1600/fill_aka.png);-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;padding:10px 10px;text-shadow:0 -1px 1px #000}
.cm_avatar, .comment-form p, .cm_reply a{-webkit-transition:all 2s ease;-moz-transition:all 2s ease;transition:all 2s ease;}
.avatar-image-container, .cm_avatar{box-shadow:1px -2px 1px #000;-webkit-box-shadow:1px -2px 1px #000;-moz-box-shadow:1px -2px 1px #000;cursor:help;}
.comments .avatar-image-container,.comments .avatar-image-container img{width:67px;max-width:67px;height:67px;max-height:67px;}
.cm_wrap{clear:both;margin-bottom:10px;float:right;width:100%}
.cm_head{width:60px;float:left;margin:0;}
.cm_reply{padding-top:3px}
.cm_reply a{box-shadow:inset 0 1px 2px rgba(15,15,15,0.70);-moz-box-shadow:inset 0 1px 2px rgba(15,15,15,0.70);-webkit-box-shadow:inset 0 1px 2px rgba(15,15,15,0.70);display:inline-block;border-top:1px solid #0089e0;border-right:1px solid #222;border-left:1px solid #222;border-bottom:1px solid #0089e0;color:#aaa!important;text-align:center;text-decoration:none;background:rgba(9,9,9,0.60);font:normal 11px oswald;height:25px;width:25px;max-width:100%;border-radius:100%;padding:25px;margin:0 auto;overflow:hidden;transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);}
.cm_reply a:hover{background:rgba(5,5,5,0.70);border-top:1px solid transparent;border-left:2px solid #0089e0;border-right:2px solid #0089e0;border-bottom:1px solid transparent;text-decoration:none!important;color:#0089e0 !important;-moz-transform:rotate(1800deg);-webkit-transform:rotate(1800deg);transform:rotate(1800deg);}
.cm_entry{background-color:rgba(0,0,0,.2);overflow:hidden;padding:10px;padding-left:20px;border-right:1px solid #222;border-top:1px solid #222;box-shadow:5px 6px 7px rgba(0,0,0,.5);-moz-box-shadow:5px 6px 7px rgba(0,0,0,.5);-webkit-box-shadow:5px 6px 7px rgba(0,0,0,.5);}
.cm_info, .cm_info_a{background-color:rgba(45,45,45,0.75);margin-bottom:5px;padding:5px;}
.cm_info{border:1px dashed #333;background:rgba(0,0,0,.2);box-shadow:0px 1px 2px #222;box-shadow:inset 0px 0px 3px #222;}
.cm_name a{text-shadow:0 0 2px #222;color:rgba(0,137,224,0.65)!important;}
.cm_info_a{border:1px dotted rgba(0,137,224,0.65)!important;}
.cm_name,.cm_name_a{font:bold 14px Terminal Dosis Light;text-decoration:none;float:left}
.cm_name{color:#888 !important;}
.cm_name_a{color:rgba(0,137,224,0.65)!important;}
.cm_date{color:#888!important;font-style:italic;}
.cm_date_a{color:rgba(0,137,224,0.65)!important;}
.cm_date_a, .cm_date{font:normal 11px Terminal Dosis Light;text-decoration:none;float:right;padding-top:5px}
.cm_avatar, .cm_avatar_a{vertical-align:middle;border:1px solid #0089e0;border-right-color:#222;border-bottom-color:#222;background-color:#000;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcqoMWhnx6QMTgKEXpAi9w36JoTTphBZjH-Avh5miz0ZM4cZTwdyyqiumPfzfz7cnzr3CzHP1z3orAWliEFsW63LN2yWuk425sLp2ikOFLBEIqzenB1aLvu9MRw-JzWy4PHoIyP_KD6vA/s1600/gravatar_utta.jpg) center no-repeat;width:67px;max-width:67px;height:67px;max-height:67px;margin:0;padding:3px}
.cm_avatar:hover{-moz-transform:rotate(-20deg);-webkit-transform:rotate(-20deg);transform:rotate(-20deg);opacity:0.8}
.cm_entry p,.cm_entry_a p{clear:both;font:bold 14px Terminal Dosis Light;color:#bbb;word-wrap:break-word;padding:5px;border:thin solid #222;background-color:rgba(30,30,30,0.60);box-shadow:-10px -5px 0 rgba(45,45,45,0.50);-webkit-box-shadow:-10px -5px 0 rgba(45,45,45,0.50);-moz-box-shadow:-10px -5px 0 rgba(45,45,45,0.50);}
.deleted-comment {display:none!important;}

4. Selanjutnya cari kode </body> , lalu letakkan script berikut tepat diatasnya :

<script src='http://ut2a-4down-blogspot-com.googlecode.com/files/akauttacomment.js' type='text/javascript'/>

5. NEXT,.. Selanjutnya cari kode <b:includable id='comments' var='post'> , lalu Hapus kode antara kode <b:includable id='comments' var='post'> sampai dengan </b:includable> (kode yang berwarna biru yang harus didelete).

Contoh Seperti ini :

  • <b:includable id='comments' var='post'>
    <div class='comments' id='comments'>
    <a name='comments'/>
    <b:if cond='data:post.allowComments'>
     <h4>
     <b:if cond='data:post.numComments &gt; 0'>
     <b:if cond='data:post.numComments == 1'>
     <span id='cm_total'>
     </span> comment<b:else/>
     <span id='cm_total'>
     <data:post.numComments/>
     </span> comments</b:if>
     </b:if>
     </h4>

     ------------ sebagian kode yang harus didelete -------------------

     <b:include data='post' name='comment-form'/>
     <b:else/>
     <data:post.noNewCommentsText/>
     </b:if>
     <b:else/>
     <b:if cond='data:post.allowComments'>
     <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/>
    </a>
     </b:if>
     </b:if>
     </b:if>
     </div>

     </b:includable>

6. Setelah ketemu, Lalu Paste kode berikut ini diantara kode  <b:includable id='comments' var='post'> sampai dengan </b:includable> yang sudah dihapus tadi gantikan dengan kode dibawah..

<div class='comments' id='comments'>
  <a name='comments'/>
  <b:if cond='data:post.allowComments'>
  <h4>
  <b:if cond='data:post.numComments &gt; 0'>
<a href='#comment-form' style='float:right; margin-right:5px;color:red;'>+ Create Comment +</a>
  <b:if cond='data:post.numComments == 1'>
  <span id='cm_total'>1</span> <data:commentLabelPlural/>
  <b:else/>
  <span id='cm_total'><data:post.numComments/></span> Responses so far.
  </b:if>
  </b:if>
  </h4>
 
  <div id='cm_reply_css'/>
 
  <div class='cm_pagenavi' id='cm_page'/>
 
  <div id='cm_block'>
  <b:loop values='data:post.comments' var='comment'>
  <b:if cond='data:comment.isDeleted'>
  <b:else/>
 
  <div expr:id='data:comment.anchorName'>
  <div class='cm_wrap'>
  <a expr:name='data:comment.anchorName'/>
  <div class='cm_head'>
  <div class='cm_avatar'>
  <b:if cond='data:blog.enabledCommentProfileImages'>
  <data:comment.authorAvatarImage/>
  </b:if>
  </div>
  <div class='cm_reply'>
  <a expr:href='&quot;https://www.blogger.com/comment.g?blogID=ID-BLOG-ANDA&amp;postID=&quot; + data:post.id + &quot;&amp;isPopup=true&amp;postBody=%40%3C%61%20%68%72%65%66%3D%22%23&quot; + data:comment.anchorName + &quot;%22%3E&quot; + data:comment.author + &quot;%3C%2F%61%3E#form&quot;' onclick='javascript:window.open(this.href, &quot;bloggerPopup&quot;, &quot;toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=600,height=500&quot;); return false;'>Reply</a>
  </div>
  </div>
  <b:if cond='data:comment.author == data:post.author'>
  <dd class='cm_entry'>
 <span class='cm_arrow'/>
  <div class='cm_info_a'>
  <div class='cm_name_a'>
  <b:if cond='data:comment.authorUrl'>
  <img height='20px' src='http://picturestack.com/296/424/D4XadminuttaH2N.png' title='Administrator' width='20px'/>
  <a expr:href='data:comment.authorUrl' rel='nofollow' target='_blank'>
  <data:comment.author/>
  </a>
  <b:else/>
  <b><data:comment.author/></b>
  </b:if>
  </div>
  <div class='cm_date_a'>
  <data:comment.timestamp/>
  <b:include data='comment' name='commentDeleteIcon'/>
  </div>
  <div class='clear'/>
  </div>
 
  <div class='comment-body-author'>
  <p><data:comment.body/></p>
  </div>
  </dd>
  <b:else/>
  <dd class='cm_entry'>
  <span class='cm_arrow'/>
  <div class='cm_info'>
  <div class='cm_name'>
  <b:if cond='data:comment.authorUrl'>
  <a expr:href='data:comment.authorUrl' rel='nofollow' target='_blank'>
  <data:comment.author/>
  </a>
  <b:else/>
  <b><data:comment.author/></b>
  </b:if>
  </div>
  <div class='cm_date'>
  <data:comment.timestamp/>
  <b:include data='comment' name='commentDeleteIcon'/>
  </div>
  <div class='clear'/>
  </div>

 <p><data:comment.body/></p>
  </dd>
  </b:if>
  </div>
  </div>
  </b:if>
  </b:loop>
  </div>
 <div class='cm_pagenavi' id='cm_page_copy'/>
  <b:if cond='data:post.embedCommentForm'>
  <b:if cond='data:post.allowNewComments'>
  <b:include data='post' name='comment-form'/>
  <b:else/>
  <data:post.noNewCommentsText/>
  </b:if>
  <b:else/>
  <b:if cond='data:post.allowComments'>
  <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>Leave a comment</a>
  </b:if>
  </b:if>
 </b:if>
  </div>

  • Sehingga Hasil Keseluruhan seperti berikut :

<b:includable id='comments' var='post'>
<div class='comments' id='comments'>
  <a name='comments'/>
  <b:if cond='data:post.allowComments'>
  <h4>
  <b:if cond='data:post.numComments &gt; 0'>
<a href='#comment-form' style='float:right; margin-right:5px;color:red;'>+ Create Comment +</a>
  <b:if cond='data:post.numComments == 1'>
  <span id='cm_total'>1</span> <data:commentLabelPlural/>
  <b:else/>
  <span id='cm_total'><data:post.numComments/></span> Responses so far.
  </b:if>
  </b:if>
  </h4>
 
  <div id='cm_reply_css'/>
 
  <div class='cm_pagenavi' id='cm_page'/>
 
  <div id='cm_block'>
  <b:loop values='data:post.comments' var='comment'>
  <b:if cond='data:comment.isDeleted'>
  <b:else/>
 
  <div expr:id='data:comment.anchorName'>
  <div class='cm_wrap'>
  <a expr:name='data:comment.anchorName'/>
  <div class='cm_head'>
  <div class='cm_avatar'>
  <b:if cond='data:blog.enabledCommentProfileImages'>
  <data:comment.authorAvatarImage/>
  </b:if>
  </div>
  <div class='cm_reply'>
  <a expr:href='&quot;https://www.blogger.com/comment.g?blogID=ID-BLOG-ANDA&amp;postID=&quot; + data:post.id + &quot;&amp;isPopup=true&amp;postBody=%40%3C%61%20%68%72%65%66%3D%22%23&quot; + data:comment.anchorName + &quot;%22%3E&quot; + data:comment.author + &quot;%3C%2F%61%3E#form&quot;' onclick='javascript:window.open(this.href, &quot;bloggerPopup&quot;, &quot;toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=600,height=500&quot;); return false;'>Reply</a>
  </div>
  </div>
  <b:if cond='data:comment.author == data:post.author'>
  <dd class='cm_entry'>
 <span class='cm_arrow'/>
  <div class='cm_info_a'>
  <div class='cm_name_a'>
  <b:if cond='data:comment.authorUrl'>
  <img height='20px' src='http://picturestack.com/296/424/D4XadminuttaH2N.png' title='Administrator' width='20px'/>
  <a expr:href='data:comment.authorUrl' rel='nofollow' target='_blank'>
  <data:comment.author/>
  </a>
  <b:else/>
  <b><data:comment.author/></b>
  </b:if>
  </div>
  <div class='cm_date_a'>
  <data:comment.timestamp/>
  <b:include data='comment' name='commentDeleteIcon'/>
  </div>
  <div class='clear'/>
  </div>
 
  <div class='comment-body-author'>
  <p><data:comment.body/></p>
  </div>
  </dd>
  <b:else/>
  <dd class='cm_entry'>
  <span class='cm_arrow'/>
  <div class='cm_info'>
  <div class='cm_name'>
  <b:if cond='data:comment.authorUrl'>
  <a expr:href='data:comment.authorUrl' rel='nofollow' target='_blank'>
  <data:comment.author/>
  </a>
  <b:else/>
  <b><data:comment.author/></b>
  </b:if>
  </div>
  <div class='cm_date'>
  <data:comment.timestamp/>
  <b:include data='comment' name='commentDeleteIcon'/>
  </div>
  <div class='clear'/>
  </div>

 <p><data:comment.body/></p>
  </dd>
  </b:if>
  </div>
  </div>
  </b:if>
  </b:loop>
  </div>
 <div class='cm_pagenavi' id='cm_page_copy'/>
  <b:if cond='data:post.embedCommentForm'>
  <b:if cond='data:post.allowNewComments'>
  <b:include data='post' name='comment-form'/>
  <b:else/>
  <data:post.noNewCommentsText/>
  </b:if>
  <b:else/>
  <b:if cond='data:post.allowComments'>
  <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>Leave a comment</a>
  </b:if>
  </b:if>
 </b:if>
  </div>
</b:includable>

NB :>> - Ganti Tulisan ID-BLOG-ANDA dengan ID blog kamu, misal:  3587929819661064232 (untuk mengetahui ID blomu, kamu bisa lihat deretan angka pada address bar pada saat membuka halaman Edit HTML.

http://picturestack.com/688/211/PhKcatshv2.jpg

7. Langkah terakhir Priview dlu, jika tidak terjadi kesalahan, baru deh sobat save template.

Hmm.. mungkin agak rumit yaa gan.. tapi yaa itulah yang utta ketahui, Jika ada yang ingin ditanyakan mengenai trik ini, silahkan berkomentar pada forum dibawah :D



Semoga Tutorial kali ini bermanfaat bagi sobat, dan selamat mencoba!;)
Silahkan anda laporkan jika ada link yang rusak atau beberapa tutorial yang tidak bekerja, karena saya akan segera memperbaikinya, dan berhubung saya baru mengganti themes blog, jadi pasti banyak artikel yang berantakan! Saya harap anda dapat membantu saya untuk memperbaiki semuanya dengan berkomentar di artikel yang bermasalah.. thanks sebelumnya sudah berkunjung keblog utta yang sederhana ini...
Please rate this article:
{[['', '']]}
{["Useless", "Boring", "Need more details", "Perfect"]}

Jika Artikel ini menarik, Silahkan copy paste permalink berikut ini di blog sobat!

thumbnail
About The Author

Hai,.. I am just an ordinary man who just might share the knowledge that I know ahead of you, No one is more perfect. Always keep learning and sharing of knowledge, Just be Yourself and be The Unique that makes them know who you are.!!


8 Comments
Comments

+ komentar + 8 Diskusi pada 'Merubah Tampilan Comments Dengan Fitur Replay (Thread Comment) Ala Utta' Bag.4'

  1. Anonim5:30 AM

    akhirnya dishare juga bang :b

    BalasHapus
  2. numpang copy css,a bang !
    makasih nih !

    BalasHapus
  3. sy sdh mencobax sob tp ko para komentar hilang ya...?, coba lihat.., solusix apa ni gan.., thx. *smile

    BalasHapus
  4. @Rohis Facebook maaf bru smbat bls, jd stlah sy lht diblog sobat, mslahnya anda harus hapus sluruh kode css comments yang lama.. :b

    BalasHapus
  5. @← Ⓐкα UTτα`tHx berat sob.., Berhasil...!, :) sebenarx msh ada yg ingin sy tanyakan tp cz sdh malam, insya Allah besok aja.., skali lg thx ya... :)

    BalasHapus
  6. @Rohis Facebookoke udah bisa mas bro.., thx ya..

    btw komen sy yg lalu dan yg ini gk usah di moderasi aja.., thx ya... :)

    BalasHapus

Tolong memberi komentar yang tidak melanggar norma-norma. Kami berhak menghapus komentar yang kasar, mengejek, bersifat menyerang, dan tidak berhubungan dengan artikel di atas. Oleh sebab itu, kiranya dapat menggunakan bahasa yang jelas!

Pedoman wajib untuk memasukkan komentar:
1. Tidak boleh memakai lebih dari satu kolom komentar.
2. Pertanyaan/masukan harus berhubungan dengan uraian diatas.
3. Sebaiknya satu atau dua pertanyaan dalam satu kolom komentar.
4. Hanya menggunakan bahasa Indonesia yang umum dan dimengerti semua orang.
5. Tidak diperbolehkan menggunakan huruf besar untuk menekankan sesuatu.
6. Tidak diijinkan mencantumkan hyperlink dari situs lain.

Bila Anda punya nama atau blog gunakan komentar sebagai "Name/ URL".

Sebelumnya utta minta maaf yg sebsr2Nya jka komentar anda blm sempat dibls. ^^