Jump to content
  • 0

Licensing Module


dansgalaxy

Question

7 answers to this question

Recommended Posts

  • 0

Brought it now

 

How can I have it NOT validate the domain?

 

I have written a cPanel/WHMCS bridge so the cPanel side of the bridge will obviously run on multiple domains. Ideally I want the WHMCS side to still validate the domain though. :/ How can I manage that? :S

Edited by dansgalaxy
Link to comment
Share on other sites

  • 0

Hmm ok, now got another issue. This time the IPs.

 

Again as its running multiple domains AND ip addresses (for customers with dedi IP) I need to limit it with multiple IPs.

 

I tried adding the second IP in the field but still seems to throw up license invalid?

 

It isn't currently caching the localkey so runs live check everytime.

Link to comment
Share on other sites

  • 0

You have two options:

 

Allow IP Conflict

 

Or

 

Rename /modules/licensing/verify.php to whmcs_verify.php

Edit /modules/licensing/verify.php to


// Some code to check the IPs... if this is that script calling, validate it yourself from the DB if not, continue...

require_once("whmcs_verify.php");

 

 

Kind of defeats the purpose of buying it, but it will still generate keys for you? And this way you can still use the same file name for HTTP requests for other scripts you licnse.

 

This is what I have done with mine as I needed mine to run either with a key, or validate if the domain had a good hosting package, then let the CMS run. But both access the same file as the files are the same.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated