PDA

View Full Version : Approved "members awaiting confirmation" to another usergroup


jbear6
09-08-2002, 04:40 PM
I would like to send "members awaiting moderation" to a different usergroup (other than registered) after approval. For instance, "unregistered" cannot view or post, newly "confirmation approved" would be able to view only, and "registered" would have full forum privileges.

When I currently approve a new member awaiting confirmation, they automatically go into the "registered" user group. I want to put them into the "view only" group instead. Does anyone know where I can find the code to place the "newly confirmed" into a different user group, other than registered?

Thanks
Jbear6

Logician
09-08-2002, 07:55 PM
register.php :

$DB_site->query("UPDATE user SET usergroupid=2$dotitle WHERE userid='$u'");

You can replace 2 with another usergroupid.

This works if user moderation is not on in your board. I mean if users are automatically becoming registered members when they approve their email accounts. I guess this was what you asked?

jbear6
09-09-2002, 12:10 AM
Logician, you are da man!
Thanks friend, I have several of your hacks installed, and I truly appreciate the time you sacrifice to help others. That worked like charm, and will save me much time every day.

Thanks Again,
Jbear62000