Jump to content

Licensing Addon Questions


HostUWeb

Recommended Posts

Hello,

 

A buddy of mine purchased the licensing addon with his owned script and I was thinking of purchasing the addon.

 

But I have a couple questions helping him set his up first lol.

 

After everything's working and tested by us I will order it.

 

We setup a php page with the contents of check_sample_code.php into it and I took out the debug option but I suspend the license and no matter what it still shows the page running.

 

Is there a place to customize the suspended message? All I simply did was put code at the top of the script with the license # and it did call back and set the IP and URL ad directory however it will not suspend for some reason is where I am confused.

 

All I want it to do is go to a license suspended / contact page on his site if it is suspended.

 

Any help is greatly appreciated.

 

Thanks,

 

Derl

Link to comment
Share on other sites

I've coded a friends Licenseing sample code.

 

if ($results["status"]=="Active") {
echo "You're Active";
   if ($results["localkey"]) {
       # Save Updated Local Key to DB or File
       $localkeydata = $results["localkey"];
   }
} elseif ($results["status"]=="Invalid") {
echo "You're Invalid";
} elseif ($results["status"]=="Expired") {
echo "You're Expired";
} elseif ($results["status"]=="Suspended") {
echo "You're Suspended"; 
}

 

Where it shows echo "";

 

You can change to your text or include a page or a redirect.

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
Reply to this topic...

×   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