Ninja Slider / Posts /

License question for the website that has multiple domain names

6

My website has multiple domains pointing to it, and I have acquired the slider licenses for each domain. How do I apply the multiple licenses to the same ninja-slider.js file?

Charles  10 years ago   viewed: 38696    

7 Answers

3

You can add a piece of code just after the var nsOptions = {...} block to handle the different domains.

Suppose you have three domains pointing to the same website: license1 for domain1.com, license2 for domain2.com, and license3 for domain3.com. Below is the sample code how to apply the three licenses:

var nsOptions = { ...... license: "license1" }; if(document.domain.indexOf("domain2.com")!=-1) nsOptions.license = "license2"; else if (document.domain.indexOf("domain3.com")!=-1) nsOptions.license = "license3"; var nslider = new NinjaSlider(nsOptions); /* Ninja Slider ... (the follows are remain unchanged)

Notice the domain names should not include any http:// or www. as the license won't check them. Also, all domain names MUST be in lower case.

Milo   10 years ago
1
However, if your other domains will be redirect to domain1.com, you don't need multiple licenses. You just need one license for the domain1.com.
Milo   10 years ago
1

I have purchased license for app.domain.com. But I have many doamins pointing to the app for example-
app.domain1.com, app.domain2.com, app.domain3.com so on... and obviously it will not work for different domain. But the point is, it is same application hosted on single domain for which i have purchased license except it may use differnet domain names sometime. Do I have to buy license for all of the domains? :(

nijaSlider User   8 years ago
0

If all domains will be redirected to app.domain.com, you only need to purchase a license for domain.com. Otherwise, you have to purchase multiple licenses for domain1.com, domain2.com, and so on.

Milo   8 years ago
0

you have acquired multiple licenses for the Ninja Slider JavaScript file for each of your domains, you can apply the licenses by following these steps:

  1. Make sure you have obtained the correct license keys for each domain. Each license key is specific to a particular domain.

  2. Locate the ninja-slider.js file on your server. This file is usually included in the HTML code of your website.

  3. Open the ninja-slider.js file using a text editor or an integrated development environment (IDE).

  4. Look for a section in the file where you can enter the license keys. This section might be labeled as "License Keys" or something similar. The specific location may vary depending on the version of the Ninja Slider you are using.

  5. Inside the license key section, you should see a placeholder or a variable where you can input the license key. It may look something like this:

javascript
var licenseKey = 'YOUR_LICENSE_KEY';
  1. Replace the placeholder or the existing license key with the license key corresponding to the current domain. For example:
javascript
var licenseKey = 'LICENSE_KEY_FOR_DOMAIN1';
  1. Repeat the above step for each domain, replacing the license key with the corresponding key for each domain.

  2. Save the ninja-slider.js file after making the necessary changes.

By following these steps, you have applied the respective license keys to the ninja-slider.js file for each of your domains. Make sure to upload the modified file to your server and update the HTML code on each domain to include the modified JavaScript file.

Lorba
  one year ago
0

Depending on the kind of license and the software or services in question, there can be differences in the details when handling licenses for a website with several domain names.
Go over each license's terms and conditions carefully to make sure you understand all of the requirements, rights, and restrictions.
Look Up Any Domain Restrictions Here: Specific provisions about domain usage are found in certain licenses. Make sure you abide by these requirements to stay out of trouble with the law.
1. Contact the Supplier
For assistance, get in touch with the software or content provider if you're unclear about the number of domains supported or require clarification.

https://www.menucool.com/vertical/geometry dash/accordion-menu 
2. If the normal terms don't suit your needs, you may be able to negotiate a license that does. Keep abreast of any modifications to the licensing conditions or costs that might have an impact on your numerous domains.

smiletransire
  2 months ago
0

Thank you so much! Your content is much appreciated. Check out <a href="https://www.elkgrovebathroomremodel.com/"> bathroom builders elk grove </a>

elk grove   10 hours ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: