How to manage users & their extended profiles?
-
Hey Guys,
One of hte main reasons of running buddypress is to create a community, and hence a central point of management is required. Can anybody help guiding me on how to write a plugin / or point me to one if exists, which helps you manage your users from WP admin interface?
What I have in mind a user profiles manager plugin, which once you browse to, you see a table with all users listed there including the extended profile fields that we create for them. Once you click on a user you can view their full details, and while at it it would be awesome if you can activate / deactivate users from this view. Finally, an export function which outputs the whole user profiles list into an excel sheet.
I checked through phpMyAdmin, and it seems that wordpress divides the data into multiple tables, so you have your main users table which has basic details, then you have xprofile table which has the additional fields you created, but it seems that even if you need to get column titles for your table for the fields of xprofile, you need to get them from a third table.
If this is all true, the logic in my head is to query the database based on userID, then match with ID on xprofiles and merge. For fields titles, probably a separate query which creates the first row which has titles in the same logic?
Anybody can help with script please?

Cheers.
You must be logged in to reply to this topic.
