Hi,
We have a Joomla website that uses Discuz as its forum.
We have several hundred users registered already, so we are using this as our user login instead of the Joomla system. Currently users don't login to Joomla. However, we have used Chronoforms for users to submit product registrations to us.
I now want to tie those registrations to the users in Discuz.
Is it possible to create a form that pulls out information from the Discuz database instead?
For example, when a user is logged into Discuz, I would like to have them be able to not only edit their profile, address, (which Discuz already allows) but also to see some custom fields like the products they already registered to us.
Thus when the user's id matches the id of a registered product, the page would then display that product and its attributes.
For Joomla, it appears that to get the current logged in user, you would use
$user =& JFactory::getUser(); as per your FAQ.
If I am able to determine what the Discuz equivalent would be to get $user, could I input that variable into Chronoforms and pull out my custom fields?
Or do you happen to already know how to determine the user id of a currently logged in Discuz user?
thanks!
We have a Joomla website that uses Discuz as its forum.
We have several hundred users registered already, so we are using this as our user login instead of the Joomla system. Currently users don't login to Joomla. However, we have used Chronoforms for users to submit product registrations to us.
I now want to tie those registrations to the users in Discuz.
Is it possible to create a form that pulls out information from the Discuz database instead?
For example, when a user is logged into Discuz, I would like to have them be able to not only edit their profile, address, (which Discuz already allows) but also to see some custom fields like the products they already registered to us.
Thus when the user's id matches the id of a registered product, the page would then display that product and its attributes.
For Joomla, it appears that to get the current logged in user, you would use
$user =& JFactory::getUser(); as per your FAQ.
If I am able to determine what the Discuz equivalent would be to get $user, could I input that variable into Chronoforms and pull out my custom fields?
Or do you happen to already know how to determine the user id of a currently logged in Discuz user?
thanks!