Jump to content

WHMCS Custom module – Mysql


steam.roy

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

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