I'm using the group_user_add function as below
Code: Select all
$result = group_user_add($group_id, array($user_id), array($username));
I'm pretty sure I was using the exact same code with phpBB 3.2.3 earlier, but running 3.2.5 now.
Could my issues be related to a bug or changed features in releases between 3.2.3 and 3.2.5 or do you have any other ideas what's happening here?
PS. If I run my script again I got the message GROUP_USERS_EXIST which is because the user and group is already are added into the DB..