I was planning for Combu to access my WordPress database.
Is this applicable?
And I'll have a custom page template to process the "form", how do I pass parameter to Combu system?
And I was trying to find documentation, api reference etc around the site but I can't find it.
Hi,
using directly the wordpress users table as source for Combu is not possible, mainly because WP encrypts the password in MD5 if I'm not wrong while Combu stores in SHA1. A possible workaround would be to create your own custom component for WP to handle the registration, login and edit profile/change password, so that you could update the Combu CB_Account table as soon as the WP user is registered/edited: this way your WP and Combu user data will be aligned.
About your custom page, I suppose you're talking about creating a page for your users to login from web, you can take a look at the function wsLogin in the web service users.php and see how it verifies the credentials (to maintain an active connection after login you'll have to store for example the user's Id in a $_SESSION variable and then in each page you will try to load a CB_Account from this variable to see if the user is logged or not, as you would usually do with any other web site source code). Of course this requires a good knowledge of PHP programming.
The documentation is shipped within the package, there's no online documentation at this moment.
FRANCESCO CROCETTI @ SKARED CREATIONS