Account activation logic problem
#4
Again, haven't checked, but I'd imagine:
$mybb->user['usergroup'] = 5; // send cached user to the new group

// update $mybb->usergroup
global $groupscache, $cache;
if(!is_array($groupscache)) $groupscache = $cache->read('usergroups');
$mybb->usergroup = &$groupscache[$mybb->user['usergroup']];

Hope that helps.
Reply


Messages In This Thread
Account activation logic problem - by User 2877 - 2008-06-09, 07:34 PM
RE: Account activation logic problem - by Yumi - 2008-06-11, 06:56 AM
RE: Account activation logic problem - by Yumi - 2008-06-18, 09:33 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)