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.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
krileon wrote: First you'll need a database or table in your Joomla database that contains the users other data. Next you can use CB Auto Actions and a Query action on onAfterUserRegistration and onAfterNewUser triggers to cover frontend and backend registrations. Your query would just perform an UPDATE against the _comprofiler table to pull in their other data. Example auto action as follows.
Global
Triggers: onAfterUserRegistration, onAfterNewUser
Type: Query
User: Automatic
Access: Everybody
Action
Query:Code:UPDATE `#__comprofiler` AS c LEFT JOIN `#__extra_user_data` AS e ON e.`firstname` = c.`firstname` AND e.`lastname` = c.`lastname` SET c.`cb_quote` = e.`quote` WHERE c.`id` = '[user_id]'
With the above example the extra data is stored in _extra_user_data database table within your Joomla database. It joins based off the first and last name fields (this should be more strict since it'd be too easy to steal users info by name alone). Next it updates the "cb_quote" field with the "quote" column from _extra_user_data. Note the above is just an example and was not tested.
Another option is to just use CB Query Field to directly query for the extra information and display it, but they won't be able to make any changes to it.
Please Log in or Create an account to join the conversation.