I have a case where I need to collect user info and have users categorized by interests. These "interests" are simply newsletters, but along with that I collect additional user information in the WP user profile.
When users go through the WordPress user registration process, I'm collecting more data than the default WP setup, and along with that extra data they have the option to subscribe to newsletters using ALO Easymail on the registration screen.
- User registers as a WP user at
- I collect username, password, first and last name, address, phone, etc.
- I present Newsletter options to the user: Newsletter A, Newsletter B, Newsletter C, etc.
No problems with any of this. But here's what I need to do and here are some questions.
I'll need to contact users offline through postal mail and telephone. Sometimes I'll want to contact people using these offline methods who subscribe to Newsletter A, and sometimes Newsletter B, or sometimes any combination of the groups.
I'm using ALO newsletters as a way to categorize users based on their interests. But this data isn't stored in the WP user table. If I export the list of users, I can't see the newsletters they've subscribed to. If I use the export feature in ALO, I don't get all the extra info stored in the WP user table.
Originally I thought I could capture the newsletters selected during the user registration process using
$_POST, and assign values to custom fields on the user profile.
But I haven't been successful in doing so - perhaps because of the user doesn't really exists because it's not fully activated at that time?
Since the ALO Subscribers screen shows the WP username if one exists, I'm now thinking it might be easier to do some sort of custom query/export that pulls the data from both tables and assembles it accordingly.
Any ideas about what would be the best way to do what I'm needing?