Oops.. thought I had an error...
It is all good (so far)...
EDITED POST.
Can I get a little clarification on this:
I'm want to simply add permission to user group 12 to all the people on the list (in addition to registered user default privaleges).
If I read it right, it should look like this?
PHP Code:
$emails = explode(',', $datastore['emaillist']);
if (in_array($userinfo['email'], $emails) AND $user['usergroupids'] == 2)
{
$dotitle .= ", membergroupids=IF(membergroupids='', '12', CONCAT_WS(',', membergroupids, '12'))";
}
I'm only changing the two "X" to 12... Is this correct?
I've now tried with the above code and, while I get NO errors, the users are NOT given the permissions that they are supposed to be given.
What could I be doing wrong?