Easy! Here's How to Make a Blogger Template License Generator Tool on a Blog By Invesroc

Post a Comment
How to Install Generator Tools to Create Template Licenses on Blogs - For a blogger, you must be familiar with template licenses. This license is very very useful for a blogger as well as a blogger blogspot template designer. Because by installing a license on the template, the template that you share will be safe from naughty hands who try to change the developer template that you have worked so hard to create.

In this article, I will give a tutorial on how to make a generator tool to create only the license code. Not discussing how to install a license on a blogger template. Maybe for a discussion of how to install a template license, it will be discussed in the next article. But before continuing, I will explain a little about the license and its functions. The following is a brief explanation of what a template license is and the function of installing a license on a template.


What is a Template License?

The template license is a unique code generated from the blogger ID code. The blogger ID code will later be changed to a unique code arrangement. This unique code will be installed in the blogger template that was created earlier. But do you know what the function of this template license is? If you don't know the function of this template license, you can read the brief explanation below.

Functions & Importance of Installing Licenses in Templates

Of course, the main function of licensing the template itself is to tell the user of the template that the template is his work. And if anyone wants to try to change the credit that has been installed, then the blog will be redirected to the blog page or website of the template owner. So you can not arbitrarily change all the code structure in HTML.

Or there is also something that is safer than that, the template will not be able to be used on the blog if you have not verified the domain first. Usually this happens because the template maker is worried if someone has bought his template and then resold it illegally. 

Although the template can be applied to a blog, the blog will not be able to display content normally. An example is the license on a template designed by Dunia Blanter. All templates that have been created have a very strong license installed. 

So that's a little explanation about what a license is and the function of installing a license on a template. Next we go to the core of the discussion, namely how to make a generator tool to create a license code. Here are the steps.

How to make a generator tool to create a unique license code on a blogger template

Before continuing, make sure your blog has jQuery installed first. Because if not, this tool will not function normally. You can choose one of the jQuery below:
  1. <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js'></script>
  2. <script src='https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js'></script>
  3. <script src='https://code.jquery.com/jquery-3.3.1.min.js'></script>
  1. Open your blogger dashboard
  2. Create a new static page or use an existing page too
  3. Then copy all the HTML code below into the content in Mode HTMLnotCompose
    <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 class="form-control focus" id="idBlog" type="text" value="" />
    <div class="input-group-prepend">
    <button class="rounded-right btn btn-outline-info" id="generate" type="button">Generate</button>
    </div>
    </div>
    <div class="input-group mb-2">
    <div class="input-group-prepend">
    <span class="input-group-text">Licence</span>
    </div>
    <input class="form-control focus" id="hasil" readonly="" type="text" value="" />
    </div>
    </div>
  4. Then add jQuery below or after the HTML code above
    <script type="text/javascript">//<![CDATA[
    /*! jQuery v2.1.3 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
    $("#generate").click(function(){
    var myID = $('#idBlog').val();
    var idGenerate = btoa(myID);
    $('#hasil').val(idGenerate);
    console.log(idGenerate);
    });
    //]]></script>
  5. If you have clicked publish or save
Up here you have succeeded in creating a generator tool to create a template license. You can see a preview of the live results below.
Result
That's a tutorial on how to make a generator tool to create a blogger template license on a blog that I can give in this article. If there is still something that is not clear or you don't understand, just ask in the comments column.

Related Posts

Post a Comment