Hello all,
I realize this is not exactly a chrono question but I have created a joomla site with cf forms to handle all the users info. The site however is a medical imaging software that has a built-in registration api in the software as well. the client wants to have the api registration actually register on the Joomla tables.
Do you guys know how to speak to the joomla core to enable this registration from a 3rd party software?
I realize this is not exactly a chrono question but I have created a joomla site with cf forms to handle all the users info. The site however is a medical imaging software that has a built-in registration api in the software as well. the client wants to have the api registration actually register on the Joomla tables.
Do you guys know how to speak to the joomla core to enable this registration from a 3rd party software?
Hi samoht,
I 'm not sure I understand the question. You want to get information from the API and save it in a Joomla table.
I guess that this ought to be possible with either CURL or possibly an Ajax call - what does the API look actually do?
Bob
I 'm not sure I understand the question. You want to get information from the API and save it in a Joomla table.
I guess that this ought to be possible with either CURL or possibly an Ajax call - what does the API look actually do?
Bob
Hi8 Bob,
the api is a medical imaging software that is unlocked by username and password each time the software is used. users can register either through the software or the website. currently the api saves registration values to the jos_users table, but for some reason those users do not show up in the "Joomla user manager" and are not able to login to the web site??
I was wondering if there is a security protocol that needs to be in place - or something special about writing to the jos_users table that I need to know about in order to properly register new users.
the api is a medical imaging software that is unlocked by username and password each time the software is used. users can register either through the software or the website. currently the api saves registration values to the jos_users table, but for some reason those users do not show up in the "Joomla user manager" and are not able to login to the web site??
I was wondering if there is a security protocol that needs to be in place - or something special about writing to the jos_users table that I need to know about in order to properly register new users.
Hi samoht,
I don't think that there is anything special about writing to jos_users. There are some default values that you may need to include or change:
Bob
I don't think that there is anything special about writing to jos_users. There are some default values that you may need to include or change:
// Set some initial user values
$user->set('id', 0);
$user->set('usertype', '');
$user->set('gid', $authorize->get_group_id( '', $newUsertype, 'ARO' ));
$date =& JFactory::getDate();
$user->set('registerDate', $date->toMySQL());
Bob
Hi samoht,
If you're writing data directly to the #__users table rather than using Joomla's api, you'll have to remember to also enter proper records in #__core_acl_aro and #__core_acl_groups_aro_map.
The #__core_acl_aro table assigns each user a unique ARO object, having `id` as key, and `value` being the userid from #__users.
The #__core_acl_group_aro_map links each ARO object with one group membership.
If these records are not properly setup for each user, those user records will not work properly and might not even be displayed in backend.
/Fredrik
If you're writing data directly to the #__users table rather than using Joomla's api, you'll have to remember to also enter proper records in #__core_acl_aro and #__core_acl_groups_aro_map.
The #__core_acl_aro table assigns each user a unique ARO object, having `id` as key, and `value` being the userid from #__users.
The #__core_acl_group_aro_map links each ARO object with one group membership.
If these records are not properly setup for each user, those user records will not work properly and might not even be displayed in backend.
/Fredrik
This topic is locked and no more replies can be posted.