Jake Bunce Well-known member May 29, 2013 #2 Run this query on your database to approve all users who are currently awaiting approval: Code: UPDATE xf_user SET user_state = 'valid' WHERE user_state = 'moderated'; Upvote 0 Downvote
Run this query on your database to approve all users who are currently awaiting approval: Code: UPDATE xf_user SET user_state = 'valid' WHERE user_state = 'moderated';
alkahf Member May 29, 2013 #3 2409 rows affected. ( Query took 0.1493 sec ) Thank U so much Jake alkahf Upvote 0 Downvote
C cjwinternet Active member Sep 2, 2015 #4 Could someone please supply the various user state names please to use in SQL. Ta. Upvote 0 Downvote
P Paul B XenForo moderator Staff member Sep 2, 2015 #5 I believe this is related to your other thread, which I responded to. However, the possible states are: 'valid','email_confirm','email_confirm_edit','moderated','email_bounce' Upvote 0 Downvote
I believe this is related to your other thread, which I responded to. However, the possible states are: 'valid','email_confirm','email_confirm_edit','moderated','email_bounce'
Fred. Well-known member Sep 2, 2015 #6 Interesting to know. Just because I can't add tags here and I want to be able to find this back. Update user state Upvote 0 Downvote
Interesting to know. Just because I can't add tags here and I want to be able to find this back. Update user state
Allan Well-known member Mar 7, 2017 #7 Jake Bunce said: Run this query on your database to approve all users who are currently awaiting approval: Code: UPDATE xf_user SET user_state = 'valid' WHERE user_state = 'moderated'; Click to expand... Thank you Upvote 0 Downvote
Jake Bunce said: Run this query on your database to approve all users who are currently awaiting approval: Code: UPDATE xf_user SET user_state = 'valid' WHERE user_state = 'moderated'; Click to expand... Thank you