Hôm nay là

Trực tiếp chèn emo Zing, ảnh vào comment và tạo comment Mẹ-Con

Thứ Sáu, 7 tháng 7, 2017 - - 4 comments - lượt xem

Cập nhật ngày 28/12/2018:
Code này chỉ để tham khảo, không áp dụng được vì gây lỗi blogspot.

Các bạn có thể xem trước Tại Đây

*Cách thực hiện


1- Đăng nhập vào Blog
2- Vào Mẫu (Template) => CHỉnh sửa HTML => Mở rộng mẫu
3. Tìm đoạn code:

<b:include data='post' name='threaded_comments'/>
 
- Thay thế bằng đoạn code sau:

<b:include data='post' name='comments'/>
 
4. Thay thế toàn bộ đoạn code ở giữa <b:includable id='comments' var='post'>  </b:includable> bằng đoạn code sau:

  <div class='comments' id='comments'>
        <a name='comments'/>
        <b:if cond='data:post.allowComments'>
                         
         <b:if cond='data:post.numComments != 0'>
          <h3>
           <b:if cond='data:post.numComments == 1'>
            1 <data:commentLabel/>:
           <b:else/>
            <data:post.numComments/> <data:commentLabelPlural/>
           </b:if>
          </h3>
         </b:if>
               
         <b:if cond='data:post.commentPagingRequired'>
          <span class='paging-control-container'>
           <a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'><data:post.oldestLinkText/></a>
           &#160;
           <a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'><data:post.olderLinkText/></a>
           &#160;
           <data:post.commentRangeText/>
           &#160;
           <a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'><data:post.newerLinkText/></a>
           &#160;
           <a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'><data:post.newestLinkText/></a>
          </span>
         </b:if>
                       
         <div class='clear'/>
         <div id='comment_block'>
          <b:loop values='data:post.comments' var='comment'>
                                                                             
           <div class='comment_wrap' expr:auclass='data:comment.adminClass' expr:id='data:comment.anchorName' level='0'>
                                                                                       
            <a expr:name='data:comment.anchorName'/>
            <b:if cond='data:post.adminClass == data:comment.adminClass'>
             &lt;div class=&#39;comment_inner comment_admin&#39;&gt;
            <b:else/>
             &lt;div class=&#39;comment_inner&#39;&gt;
            </b:if>
             <div class='comment_header'>
              <div class='comment_avatar'>
               <data:comment.authorAvatarImage/>
              </div>
              <div class='comment_name'>
               <b:if cond='data:comment.authorUrl'>
                <a expr:href='data:comment.authorUrl' rel='nofollow' target='_blank'><data:comment.author/></a>
               <b:else/>
                <data:comment.author/>
               </b:if>  
              </div> 
        
              <div class='comment_service'>
               <span class='comment_date'><abbr class='published' expr:title='data:post.timestampISO8601'><data:comment.timestamp/></abbr></span>
               <b:include data='comment' name='commentDeleteIcon'/>
              </div>
              <div class='clear'/>
             </div>
             <div class='comment_body'>
