Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

How to manage users & their extended profiles? (18 posts)

Started 2 years ago by: mazen

  • Profile picture of mazen mazen said 2 years ago:

    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.

  • Profile picture of paulhastings0 paulhastings0 said 2 years ago:

    Here’s a good starting point: http://buddypress.org/community/groups/buddypress-skeleton-component/

  • Profile picture of Paul Gibbs Paul Gibbs said 2 years ago:

    Whilst I don’t know exactly what you want to do, you could consider using the bp_has_members() template loop?

  • Profile picture of Boone Gorges Boone Gorges said 2 years ago:

    @mazen@djpaul‘s advice is good, you should use bp_has_members()

    You might want to have a look at a plugin I wrote called BP Group Management http://teleogistic.net/code/buddypress/bp-group-management/ which creates a similar sort of admin panel, except for groups.

  • Profile picture of mazen mazen said 2 years ago:

    Awesome guys, thanks a lot for all your replies, I will go through these and post back feedback.@djpaul @boobebgorges @paulhastings0

    Cheers.

  • Profile picture of mazen mazen said 2 years ago:

    @boonebgorges thanks for your response and plugin link, in terms of functionality it is almost exactly what I need, only:
    - Need it to manage users instead of groups
    - Need it to show their full profile fields (including xprofile)
    - Need options to deactivate(very important) or delete users
    - Need function to export list to excel sheet

  • Profile picture of Boone Gorges Boone Gorges said 2 years ago:

    I’d like to develop this at some point, but it won’t happen for the next month or two because of other obligations. Please feel free to hack away at my code until then!

  • Profile picture of mazen mazen said 2 years ago:

    @boonebgorges thanks. Please let me know once you do, I am happy to be your first donator for that plugin ;)

    In the meantime, I will commence hacking.

    Cheers.

  • Streamlined member management should have been a core feature of Buddypress. Thanks for picking this up.

  • Profile picture of meini Meini said 1 year, 10 months ago:

    I am currently working on a user management plugin. It is still early days, but I have already implemented an initial version on a client’s website….

  • Profile picture of airfoil airfoil said 1 year, 1 month ago:

    @Meini – I’m curious if you ever got anywhere with this user management plugin. I’m managing an older installation of WP/BP an need exactly the functionality you discuss here. I need to find users based on a certain xprofile field, but manage (deactivate) them via the WordPress admin. Do you have a plugin available I could look at? Thanks.

  • Profile picture of xsn0w xsn0w said 1 year ago:

    I am looking for this user management ability as well. Is there a solution yet?

  • I would also love something like this, I just posted something similar in a different area. Not sure how I missed this thread. It is a bit disappointing that the great user management features of WordPress don’t work with BuddyPress.

  • Profile picture of tB tB said 1 year ago:

    Same here! I’d love to be able to use the great functionality of Wordpress Users along with Buddypress and am quite surprised that I’m not seeing how to do this yet. I’d like to hear from others.

  • Profile picture of meini Meini said 11 months ago:

    Sorry guys for some reason I don’t get emails sent to me when there is activity in my groups and I haven’t been too active here for a while. I have made a start and produced something usable, but haven’t worked on it for a while, so I would like to make this code available to anyone who is interested to expand on it. I managed to implement a feature to force users to complete mandatory fields in their profile if they haven’t done so.

    Help yourselves… http://www.utechworld.com/files/public/buddypress-utech-user-manager.zip

    Have fun … :)