here is my workaround:
Text Formatted Code
function plugin_user_create_G2Bridge($uid) {
global $_TABLES;
G2B_CreateG2User($uid);
$groupId = DB_getItem($_TABLES['groups'], 'grp_id', "grp_name = 'G2Bridge Admin'");
if(in_array($groupId, $_POST['groups']) ) {
// Add user to G2 Admin group
}
}
Which works, I'm just saying we should be able to use the built-in methods.
Which would mean changing the order in which things are executed during user creation.
plugin_user_changed_myplugin works as expected and we have access to the correct groups via the built-in methods.
-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 -
http://www.flashyourweb.com