<span class='cm_arrow'/>
              <b:if cond='data:comment.isDeleted'>
               <span class='deleted-comment'><data:comment.body/></span>
              <b:else/>
               <p><data:comment.body/></p>
              </b:if><a class='comment_reply' expr:href='&quot;#r_&quot;+data:comment.anchorName' expr:id='&quot;r&quot;+data:comment.anchorName' onclick='javascript:Display_Reply_Form(this)'>Reply</a>                                                        
             </div>                         
              <div class='clear'/>
            &lt;/div&gt;
            <div class='clear'/>
           
            <div class='comment_child'/>
            <a expr:name='&quot;r_&quot;+data:comment.anchorName'/>
            <div class='comment_reply_form' expr:id='&quot;r_f_&quot;+data:comment.anchorName'/>              
           </div>
          </b:loop>              
         </div>     
         <div class='clear'/>
         <b:if cond='data:post.commentPagingRequired'>
          <span class='paging-control-container'>
           <a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'><data:post.oldestLinkText/></a>
           &#160;
           <a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'><data:post.olderLinkText/></a>
           &#160;
           <data:post.commentRangeText/>
           &#160;
           <a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'><data:post.newerLinkText/></a>
           &#160;
           <a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'><data:post.newestLinkText/></a>
          </span>
         </b:if>
         <div class='clear'/>
         <div class='comment_form'>         
         
          <b:if cond='data:post.embedCommentForm'>
           <b:if cond='data:post.allowNewComments'>
            <h3 id='comment-post-message'><data:postCommentMsg/></h3>
            <div class='comment_emo_list'/>
                                                                                               
            <b:include data='post' name='threaded-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>
         </div>
        </b:if>
       </div>
                    
       <script type='text/javascript'>
       //<![CDATA[
       if (typeof(jQuery) == 'undefined') {
 //output the script (load it from google api)
 document.write("<scr" + "ipt type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js\"></scr" + "ipt>");
}
       //]]>
       </script>
      
       <script async='async' expr:src='data:post.commentSrc' type='text/javascript'/>
       <script type='text/javascript'>
         
         <b:if cond='data:post.numComments != 0'>
         var Items = <data:post.commentJso/>;
         var Msgs = <data:post.commentMsgs/>;
         var Config = <data:post.commentConfig/>;
        <b:else/>
         var Items = {};
         var Msgs = {};
         var Config = {&#39;maxThreadDepth&#39;:&#39;0&#39;};
        </b:if>
       //<![CDATA[
       //Global setting
        Config.maxThreadDepth = 10;//Kedalaman threaded comment
        Display_Emo = true;//Tampilkan emoticon? ganti "false" apabila tidak ditampilkan
        Replace_Youtube_Link = true;//Menampilkan link Youtube, ganti "false" untuk me-nonaktifkan
        Replace_Image_Link = true;//Menampilkan gambar, ganti  "false" untuk me-nonaktifkan.
                                Replace_Force_Tag = true;//Mengganti tag otomatis, seperti: [pre] menjadi <pre>, dan [/pre] </pre>, apabila salah mengetik, maka tidak akan tampil
        Replace_Image_Ext = ['JPG', 'GIF', 'PNG', 'BMP'];//(support: jpg, gif, png, bmp),hanya bekerja apabila Replace_Image_Link=true
       
        //List Emoticon
        Emo_List = [
        ':))'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS75QGQMdjNKfIjYA82Np-zppM-To8M-CVt11fKXuKlyv1Zqk8TXANZGnIUB9ctn55XYz09O1hXxFAtfF3MOuUch2VhB3DZdDA75SOxiGL_ggO9RcKC2fYjzLqtsfWnEOZtgH24K20OXQ/s36/03.gif',
        ';(('  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb1lQcHQktulv-2aeG1tUZyDvadHqyZvizQUCa8Re8i2B8w4DVkY_RrtfGC52n_V1Wa18eP29v1NhYvC7zwsQoYjV2Yo1PDyPEONLIu_pm2qXXwbDWjjz6CWx9_u-rm1_eRo3MxumSfu0/s47/06.gif',
        ':)'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt44rBl7KpNXsHhaN1_A5s2pJCybCzmsyREk6xmVRwYIKiQkoEaQFA2YYVYCPXZmqBd57f42k_Q8vL8KLEVF5sxhQUYdiLFb9YH3fmsGct6JIQ1_xrQA6kl6zF6CEGTUOFVaJ_M6HsCbw/s36/01.gif',
        ':-)'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD8iSbOKcmGYikGEU5cI48cIO17eljE-78DpJahz6-yudLzoPWGN4R-LUr33kZT75kZ1BqqDebd3YTtgKvYQNB2YNSCaaR2m282cd2DIHobvMigbgZJp9x4myL0p2chp9-EYS-lI3YQP8/s36/02.gif',
        '=))'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAViH0KRBN8C_UVkMrECs1ISgbaTIgIjFK74eh-vKPGKQygI7pUkNJ4Qbzl1TXK7ZO_9MVpJCZmDpcoHTxGCM4L-8uai4mEo-8UWtZO6VS2RDFvKkdDVyBP-JZWhccOcAI7PS0OOi7Rqk/s36/03a.gif',
        ';('  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfesj5NP5SjlEHifnbLuY0gG2Zqm5Ze2UsC1LsiK7GlyWdg4SCh1SGQLBiBlSGTEzPYy4o9OT_aeZEuzbPpCLNzIJG7QFXNgm0yGIBobJUfdS2RPf3Ih0-DK69w3ZfRDP3i1mE1226G3E/s36/04.gif',
        ';-('  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWLZLpedk_N95XLHsM44aJPzhX-F4wxU170YxiN0kZ7Yc08cHluyc-8P_1J_F7UicnouB0edBaTebQ_AbRsLt9hrTMELkQ8alaknFs3NadB71IBQncpi9hyYu4g6UKuTKLMGnX701Yhto/s36/05.gif',
        ':d'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_0ZdX31PshXIIdSNCGe3Ftxu_NNjg0fKnuAjoW4FyDxZL2HqqGmzox29tX2m3urhyn4el-ooqPUp8t0c6-vMz8QToC11dOKx0LlOXZ59ujoDas4lhPDw2UulkWG-Nn86jAJYveaRnULg/s36/7.gif',
        ':-d'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8wx-8u-KqHYtuNCLKssx5hiU2vn-te6HOjjnfXHt4Us1D6m2oPOmWuPWSJwhW7qGhHgosiJTSwbjeorMzpZkuC6Zj9xhEmCIzzz4G2VSeB_pVe_BFm8ClmAIKwQJ9zzEsb3wYqrmL860/s36/8.gif',
        '@-)'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgix9tNDSQsc2S2l7u_ooddttF_L6ydhBMdJ-djTs8TXP8b-N8jSRi-F70-UsGaWNcY-U7n4E3TF2FlUzYPsV9YkFTfCn-6on9pMpAGdxvaKeMMHPhV-kEW3wJQSsCpEni671ueOFj_tNI/s36/09.gif',
        ':p'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWV1aWHv61OGjgRpZlP5zF-IdVmSk2FKMIhgJaFk87Tota99dF5OheFoV1bgWT75LooL8xtbBWCgp-MukdYGLRSOI_NTeIeZRteaEFusPHe8E8elVArgvihscat5aPlNi86NRADcci5hY/s36/10.gif',
        ':o'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4EL-kEEFMRiSR7sbSH2xPBtO-kvYQrZzfrxUg-c90fjTYv_AZz73lEP6Kv6Dl5PjY3CYA5ckahDz2d0swB1qHqFImJwVaeZCJIETC0O1c83HOSxRoSJF_QsIzP4BknoQBp7jVoVgsgFA/s36/11.gif',
        ':>)'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSPY-icRPS1W8xXr5F7jJgnYD62Kjf_bP4n-KUNsnZ6_RNvgChxRCUOeW0u2jdhPDfi3LPShoLiLIhGIY8_n6AFy1X46IpsoJ8SomRThTS5yDQOgkUXix5joeISB0byc2G5Erlr_70oBo/s36/12.gif',
        '(o)'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWn8KgDTcZQcNUj6N-WVyzZ5Z4QyLZ2eETDq8k7YK74C8SGJURsQozi5Mnu0N70uTPMCtRBWVneiBr1TjHdDGWF1ay6Hp_6kzk_V0SkyJ0BitxD995VOr5QLZSrCYwXJ9SVcSfu6XHO4U/s36/13.gif',
        '[-('  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj48LfWcwL9T4MsMFqttEHRLfMJdUehge6Px_G0-g6AMmY6-wL4rvzfjzR1Yl1fM_uUPDZL4_gsIlp325lGdeMuztsLT4dC6O6IqHWSDFHVvaIDkWadjS6PfAMyqJcRNZZflRdkpnl8pKA/s36/14.gif',
        ':-?'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-k7LRv68ef0LWQ16u__ZJDLCJaWIuXBrSNR69lGgKUTFd0njSar0N156-uhu48r_qdULb5w3nCyCDQZUOwhw_Een5UDo3sT1srt9HeUSxlvyhrYTXo6DeoOXrSsOKHW4got-_7JTY3PM/s36/15.gif',
        '(p)'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7Sa8d1vxepcoptg7dV0OBX3EAiMsKQs6nu0nWSM4JPv5R0ZB9p_WVexj82Xc_2K6Fwz3QMGQ8GLIm6ZBbFrv_sdBoDQs3lD78-TtpnhFrwK9A231MaeA8u94iU0C0zBEN9c64CxHS-94/s36/16.gif',
        ':-s'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS18ky8Rm5i3_IeykTUaAUVngJ5eevcvMiL2mgiHptBnLryyWfpLqq3qjogTj78XpfDjxfeQsDOpzt_w4RPBLSo97ZyDGtdeAEqwwjuhZyBEv2gii2CWLeb3kWfPPGyro4twhmbDh4iK0/s36/17.gif',
        '(m)'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho83iWhIk7nHFq1DLUwhS_5uGMjoCoDwvSlXUJUAeijosUZweKBGkBV13fmCInTZAWSr9PrLIPRs02wqGIME3tvjhZGqEigsG_hMuMdYQjRPVSBALaKDHpdMs1o30F988CD0lqdbFHqOM/s36/18.gif',
        '8-)'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc0h8fn0PBXJw-4Vg_XtOlRf56yx6KNjjjr6LV7yna5-wtNSZ17KW4K1ZbIDiG5QfzWaxyXcA3PkIqqk1m2zPo36Q_34ZVXDJKYM3MYFS-YCZpHIh7Yc2dHou3EiJZ30XFNHJ2OjjehQM/s36/19.gif',
        ':-t'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibmBxQffHQCEK0BSAUl9nkIqrRznxovcMbra9zM2X9e2o5vj34sPBFRO29yT6FO2jMLkPT01OY9w_XcSnuwVW120kkGpDzahLVV57XhJFoSdTGH25ZIkGULIAKNMiOKMgypWWKUoIZCz8/s36/20.gif',
        ':-b'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrmQTSd7SAExKChf5agy6INzhKCMf5wJXhp6sdu_VTYiYKGu-qRdv33vSiZWOJKB5y4tSSaEZl2L8X7uvhxmURmmmYYdaFEnVMBOQ5-YNOs8H6NPzm854WGJn7pzpjEQJ7QgVc1W2x5v4/s36/21.gif',
        'b-('  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi19ss4WbQRvCFUaGQyZCxdfeNkpsMS68uTJkNQLYC-lmSJZUlgnaKgJji-r8NE0s1B28_bBBhqaPdoA8NbxDLOy3_qUHpUpSazGVkO9X7mOjWSBrXrUHO5BvGQSeaO9oMZANv-MpOU1lc/s35/22.gif',
        ':-#'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia5mpEk_LFK6vnzvRJacwqlwule9ovdLTWzMvAA0U6VgiKbkhWVAVEJe_Vrl3N3TpdRYt2GRLSIKN7kPTz5hgEEzw69Ss8C510kg_NhijK-lcQ8InUj1eOB11gHZw9AIs9Ifak-TPHiDM/s36/23.gif',
        '=p~'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_XttsQ5KsmfRre27f1IFsbZaOuGsOk0G_zzFmdXg_itQX8T7AwS3FZnbWhhr6jOKufhX9C7-w1Y0kTMKvWkLqaUSLCMKbPyQi3JKvOxF-HlyPK8G_Pe6y21DkNuO4RNtDc5a2YL38kWw/s36/24.gif',
        '$-)'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLQxe_j-SE0v8z4aQ5RkEcoNeVUVnV69uBeJdQcGyAuGvTgc7Ztfgq0xqKtBEHq5P1ls9akrSBEQ_XxlC4YAeVCOz5iqhXDJvySFPQwI1N96L-YaUkQz2rX026WDk97-8-EAVrot_wfms/s36/25.gif',
        '(b)'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLEXjSc_GN4NI3g_rx3m4rV2SZhkjWkYXisZLEliatonTBfUH8YNhzOw2aZk9Vt63Ye9UjGma8Ztxhfzm7qP571KstmPn5SCvM1jEOMIx6iFH6UMZCVpWGt_dOWjaH-fxsp-VgK9AFaKc/s36/26.gif',
        '(f)'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCNoatO2bWojmqBSZCzSrcxwn19lT2SYiYb0uljc3zM56G6jBIqV9pCGNU9xx_AEh9Sfc31f1rAfPOh83kVd-F9uE3h5S03JVwkFdhoW7Y4CIOAaQVkV1p8X44Yfvx9iiRy3jEd-DMTEI/s36/27.gif',
        'x-)'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwkdIBSqN8432awRsN-zeUX_9Smyug4Cx35gMdIRUyUUxpgwY2dJjxZsQf01Q0CFVwc8A3lZOlvZIyzmszsSAOmg66Q5sE_INJSKqmiPkoxlU4tFVopsCPZ3PrOBCakIQP08dSeW2Y9hU/s36/28.gif',
        '(k)'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijHYj_yLu9dvizduHp0u3cU9wFUHPzL02lWd1sQlmQgA_23zPVQJ7WqUtiIxi7Kpwq1r0UwFCx1w50NHWXKga6zwKMnQzgfEy5rreWBgLpEWtr6wKtj1xUbnvu_mAZMb13A_z0aV3_l2M/s36/29.gif',
        '(h)'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUijlBUKVvKMNQjnregQa_ooMKV6l8lHAKBG1Zpz9aFejV-FnTsDGDyvnriIU2Le02Mw11Tl6d4qAAet9LXWT16S68uTF0cPrEDaBJU89m8KWdN_WFBf1-09q6deY9331iq-FlrX2_uis/s36/30.gif',
        '(c)'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFB68b07TmV0r_1uSdphyphenhyphenllWp9zJg4xKuMLWYvmDSNUWmBEsmKBL92yjGHo-cJW77cRhzzXPw0PgfCT-aM7arVcXZJUZ-KtjPoB_fWWUiyOy8FWjAjs-bykfywkDVjuekytxu_lBfSH_4/s36/31.gif',
        'cheer'  ,'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMH2nlqgvSiyAm14A8BIID199BRg_KX4_IAuMq-qHLO3m9Xh938dDUMFPG-GFKHacipSjcQtrls7ZkZlxa8PI2Jpo70TdKzrf4YkRFhHK4t4fO8oamEya5bCrV-5XNw2Ke_Bd_RhAb__I/s36/32.gif'
        ];
                                       
                                //Mengganti tag, gunakan huruf kecil
                                Force_Tag = [
                                    '[pre]','<pre>',
                                    '[/pre]','</pre>',
                                    '<pre class="brush: plain; title: ; notranslate" title="">','&lt;code&gt;',
                                    '</pre>','</code>'
                                ];
     
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('3 o=\'.1c\';3 1b=$(\'#O-19\').G(\'A\');u 1l(F){3 1j=\' \\n\\r\\t\\f\\1D\\1G\\1F\\1E\\2l\\2k\\2i\\2f\\2c\\26\\25\\23\\1Y\\1S\\1N\\1L\\1H\\2v\\1M\\2p\\24\\22\\1R\';E(3 i=0;i<F.5;i++){9(1j.d(F.1Q(i))!=-1){F=F.b(0,i);11}}z F}$(\'#1P .1i p\').j(u(y,7){9(1J){3 l=\'1v://13.V.W/1y?v=\';3 8=7.d(l);D(8!=-1){1d=7.b(8);J=1l(1d);3 X=J.d(\'&\');3 N=\'\';9(X==-1){N=J.b(l.5)}Y{N=J.b(l.5,X)}3 1r=\'<1u B="1T" A="1v://13.V.W/1U/\'+N+\'?1V=1" 1W="0" 2w></1u>\';7=7.b(0,8)+1r+7.b(8+J.5);8=7.d(l);9(8==-1){l=\'1Z://13.V.W/1y?v=\';8=7.d(l)}}}9(21){3 Z=\'\';3 s=7;E(3 i=0;i<1w.5;i++){3 l=\'.\'+1w[i];3 m=s.C();3 8=m.d(l);D(8!=-1){k=s.b(0,8+l.5);m=k.C();3 q=\'2h://\';3 w=m.d(q);3 I=\'\';D(w!=-1){I=q.M();k=k.b(w+q.5);m=k.C();w=m.d(q)}q=\'2n://\';m=k.C();w=m.d(q);D(w!=-1){I=q.M();k=k.b(w+q.5);m=k.C();w=m.d(q)}9(I==\'\'||k.5<6){11}k=I+k;Z+=s.b(0,8+l.5-k.5)+\'<10 A="\'+k+\'" B="2r"/>\';s=s.b(8+l.5);m=s.C();8=m.d(l)}}7=Z+s}9(1A){3 5=x.5;9(5%2==1){5--}E(3 i=0;i<5;i+=2){3 S=\'<10 A="\'+x[i+1]+\'" B="1B"/>\';8=7.d(x[i]);D(8!=-1){7=7.b(0,8)+S+7.b(8+x[i].5);8=7.d(x[i])}}}9(1I){3 5=R.5;9(5%2==1){5--}E(3 i=0;i<5;i+=2){D(1){3 s=7.M();8=s.d(R[i]);9(8!=-1){7=7.b(0,8)+R[i+1]+7.b(8+R[i].5)}Y{11}}}}z 7});$(\'.1K\').j(u(y,7){9(1A){3 5=x.5;9(5%2==1){5--}3 12=\'\';E(3 i=0;i<5;i+=2){3 1e=\'<1f>\'+x[i]+\'</1f>\';3 S=\'<10 A="\'+x[i+1]+\'" B="1B"/>\';12+=\'<Q B="1O">\'+S+1e+\'</Q>\'}z 12}});$(\'.1g .1i p\').j(u(i,h){T=h.M();y=T.d(\'@<a U="#c\');9(y!=-1){14=T.d(\'</a>\',y);9(14!=-1){h=h.b(0,y)+h.b(14+4)}}z h});u 1k(g){r=g.d(\'c\');9(r!=-1)g=g.b(r+1);z g}u 1m(g){g=\'&1X=\'+g+\'#%1n\';1o=1b.20(/#%1n/,g);z 1o}u 1p(){j=$(o).j();$(o).j(\'\');o=\'.1c\';$(o).j(j);$(\'#O-19\').G(\'A\',1b)}u 1q(e){g=$(e).G(\'15\');g=1k(g);j=$(o).j();9(o==\'.1c\'){1s=\'<a U="#1t" 27="1p()">\'+28.29+\'</a><a 2a="1t"/>\';$(o).j(1s)}Y{$(o).j(\'\')}o=\'#2b\'+g;$(o).j(j);$(\'#O-19\').G(\'A\',1m(g))}16=2d.2e.U;17=\'#O-2g\';18=16.d(17);9(18!=-1){1x=16.b(18+17.5);1q(\'#2j\'+1x)}E(3 i=0;i<P.5;i++){9(\'1z\'2m P[i]){3 g=P[i].1z;3 1a=2o($(\'#c\'+g+\':L\').G(\'1C\'));$(\'#c\'+g+\' .2q:L\').j(u(y,7){3 H=P[i].15;9(1a>=2s.2t){$(\'#c\'+H+\':L .2u\').1h()}3 K=$(\'#c\'+H+\':L\').j();K=\'<Q B="1g" 15="c\'+H+\'" 1C="\'+(1a+1)+\'">\'+K+\'</Q>\';$(\'#c\'+H).1h();z(7+K)})}}',62,157,'|||var||length||oldhtml|check_index|if||substring||indexOf|||par_id|||html|img_src|search_key|upper_html||Cur_Cform_Hdr||http_search||temp_html||function||find_http|Emo_List|index|return|src|class|toUpperCase|while|for|str|attr|child_id|save_http|yt_link|child_html|first|toLowerCase|yt_code|comment|Items|div|Force_Tag|img_html|temp|href|youtube|com|yt_code_index|else|save_html|img|break|newhtml|www|index_tail|id|cur_url|search_formid|search_index|editor|par_level|Cur_Cform_Url|comment_form|ht|img_code|span|comment_wrap|remove|comment_body|whitespace|Valid_Par_Id|trim|Cform_Ins_ParID|7B|n_cform_url|Reset_Comment_Form|Display_Reply_Form|yt_video|reset_html|origin_cform|iframe|http|Replace_Image_Ext|ret_id|watch|parentId|Display_Emo|comment_emo|level|x5b|x7d|x7c|x5d|u2008|Replace_Force_Tag|Replace_Youtube_Link|comment_emo_list|u2007|u200a|u2006|item|comment_block|charAt|u3000|u2005|comment_youtube|embed|autohide|frameborder|parentID|u2004|https|replace|Replace_Image_Link|u2029|u2003|u2028|u2002|u2001|onclick|Msgs|addComment|name|r_f_c|u2000|window|location|xa0|form_|HTTP|x0b|rc|x3e|x3c|in|HTTPS|parseInt|u200b|comment_child|comment_img|Config|maxThreadDepth|comment_reply|u2009|allowfullscreen'.split('|'),0,{}))       
       //]]>
         </script>

