I actually looked at this program to be able to list and edit profiles from the front end. I see after you submit a new user, that there is a link to edit thier full profile.
I would like to be able to list, select and edit an existing registered user as an admin logged into the front end.
How do I get the list and be able to select for editing?
I have found a way to show the list of registered users, but need to know how to program it to get the edit profile window: (http://cwloads.com/component/comprofiler/userdetails.html?uid=81) to pop up when I select the existing user from the dropdown list:
<?php
$db =& JFactory::getDBO();
$db->setQuery('SELECT username FROM #__users WHERE gid = 18'

;
$userlist = $db->loadAssocList();
$optns = array();
foreach ($userlist as $u) {
$optns actually looked at this program to be able to list and edit profiles from the front end. I see after you submit a new user, that there is a link to edit thier full profile.
I would like to be able to list, select and edit an existing registered user as an admin logged into the front end.
How do I get the list and be able to select for editing?
I have found a way to show the list of registered users, but need to know how to program it to get the edit profile window: (http://cwloads.com/component/comprofiler/userdetails.html?uid=81) to pop up when I select the existing user from the dropdown list:
<?php
$db =& JFactory::getDBO();
$db->setQuery('SELECT username FROM #__users WHERE gid = 18'

;
$userlist = $db->loadAssocList();
$optns = array();
foreach ($userlist as $u) {
$optns[] = JHTML::_('select.option', $u['username']);
}
?>
and to show the list:
<?php
echo JHTML::_('select.genericlist', $optns, 'contact', 'class="cf_inputbox" size="1" title=""'

;
?>