Blue Well-known member Oct 22, 2013 #1 I need to select a certain group via the batch update and change their state to "Awaiting email verification (from edit)" to force an email change The closest thing I can find is to change them to Unregistered / Unconfirmed What would be the best way to accomplish this?
I need to select a certain group via the batch update and change their state to "Awaiting email verification (from edit)" to force an email change The closest thing I can find is to change them to Unregistered / Unconfirmed What would be the best way to accomplish this?
Jake Bunce Well-known member Oct 23, 2013 #2 Rich (BB code): UPDATE xf_user SET user_state = 'email_confirm_edit' WHERE user_state = 'valid' AND ( user_group_id = 2 OR FIND_IN_SET(2, secondary_group_ids) ); Invalid users are given the permissions of the Unregistered group despite not being an explicit member of that group. Upvote 0 Downvote
Rich (BB code): UPDATE xf_user SET user_state = 'email_confirm_edit' WHERE user_state = 'valid' AND ( user_group_id = 2 OR FIND_IN_SET(2, secondary_group_ids) ); Invalid users are given the permissions of the Unregistered group despite not being an explicit member of that group.