» Tùy chỉnh:

·           Config.maxThreadDepth = 5; là số cấp comment sẽ hiển thị. mặc định mình để lad 5. bạn có thể thay thành số khác. Tuy nhiên không nên phân quá nhiều cấp nếu độ rộng blog của bạn khiêm tốn. (DVD chọn 10)
·           Display_Emo = true; Cài đặt hiện thị mặt cười emoticons. Nếu không muốn hiển thị hãy thay true thành false.
·           Replace_Youtube_Link = true; Cài đặt tự động chuyển link video từ trang youtobe thành trình phát video trên comment. Nếu không muốn hiển thị hãy thay true thành false.
·           Replace_Image_Link = true;Cài đặt tự động chuyển link hình ảnh từ thành hình ảnh trên comment. Nếu không muốn hiển thị hãy thay true thànhfalse.
·           Replace_Force_Tag = true;Cài đặt đóng khung cho code trên comment. Nếu không muốn hiển thị hãy thay true thành false.

5. Thêm đoạn code bên dưới vào trên thẻ ]]></b:skin>  (comment Mẹ-Con):

.comment_wrap {background: #FFF;padding: 10px; border: 1px solid #CCC;
-moz-box-shadow: inset 0 0 10px #CCC;-webkit-box-shadow: inset 0 0 10px #CCC;
box-shadow: inset 0 0 10px #EEE;margin: 10px 0 0 0;}
#comments {clear: both;}
#comments h3{font-size:18px;margin-top:15px;}
#comments .avatar-image-container {float: left;margin: 0 10px 0 0;width: 50px;height: 50px;
max-width:50px;max-height:50px;padding: 0 10px 0 0;border-right: 1px solid #DDD;}
#comments .avatar-image-container img {width: 50px;height: 50px;
max-width: 50px;max-height: 50px; 
background:url(http://1.bp.blogspot.com/-M-tnUtHR8K0/UK4ydWzeYsI/AAAAAAAADUg/
AJMNsU71XSM/s1600/anonymous.jpg) no-repeat;}
.comment_name{font-weight: bold;padding: 0;font-size: 14px;text-decoration: none;}
.comment_name a {font-weight: bold;padding:0;font-size: 14px;text-decoration: none;}
.comment_date {color: #BBB;}
.comment_body p {line-height: 1.5em;margin: 1em 0 0 0;color: #666;word-wrap:break-word;}
.comment_inner {word-wrap: break-word;}
.comment_child .comment_wrap {padding-left: 10px;}
.comment_reply {font-size: 10px;font-weight:bold;text-transform: 
uppercase;margin-left:5px;margin-right:5px;}
.comment_admin .avatar-image-container {border-right: 3px solid #308D9B!important;}
.unneeded-paging-control {display: none;}
.comment-form {max-width: 100%;!important;}
#comment-editor {width:101%!important}
.comment_form a {text-decoration: none;text-transform: uppercase;font-weight: bold;
font-family: Arial, Helvetica, Garuda, sans-serif;font-size: 15px;}
.comment_form a:hover {text-decoration: underline;}
.comment_reply_form {padding: 0 0 0 20px;}
.comment_reply_form .comment-form {width: 99%;}
.comment_emo {max-width: 1.7em;max-height: 1.7em;
vertical-align: middle;margin: -0.3em 0 0 0;}
.comment_emo_list .item {float: left;width: 40px;text-align: center;height: 40px;
margin: 10px 10px 0 0;}
.comment_emo_list span {display: block;font-weight: bold;font-size: 11px;letter-spacing: 1px;}
.comment_youtube {max-width: 100%!important;width: 400px;height: 225px;
display:block;margin:auto}
.comment_img {max-width: 50%; max-height: 50%!important;}
.deleted-comment {padding: 10px 10px 10px 10px;display: block;color: #CCC;}
.comment_service{margin-top:5px;font-size:10px;}
#respond {overflow: hidden;padding-left: 10px;clear: both;}

* Tùy chỉnh:

 

- color: #666 là màu chữ trong cảm nhận, có thể thay #666 bằng màu chữ khác.
- max-width: 1.7em;max-height: 1.7em là độ lớn của icon ecomotion, 
có thể thay 1.7 bằng số khác.
- Thay thế emoticon:
Ký tự thay thế emo phải nằm giữa 2 ký tự //
Với ký tự đặc biệt như [ ] { } \ / ( ) . ? + ^ $ : thì phải thêm ký tự \ trước nó.

Với ký tự < : Phải đổi thành &lt;

Với ký tự > : Phải đổi thành &gt;

Với ký tự & : Phải đổi thành &amp;

Ví dụ: 
:))      thành  :\)\)
:-/      thành  :-\/
>:D<  thành  &gt;:D&lt;

