Friday, 15 January 2021

Create a Blogger License With a Unique Code

Create a Blogger License With a Unique Code
January 15, 2021
Currently there are many of us who can make their own digital products, especially blogger templates and wordpress themes then sold to consumers, but the matter that's often experienced by template developers is that the theft and sale of their templates illegally, this is often what makes application and template developers become sad and hopeless.
For you template developers now's not the time to offer up and let's revive your ability to make other interesting products because within the discussion during this article i will be able to provide a tutorial or how which may solve your problem a touch , namely the way to make a blogger template license. .
Before stepping into the discussion, there are several sorts of licenses that you simply got to know in order that your product looks professional within the eyes of the client.
Type of License Type for Digital Products
Professional license
Personal license may be a sort of digital product where an individual can only use their own product services. Usually this license isn't allowed to be resold or modified.
Private Label Right
Private Label Right (PLR) may be a license where products are often resold and you'll also sell them at full profit. The owner of the merchandise provides the copyright for resale.
Developer License
Developer license or it are often said that a developer license may be a sort of product license where someone can redevelop a product that has been purchased and there's no license limit per month or year in order that the developer license owner can use it forever.
The type of license that I made is nearly an equivalent because the license for other template developers, why do I say almost? Because the script that I write below is far simpler and straightforward to know or it are often said that it's not long-winded.
For the safety level of this license, i feel it's quite safe counting on how you apply the license code in your template and if you would like to be safer you ought to encrypt the script code below using an obfuscator along side your javascript template code to form it safer.
An example of the license code which will be generated by the script that I created is as follows:
MjEyNTU2NTMwMjY1MDc2ODYwMA ==
In order to not further ado, please try the license generator below using your BLOGGER ID.


Blog ID
License


Next, add   the html code or section below above the header of your template code. The code section below serves as a place to put the license code that you created earlier.
<b:section id='license' name='License' showaddelement='false'>
  <b:widget id='HTML55' locked='true' title='License' type='HTML' version='2' visible='true'>
    <b:widget-settings>
      <b:widget-setting name='content'>Masukkan Lisensi Disini</b:widget-setting>
    </b:widget-settings>
    <b:includable id='main'>
<div id='license-code'><data:content/></div>
</b:includable>
  </b:widget>
</b:section>

Then copy the html code below, it's free for you because this code is a link code with the license code that has been made.

<div id='myIdBlog'><data:blog.blogId/></div>

Make sure you hide the html code in a safe place so that irresponsible people don't steal your template.

Next, copy the jquery code below then put it in the middle or end of your javascript code and I remind you again so that the license is safer, combine the javascript code below with your javascript template code.

$(document).ready(function () { 
  var license = $('#license-code').text(),
          myLicense = atob(license),
      tpllc = $('#myIdBlog').text(),
      second = 10;
      console.log(myLicense);
    if (myLicense == tpllc) {
        return false
    } else {
        $('body').append('<style>body{background:#000!important;overflow:hidden}#peringatan span{font-size:50px}#peringatan{z-index:999999999;position:fixed;top:0;right:0;left:0;padding:20% 0;height:100%;text-align:center;background:rgba(248,40,40,0.97);color:#fff}}</style><div id="peringatan"><h4>Activate Templates</h4><p>Silahkan hubungi  <b>www.hartomy.com</b> untuk mendapatkan lisensi Template</p><span id="aktivasi">'+second+'</span></div>');
        setInterval(function () {
      second <= 1 ? window.location.href = "https://www.miusm-tech.com/" : $('#aktivasi').text(--second);
    }, 1e3)
    }
});
which says https://www.miusm-tech.blogspot.com/ please replace it with your blog link because if the license is not installed or wrong then the blog will point to the link you wrote.

Because I am kind, I also provide the code generator that I have created for you.

Please create a new page on your blog with a free name then copy the html code and javascript code below and paste it in the edit html section.

Html code.

<div class="container all-input">
    <div class="input-group mb-2" >
        <div class="input-group-prepend">
          <span class="input-group-text">ID Blog</span>
        </div>
        <input id="idBlog" type="text" value="" class="form-control focus"/>
        <div class="input-group-prepend">
            <button class="rounded-right btn btn-outline-info" type="button" id="generate">Generate</button>
        </div>
    </div>
    <div class="input-group mb-2" >
        <div class="input-group-prepend">
          <span class="input-group-text">Licence</span>
        </div>
        <input readonly id="hasil" type="text" value="" class="form-control focus"/>
    </div>
</div>

Javascript / jquery code

$("#generate").click(function(){
    var myID = $('#idBlog').val();
    var idGenerate = btoa(myID);
    $('#hasil').val(idGenerate);
    console.log(idGenerate);
});


That's all I can share first in this article, the code I wrote above is purely the result of my personal experience and the code above may not be 100% the same as other template developers but the license code generated is 100% exactly the same as other template developers and the level of security it has I think is solid.

Thank you for visiting, please help support this blog with some that appear on this page.


Share This :
SUBSCRIBE TO OUR NEWSLETTER

No comments: