MyBB Community Forums

Full Version: Adding registered users to third party software database
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I'm looking at implementing cube cart as a function on my site, and was wondering how simple it would be to do the following

When a user registers on the forum, their username and password is transferred over to the corresponding users data base for cube cart

This would then allow users to log into cube cart with their same forum information, and place order

Is that difficult, and would it work?
It shouldn't be too bad. Just make sure you encrypt the password with how your cart does. I believe the proper hook to use is datahandler_user_insert_end. I'm not 100% if you have to pass the pseudo variable $this as a reference or not because I've never used that hook before.