steam.roy Posted October 17, 2010 Share Posted October 17, 2010 Would someone be able to give me a starting point for whmcs module? All I would like it to do at this point is get data from a custom field and then write that in to a new row in mysql. Also if it could delete the row from the mysql database as well, that would an added bonus. Thanks 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted October 17, 2010 Share Posted October 17, 2010 You'd need to be a lot more specific. What type of module is it? What fields are you trying to get, and what data are you trying to write? What tables are you working with? 0 Quote Link to comment Share on other sites More sharing options...
steam.roy Posted October 17, 2010 Author Share Posted October 17, 2010 You'd need to be a lot more specific. What type of module is it? What fields are you trying to get, and what data are you trying to write? What tables are you working with? It is a module that creates users, ie. Only allows them to login when they have an active service. The users and passwords are all in mysql. Users as string and password as an md5 hash. I would like to get a starting point where it writes something into mysql on creation. Mainly doing this to tech myself, but would be very helpful if I had a starting point. 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted October 17, 2010 Share Posted October 17, 2010 md5 is a 1 way encryption. You arent going to be able to import that into whmcs very easily. It sounds like you want to either use the API, or an actionhook. I'm still not really clear on what you're trying to do.. But if you're having trouble with simple mysql queries, you're probably over your head. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted October 18, 2010 WHMCS CEO Share Posted October 18, 2010 You can find the documentation for creating your own modules for WHMCS @ http://wiki.whmcs.com/Creating_Modules The dev kits we provide there include a PDF explaining the process and a sample module file you can base your own on. Hope that helps! Matt 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.