Với những ký tự tắt bao gồm nhau như :)) và :)
Thì bạn phải đặt :)) lên trước dòng :)

Nếu không làm vậy thì chỉ ký tự ít hơn được hiện lên. Và không hiện được kí tự kia.
---


4 nhận xét:

Hướng dẫn viết nhận xét:
- Dán link ảnh trực tiếp vào khung nhận xét không cần dùng thẻ.
* Chú ý: Link ảnh phải đặt cuối cùng. Sau link ảnh đã dán, không gõ thêm bất kỳ ký tự nào nữa, kể cả nhấn Enter.
- Thêm một vài biểu tượng cảm xúc...

Tiện ích hướng dẫn comment và ký tự emoticons Zing

Hướng dẫn viết nhận xét:
- Gõ (hoặc copy và dán) ký tự bên phải biểu tượng cảm xúc muốn chọn vào khung nhận xét.
- Dán link ảnh trực tiếp vào khung nhận xét không cần dùng thẻ.
* Chú ý: Link ảnh phải đặt cuối cùng. Sau link ảnh đã dán, không gõ thêm bất kỳ ký tự nào nữa, kể cả nhấn Enter.
:)) :(( :) :-ss =)) :( :d @-) :p :-o [-( :-? :-t b-( =d>

Tiện ích hướng dẫn comment và ký tự emoticons Yahoo

Hướng dẫn viết nhận xét:
- Gõ (hoặc copy và dán) ký tự bên phải biểu tượng cảm xúc muốn chọn vào khung nhận xét.
- Dán link ảnh trực tiếp vào khung nhận xét không cần dùng thẻ.
* Chú ý: Link ảnh phải đặt cuối cùng. Sau link ảnh đã dán, không gõ thêm bất kỳ ký tự nào nữa, kể cả nhấn Enter.
:(( :( :)) ~X( :-h :-? b-) *-:) ~O) @};- >:D< =)) :) :-* :D [-X x( :-o =D> :@) :P :"> ;;) ;) :X =(( :-/