• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Auto Populate Custom Field from jos_users

Auto Populate Custom Field from jos_users 12 years 4 months ago #15646

Hi, I have custom fields already setup for users in jos_users but need to pull one of them (membertype) to populate a field in RSMembership. What do I need to do to the code below in order to achieve this? Any help would be much appreciated.

//<code>
$db =& JFactory::getDBO();
$db->setQuery("SELECT membertype FROM #_users");
$result = $db->loadResult();
return $result;
//</code>
Last Edit: 12 years 4 months ago by rickenbacker. Reason: title typo
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!