DataHosts Posted April 4, 2008 Share Posted April 4, 2008 This integration is too basic and tedious. Have you gotten it done in a quicker method? I think that the contributions are great, and if you have a better one....It would be great to post it. Great job RPS 0 Quote Link to comment Share on other sites More sharing options...
RPS Posted April 4, 2008 Author Share Posted April 4, 2008 So, is this something you would / could use to store cPanel, Fantastico, RVSite Builder, WHMCS, etc licenses in, and then issue them to your dedicated & VPS clients as needed? OR am I missing the boat somewhere? - I don't see a reason why that wouldn't work. 0 Quote Link to comment Share on other sites More sharing options...
arcdigital Posted May 3, 2008 Share Posted May 3, 2008 So, is this something you would / could use to store cPanel, Fantastico, RVSite Builder, WHMCS, etc licenses in, and then issue them to your dedicated & VPS clients as needed? OR am I missing the boat somewhere? It wouldn't work with cPanel, Fantastico, or RVSiteBuilder as they all license based on IP, and you have to activate that manually. It would work if you have WHMCS reseller licenses, as you get all the license keys and they don't need to be "Licensed to an IP" it does that automatically on first access. 0 Quote Link to comment Share on other sites More sharing options...
RPS Posted May 4, 2008 Author Share Posted May 4, 2008 It wouldn't work with cPanel, Fantastico, or RVSiteBuilder as they all license based on IP - There is nothing stopping you from including the IP with the license key. 0 Quote Link to comment Share on other sites More sharing options...
Presentia Posted May 23, 2008 Share Posted May 23, 2008 We would like to use License key manager by RPS. I have few questions. We would like to use our desktop application for tracking business trips. How can we link this license manager and our desktop program. Is that possible ? Thank you for your answer. 0 Quote Link to comment Share on other sites More sharing options...
RPS Posted May 23, 2008 Author Share Posted May 23, 2008 We would like to use our desktop application for tracking business trips.How can we link this license manager and our desktop program. - That is out of the scope of what I am willing to do for free. It is possible though. 0 Quote Link to comment Share on other sites More sharing options...
TheHostingHeroes Posted May 24, 2008 Share Posted May 24, 2008 hi Gr8 tool!! how do i delete a key? i added one as a test that i dont actually want. 0 Quote Link to comment Share on other sites More sharing options...
mstorman Posted May 30, 2008 Share Posted May 30, 2008 wow, what a sweet script. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
cafreamoroso Posted August 5, 2008 Share Posted August 5, 2008 hi Gr8 tool!! how do i delete a key? i added one as a test that i dont actually want. delete license needed..!! 0 Quote Link to comment Share on other sites More sharing options...
RPS Posted August 5, 2008 Author Share Posted August 5, 2008 I think Matt is working on his own version of the license key script, so I probably won't update this until I see if he was able to come up with something better. If he doesn't, then I'll add the delete a key function in here. In the mean time, you can look at the database and just remove the row for the key you do not want. 0 Quote Link to comment Share on other sites More sharing options...
arcdigital Posted August 23, 2008 Share Posted August 23, 2008 I believe Matt is working on a Licensing System (For PHP software, etc...), not license key management . 0 Quote Link to comment Share on other sites More sharing options...
DataHosts Posted August 27, 2008 Share Posted August 27, 2008 Yes...this is not like what you offer RPS. 0 Quote Link to comment Share on other sites More sharing options...
Nimitz1061 Posted September 18, 2008 Share Posted September 18, 2008 I'm not real clear on where this code is being added - what file does this address? Also, I'd be interested in the API code as well. What I would like to do is use this to issue 2 part keys for an ebook I have written.. - Because this script should be fine for most people, and most people don't want to shove out $100/year for phpaudit... - Here's an example: $kaspersky_response = file_get_contents("http://www.your-domain.com/order.php?key=SomeRandomKeyThatAllowsAccessToAPI&company=Kaspersky&product=AntiVirus&type=OEM"); $kaspersky_response_parts = explode(",", $kaspersky_response); // grab serial number $serialnumber = $kaspersky_response_parts[2]; if(trim($kaspersky_response_parts[0]) == "SUCCESS") { // we received a serial number! $serialnumber = $kaspersky_response_parts[2]; } else{ // there was an error, licenses are possibly sold out $serialnumber = "There has been an error generating a license, please contact support."; } 0 Quote Link to comment Share on other sites More sharing options...
KayoteX Posted September 29, 2008 Share Posted September 29, 2008 Yeah, Matt's module released and it's cool. But let's continue with your module, because it's fully different. 0 Quote Link to comment Share on other sites More sharing options...
plazmahost Posted January 29, 2009 Share Posted January 29, 2009 is this going to be continued or has it been disbanded dan 0 Quote Link to comment Share on other sites More sharing options...
kenjin Posted February 1, 2009 Share Posted February 1, 2009 please continue with this, its perfect for what I`m looking for 0 Quote Link to comment Share on other sites More sharing options...
RPS Posted February 1, 2009 Author Share Posted February 1, 2009 I'll help support it as long as people are using it. Just post any problems with it here. 0 Quote Link to comment Share on other sites More sharing options...
kenjin Posted February 2, 2009 Share Posted February 2, 2009 RPS, I could do with a chat with you? can't find the pm button on here? maybe i`m a bit dim? 0 Quote Link to comment Share on other sites More sharing options...
ausloki Posted February 4, 2009 Share Posted February 4, 2009 We resell eset's products NOD32 etc. for us the licenses are given to us per client on purchase every month but we of course would need a way to allocate the product username/password and have a reminder system automated within the whmcs products/service maybe, but ultimately we just need it to generate email reminders of the renewal in advance and possibly create an invoice. Thankyou for the work so far its always appreciated. 0 Quote Link to comment Share on other sites More sharing options...
jozeph Posted March 13, 2009 Share Posted March 13, 2009 Please, there are a lot of updates in forum. Is it possible you release a new module.zip file that contains all updates? 0 Quote Link to comment Share on other sites More sharing options...
Speedy059 Posted March 13, 2009 Share Posted March 13, 2009 Does this product manage WHMCS licenses? We give WHMCS licenses to our clients, how effective will this software manage it? Will we be able to mark which client has the WHMCS license assigned to them? Is there a drop down menu of all the clients to easily mark who owns the license? 0 Quote Link to comment Share on other sites More sharing options...
Blazr Posted April 10, 2009 Share Posted April 10, 2009 Where does this code go? I would like to use the licensing addon as I don't need to use Matt's as I only plan to sell a few licenses. - Because this script should be fine for most people, and most people don't want to shove out $100/year for phpaudit... - Here's an example: $kaspersky_response = file_get_contents("http://www.your-domain.com/order.php?key=SomeRandomKeyThatAllowsAccessToAPI&company=Kaspersky&product=AntiVirus&type=OEM"); $kaspersky_response_parts = explode(",", $kaspersky_response); // grab serial number $serialnumber = $kaspersky_response_parts[2]; if(trim($kaspersky_response_parts[0]) == "SUCCESS") { // we received a serial number! $serialnumber = $kaspersky_response_parts[2]; } else{ // there was an error, licenses are possibly sold out $serialnumber = "There has been an error generating a license, please contact support."; } 0 Quote Link to comment Share on other sites More sharing options...
RPS Posted April 10, 2009 Author Share Posted April 10, 2009 Where does this code go? I would like to use the licensing addon as I don't need to use Matt's as I only plan to sell a few licenses. - Read the first post. 0 Quote Link to comment Share on other sites More sharing options...
scouthostinguk Posted March 26, 2010 Share Posted March 26, 2010 Can I ask as to where i put this code as i'm lossed? Any help would be welcomed David Here's the next part for anyone that wants to see how the API works to issue a license. So you have the license key manager installed, and now you want to connect to it, so that it issues a license, and updates the database so that the license is no longer available. You can test the script by going to: http://www.your-domain.com/order.php?key=SomeRandomKeyThatAllowsAccessToAPI&company=Kaspersky&product=AntiVirus&type=OEM You will need to update the Company, Product, and Type variables that are passed, to line up with a license that is in your database (look at an entry on the license key mod page). <?php // location for WHMCS configuration file require('../../../../configuration.php'); $key = $_GET['key']; $company = $_GET['company']; $product = $_GET['product']; $type = $_GET['type']; // http://www.your-domain.com/order.php?key=SomeRandomKeyThatAllowsAccessToAPI&company=Kaspersky&product=AntiVirus&type=OEM if($key == "SomeRandomKeyThatAllowsAccessToAPI") { mysql_connect($db_host, $db_username, $db_password) or die(mysql_error()); mysql_select_db($db_name) or die(mysql_error()); # Let's grab the ID and License Key for the first license that is available $result = mysql_query("SELECT `id`,`key` FROM mod_license_keys WHERE avail='1' AND company='".$company."' AND product='".$product."' AND type='".$type."' LIMIT 1"); $grab_fieldname = mysql_fetch_row($result); $id = $grab_fieldname[0]; $licensekey = $grab_fieldname[1]; // License is sold out, send error message if(!$licensekey){ echo "SOLD OUT";} else{ // output the id (location) and serial number echo "SUCCESS,".$id.",".$licensekey;} // set serial number to be no longer available mysql_query("UPDATE mod_license_keys SET avail='0' WHERE id='".$id."'"); } ?> 0 Quote Link to comment Share on other sites More sharing options...
visualtron Posted March 26, 2010 Share Posted March 26, 2010 Can I ask as to where i put this code as i'm lossed? Any help would be welcomed David You can place this under /modules/admin/license_keys/ But i had to change the following for it to work. require('../../../../configuration.php'); to require('../../../configuration.php'); 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.