For world peace, liberate Al-Aqsa, eliminate Israel and anyone who is with Israel, they are the real terrorists
Bacakan

Membuat widget country block pada template median UI 1.7

Hello sobat ICloudzer kali ini admin akan menjelaskan mengenai cara menambahkan widget pemblokir zona negara atau widget country block pada template median UI 1.7

Info: Jika kamu sudah penasaran dengan pembahasan kita kali ini yuk langsung aja kita bahas bersama sama

Country block

Country block merupakan widget untuk menampilkan peringatan pada akses jaringan yang di gunakan pada suatu negara, yakni memblokir akses dari negara tertentu dengan menggunakan zona waktu ataupun wilayah yang di gunakan oleh negara tersebut, jika fitur pemblokir jaringan negara ini telah di terapkan ataupun telah di aktifkan pada template median UI anda maka seluruh tampilan blog akan menghilang dan hanya menyisakan beberapa widget pada template median UI 1.7, silahkan Download Template median UI terbaru v1.7 yang sudah dilengkapi fitur Country block di dalam nya

Contoh tampilan

Silahkan periksa contoh tampilan dari widget pemblokir akses dari negara tertentu yang telah admin sediakan pada gambar di bawah ini

Contoh demo widget pemblokir zona negara di blogger Contoh demo widget pemblokir zona negara di blogger

Info: Pesan ataupun notifikasi dari fitur country block akan muncul secara otomatis apabila, zona negara terdeteksi oleh kode script

Cara pembuatan

