3
hmmm...
i am having problems adding a uid to a group id...
if (!$member_handler->insertUser($newuser,true)) {
//$adduser_errormsg = _AM_CNRNU;
echo "error inserting new user to xoops_users";
} else {
if (!$member_handler->addUserToGroup('2', $newuser->getVar('uid'))) {
//$adduser_errormsg = _AM_CNRNU2;
echo "error adding uid: ".$newuser->getVar('uid')." to group table";
}
}
any idea why it wont? we have been debugging it for awhile now... it always fails...