aaronfaby Posted May 12, 2009 Share Posted May 12, 2009 Hey all, I want to create an admin module to track license keys for products your business uses (control panel license keys, etc). It says I can use IP_manager as a template, but it's encoded. Anyone know where I can find some good info on creating a module? I tried the docs but did not find an obvious place. Thanks! Aaron 0 Quote Link to comment Share on other sites More sharing options...
Nimitz1061 Posted May 13, 2009 Share Posted May 13, 2009 http://wiki.whmcs.com/Creating_Modules There is a downloadable kit available - you must be logged in to download it. David 0 Quote Link to comment Share on other sites More sharing options...
WebWorker Posted May 13, 2009 Share Posted May 13, 2009 There is one called example.php 0 Quote Link to comment Share on other sites More sharing options...
tomdchi Posted May 14, 2009 Share Posted May 14, 2009 The modules creation section needs work badly with respect to admin modules. example.php is only very basic. There used to be a unencrypted example for ip manager included but it is now gone and has been replaced by a encrypted version. The downloads from the wiki are specific to gateway, server, and registrars. I will look and see if I have a old copy of whmcs with the ip manager file and send it to you if I do. 0 Quote Link to comment Share on other sites More sharing options...
siforek Posted May 19, 2009 Share Posted May 19, 2009 The modules creation section needs work badly with respect to admin modules. example.php is only very basic. There used to be a unencrypted example for ip manager included but it is now gone and has been replaced by a encrypted version. The downloads from the wiki are specific to gateway, server, and registrars. I will look and see if I have a old copy of whmcs with the ip manager file and send it to you if I do. Agreed, we need better documentation on custom modules, or at least a member or two to contribute some basic "how-to's", common variables, etc.. 0 Quote Link to comment Share on other sites More sharing options...
thebdub Posted May 27, 2009 Share Posted May 27, 2009 Yes, looking for either an unencrypted example or some better documentation. 0 Quote Link to comment Share on other sites More sharing options...
siforek Posted May 27, 2009 Share Posted May 27, 2009 Yes, looking for either an unencrypted example or some better documentation. What are you trying to do? With admin modules you simply need to query the DB, and do whatever you'd like 0 Quote Link to comment Share on other sites More sharing options...
thebdub Posted May 27, 2009 Share Posted May 27, 2009 What are you trying to do?With admin modules you simply need to query the DB, and do whatever you'd like Hello, Thanks. Haha, I actually figured it out literally 5 minutes after I posted. 0 Quote Link to comment Share on other sites More sharing options...
siforek Posted May 27, 2009 Share Posted May 27, 2009 Hello, Thanks. Haha, I actually figured it out literally 5 minutes after I posted. Yeah, it's actually pretty "neat". Just always backup and be careful with changes to the DB. For admin modules I suggest adding an install and uninstall function if you're adding any fields to the tables. 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.