Baiklah sobat ICloudzer sekarang saatnya admin bakalan menjabarkan mengenai cara membuat widget pemblokir akses jaringan dari negara tertentu pada template median UI 1.7, silahkan baca dan ikuti setiap arahan yang admin jabarkan di bawah ini

  1. Silahkan login ke blogger menggunakan akun google milikmu
  2. Kemudian silahkan pergi ke menu Theme atau Tema kemudian pilih menu Edit HTML
  3. Kemudian silahkan cari kode seperti di bawah ini
  4. <b:if cond='data:view.isLayoutMode or data:view.isError'>
        <b:tag class='errorP flex' name='section'>
          <b:section class='errorC' id='error-404' showaddelement='false'>
            <b:widget id='TextList404' locked='true' title='Take me back' type='TextList' version='2' visible='true'>
              <b:widget-settings>
                <b:widget-setting name='shownum'>3</b:widget-setting>
                <b:widget-setting name='sorting'>NONE</b:widget-setting>
                <b:widget-setting name='item-2'><![CDATA[We can't seem to find the page you are looking for, we'll fix that soon but for now you can return to the home page]]></b:widget-setting>
                <b:widget-setting name='item-1'><![CDATA[Something's wrong]]></b:widget-setting>
                <b:widget-setting name='item-0'>ERROR 404</b:widget-setting>
              </b:widget-settings>
              <b:includable id='main'>
                <b:include name='content'/>
              </b:includable>
              <b:includable id='content'>
                
                <b:loop index='error' values='data:items' var='item'>
                  <b:if cond='data:error &lt;= 2'>
                    <b:tag expr:name='data:error == 0 or data:error == 1 ? &quot;div&quot; : &quot;p&quot;'>
                      <b:attr expr:value='data:error == 0 and data:error != 2 ? &quot;e&quot; : &quot;t&quot;' name='class'/>
                      <b:attr cond='data:error == 2' name='class' value='opacity'/>
                      <data:item/>
                    </b:tag>
                  </b:if>
                </b:loop>
                
                <b:comment><!--[ Homepage button ]--></b:comment>
                <a class='button' expr:aria-label='data:title' expr:href='data:blog.homepageUrl.canonical'>
                  <b:comment><!--[ Remove tag bellow to change button style, or you can try to replace/add the attribute with name='round' ]--></b:comment>
                  <b:class name='ln'/>
                </a>
                
              </b:includable>
            </b:widget>
          </b:section>
        </b:tag>
        </b:if>

    Info: Atau kamu bisa menggunakan tombol menu Lompat ke widget LinkList404 untuk menemukan kode tersebut

  5. Jika sudah ketemu silahkan tambahkan atau letakkan kode di bawah ini, tepat di atas nya
  6. <b:comment><!--[ Anti AdBlock, change "true" or "false" for showed ]--></b:comment>
            <b:section id='blockzone' maxwidgets='1' showaddelement='false'>
            <b:widget cond='!data:view.isPreview' id='HTML828' locked='true' title='Country Block!' type='HTML' version='2' visible='true'>
              <b:widget-settings>
                <b:widget-setting name='content'>Sorry! This site is not available in your country.</b:widget-setting>
              </b:widget-settings>
              <b:includable id='main'>
             <details class='nJ rahCntryId hidden' open=''>
             <summary class='n'><span class='c' data-text='Ignore it'/></summary>
             <span expr:data-text='data:content'/>
             </details>
             <script>/*<![CDATA[*/
    const rahDataCon = 'Asia/Jakarta';
    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}('p d=["\\m\\e\\q\\i\\c","\\s\\j\\c\\k\\e\\c\\D\\i\\c\\n\\c\\f\\e","\\e\\c\\E\\e\\t\\g\\f\\e\\c\\f\\e","\\w\\n\\k\\h\\f\\F\\G\\l\\h\\m\\o\\i\\k\\q\\x\\f\\g\\f\\c\\H\\h\\n\\o\\g\\j\\e\\k\\f\\e\\I","\\k\\o\\o\\c\\f\\l\\t\\r\\h\\i\\l","\\r\\c\\k\\l","\\e\\h\\n\\c\\y\\g\\f\\c","\\j\\c\\m\\g\\i\\z\\c\\l\\J\\o\\e\\h\\g\\f\\m","\\K\\h\\n\\c\\A\\y\\g\\f\\c\\x\\A","\\i\\g\\L","\\r\\h\\l\\l\\c\\f","\\j\\c\\n\\g\\z\\c","\\s\\i\\k\\m\\m\\M\\h\\m\\e","\\w\\j\\k\\r\\t\\f\\e\\j\\q\\N\\l","\\O\\P\\c\\j\\q\\Q\\c\\i\\c\\s\\e\\g\\j"];u B(){p a=v[d[1]](d[0]);a[d[2]]=d[3];v[d[5]][d[4]](a)}u C(){p a=(R.S()[d[7]]()[d[6]]);p b=T;U[d[9]](d[8]+a);B();V(a===b){W(u(){v[d[X]](d[Y])[d[12]][d[11]](d[10])},Z)}}C()',62,65,'||||||||||||x65|_0xe068|x74|x6E|x6F|x69|x6C|x72|x61|x64|x73|x6D|x70|var|x79|x68|x63|x43|function|document|x2E|x3A|x5A|x76|x20|rahCntryError|checkCntry|x45|x78|x57|x7B|x21|x7D|x4F|x54|x67|x4C|x49|x71|x75|x53|Intl|DateTimeFormat|rahDataCon|console|if|setInterval|14|13|1000|||'.split('|'),0,{}))/*]]>*/</script>
             </b:includable>
            </b:widget>
          </b:section> 

    Info: Kemudian simpan template dan lihat bagaimana hasilnya

  7. Jika bingung bagaimana cara meletakkan nya, silahkan lihat contoh kode di bawah ini
  8. 
    <b:comment><!--[ Anti AdBlock, change "true" or "false" for showed ]--></b:comment>
            <b:section id='blockzone' maxwidgets='1' showaddelement='false'>
            <b:widget cond='!data:view.isPreview' id='HTML828' locked='true' title='Country Block!' type='HTML' version='2' visible='true'>
              <b:widget-settings>
                <b:widget-setting name='content'>Sorry! This site is not available in your country.</b:widget-setting>
              </b:widget-settings>
              <b:includable id='main'>
             <details class='nJ rahCntryId hidden' open=''>
             <summary class='n'><span class='c' data-text='Ignore it'/></summary>
             <span expr:data-text='data:content'/>
             </details>
             <script>/*<![CDATA[*/
    const rahDataCon = 'Asia/Jakarta';
    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}('p d=["\\m\\e\\q\\i\\c","\\s\\j\\c\\k\\e\\c\\D\\i\\c\\n\\c\\f\\e","\\e\\c\\E\\e\\t\\g\\f\\e\\c\\f\\e","\\w\\n\\k\\h\\f\\F\\G\\l\\h\\m\\o\\i\\k\\q\\x\\f\\g\\f\\c\\H\\h\\n\\o\\g\\j\\e\\k\\f\\e\\I","\\k\\o\\o\\c\\f\\l\\t\\r\\h\\i\\l","\\r\\c\\k\\l","\\e\\h\\n\\c\\y\\g\\f\\c","\\j\\c\\m\\g\\i\\z\\c\\l\\J\\o\\e\\h\\g\\f\\m","\\K\\h\\n\\c\\A\\y\\g\\f\\c\\x\\A","\\i\\g\\L","\\r\\h\\l\\l\\c\\f","\\j\\c\\n\\g\\z\\c","\\s\\i\\k\\m\\m\\M\\h\\m\\e","\\w\\j\\k\\r\\t\\f\\e\\j\\q\\N\\l","\\O\\P\\c\\j\\q\\Q\\c\\i\\c\\s\\e\\g\\j"];u B(){p a=v[d[1]](d[0]);a[d[2]]=d[3];v[d[5]][d[4]](a)}u C(){p a=(R.S()[d[7]]()[d[6]]);p b=T;U[d[9]](d[8]+a);B();V(a===b){W(u(){v[d[X]](d[Y])[d[12]][d[11]](d[10])},Z)}}C()',62,65,'||||||||||||x65|_0xe068|x74|x6E|x6F|x69|x6C|x72|x61|x64|x73|x6D|x70|var|x79|x68|x63|x43|function|document|x2E|x3A|x5A|x76|x20|rahCntryError|checkCntry|x45|x78|x57|x7B|x21|x7D|x4F|x54|x67|x4C|x49|x71|x75|x53|Intl|DateTimeFormat|rahDataCon|console|if|setInterval|14|13|1000|||'.split('|'),0,{}))/*]]>*/</script>
             </b:includable>
            </b:widget>
          </b:section>
     
       <b:if cond='data:view.isLayoutMode or data:view.isError'>
        <b:tag class='errorP flex' name='section'>
          <b:section class='errorC' id='error-404' showaddelement='false'>
            <b:widget id='TextList404' locked='true' title='Take me back' type='TextList' version='2' visible='true'>
              <b:widget-settings>
                <b:widget-setting name='shownum'>3</b:widget-setting>
                <b:widget-setting name='sorting'>NONE</b:widget-setting>
                <b:widget-setting name='item-2'><![CDATA[We can't seem to find the page you are looking for, we'll fix that soon but for now you can return to the home page]]></b:widget-setting>
                <b:widget-setting name='item-1'><![CDATA[Something's wrong]]></b:widget-setting>
                <b:widget-setting name='item-0'>ERROR 404</b:widget-setting>
              </b:widget-settings>
              <b:includable id='main'>
                <b:include name='content'/>
              </b:includable>
              <b:includable id='content'>
                
                <b:loop index='error' values='data:items' var='item'>
                  <b:if cond='data:error &lt;= 2'>
                    <b:tag expr:name='data:error == 0 or data:error == 1 ? &quot;div&quot; : &quot;p&quot;'>
                      <b:attr expr:value='data:error == 0 and data:error != 2 ? &quot;e&quot; : &quot;t&quot;' name='class'/>
                      <b:attr cond='data:error == 2' name='class' value='opacity'/>
                      <data:item/>
                    </b:tag>
                  </b:if>
                </b:loop>
                
                <b:comment><!--[ Homepage button ]--></b:comment>
                <a class='button' expr:aria-label='data:title' expr:href='data:blog.homepageUrl.canonical'>
                  <b:comment><!--[ Remove tag bellow to change button style, or you can try to replace/add the attribute with name='round' ]--></b:comment>
                  <b:class name='ln'/>
                </a>
                
              </b:includable>
            </b:widget>
          </b:section>
        </b:tag>
        </b:if>

    Info: Begitulah sobat pembahasan kita kali ini mengenai cara membuat atau menambahkan widget country block pada template median UI 1.7, jika kamu bukan pengguna median UI dan ingin memasang fitur ini, silahkan hubungi admin melalui kolom komentar, okay semoga bermanfaat

About the Author

Keindahanmu akan kuabadikan disetiap karyaku.

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.