Automatically activate users added by administrator
I was struggling to work out why the users I had added manually to my test BP site weren’t showing up in member directories, until I read the answer to this post:
Is there any way of programmatically generating an activity record for each of these members that will ensure they appear in the member directories before they have logged in for the first time? Or does someone have an SQL statement that I can use in phpmyadmin that will iterate over all the user ids in wp_users and add an activity record for any that don’t already have one?
- You must be logged in to reply to this topic.