Please Log in or Create an account to join the conversation.
andypooz wrote: I need to get CB1.8 to play with Amember subscription/affiliate program. I figure I'll be making some custom hacks somewhere (unless someone has some insight into bridging these two systems)
I have played around with how user management is shared between CB and Joomla and discovered the following things (Please correct me if I'm wrong):
1) The user is added to the jos_users table and the jos_comprofiler table
2)Changing username and name fields through the CB profile updated both tables
3)Adding a user via the Joomla user manager places a record in the jos_comprofiler table, but missing details and not able to log in as the user has not confirmed email
I have a rather complicated membership system in mind:
1) TEACHER type users will be registered through the Amember system, and their details will be copied over to Joomla/CB databases becoming a member of the TEACHER group in Joomla's ACL, so they can log in there (same domain and made to look like same system of course)
2) Changes/deletes in Amember or CB profiles will echo the changes to the other places (or maybe allow changes in one of those places to reduce work)
3) Logging in/out of CB/Joomla will log in/out of Amember and vise versa.
4) PRINCIPAL type users can register through Amember, and their data is echoed to Joomla/CB tables in the same way, and they can log into both systems at the same time.
5) These users have little by way of CB profile- they are mostly concerned with the Amember interface.
5) STUDENT members can ONLY be registered by TEACHERS and cannot register themselves through the front end. They are NOT added to the Amember database and their registration works like so:
- Teacher registers them and they are assigned a random password by the system
- They are approved automatically without needing to confirm their email
- They are assigned to STUDENT joomla ACL group
- They are assigned to a (GroupJive?) group belonging to that TEACHER
I can register a new user by creating a Chronoforms user registration form that will perform the usual Joomla registration stuff.
Question 1: What extra steps/database inserts will be required in this chronoform to get the student working as a CB member? If there is an article that explains how the CB registration process and queries differ from that of the core Joomla one, that would be REALLY useful.
Question 2: Amember has a plug-in for Joomla, allowing it to add new members to the joomla database and synchrnoise logins. I (think) I'm ok with hacking some SQL queries (see Q1), but does CB use the same user object and sessions to determine login status. ie. If this Amember plug-in will auto login/log out a normal Joomla user, should it in theory work OK for CB too? If there is a difference, could you point me to the documentation for that function?
I'm a free member at the moment, but I'll be buying a Pro license, so even if your docs links are accessible only to Pro members, I'll shortly be able to access them.
Many many thanks
Andy
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.