Quote:
NOTE: This mod works for forums that require users to verify their email address upon registration. If your forum does not require users to verify their email address, you will need to use a different hook. If I have time, I'll test that variation.
|
OK, after I registered about 20 new test users here is what i found regarding this plugin's use with non-email verification registrations.
I tried almost every register_
hook_name and none of them worked. it doesn't seem like it's possible to process this plugin without using the email verification function.
That being said, if you only want to move a user to another primary group on registration without a custom field being checked, you can still do this:
Add this:
PHP Code:
$userdata->set('usergroupid', 11);
(where 11 is the ID of the new primary usergroup)
Hook that with:
register_addmember_process
Activate and every member that registers on your site will have their
primary group changed to ID: 11 (or whatever your choose)
i hope this info helps and saves some people a lot of time.
eric