How to Create a Blogger License With a Unique Code

How to Create a Blogger License With a Unique Code
How to Create a Blogger License With a Unique Code


Currently, there are many people who can make their own digital products, especially blogger templates and WordPress themes and then sold to consumers, but the problem that is often experienced by template developers is the theft and sale of their templates illegally, this is what makes application and template developers become sad and hopeless.


For you template developers now is no longer the time to give up and let's revive your ability to create other interesting products because in the discussion in this article I will provide a tutorial or a way that might solve your problem a little, namely how to make a blogger template license.


Before getting into the discussion, there are several types of licenses that you need to know so that your product looks professional in the eyes of the client.

    Type of License Type for Digital Products

  1. Professional license
  2. Personal license is a type of digital product where a person can only use their own product services. Usually this license is not allowed to be resold or modified.
  3. Private Label Right
  4. Private Label Right (PLR) is a license where products can be resold and you can also sell them at full profit. The owner of the product provides the copyright for resale.
  5. Developer License
  6. Developer license or it can be said that a developer license is a type of product license where someone can redevelop a product that has been purchased and there is no license limit per month or year so that the developer license owner can use it forever.

The type of license that I made is almost the same as the license for other template developers, why do I say almost? Because the script that I write below is much simpler and easier to understand or it can be said that it is not long-winded.

For the security level of this license, I think it is quite safe depending on how you apply the license code in your template and if you want to be more secure, you should encrypt the script code below using an obfuscator together with your javascript template code to make it safer.

An example of the license code that will be generated by the script that I created is as follows:

MTA0MzUzNDg3MjIwNjU1NDQyMQ==

In order not to further ado, please try the license generator below using your BLOGGER ID.

ID Blog
Licence


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'>Enter the License Here</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>Please contact <b>+923000762460</b> to obtain a template license</p><span id="aktivasi">'+second+'</span></div>');
setInterval(function () {
second <= 1 ? window.location.href = "https://nqnia.blogspot.com/" : $('#aktivasi').text(--second);
}, 1e3)
}
});

which says https://productsforum.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.


1 Komentar

Posting Komentar

Lebih baru Lebih lama
Post ADS 1
Post ADS 1