Group Mods

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

Support: Creating & Extending

Existing and new plugins/components and themes.

One login, multiple profiles (5 posts)

Started 1 year, 10 months ago by: mrosero

  • Profile picture of mrosero Matilde said 1 year, 10 months ago:

    Hi, I’m wondering if it would be possible to set up BuddyPress so that you could make several different profiles and manage them under one login? For instance, let’s say that it was a network for petlovers, so that each pet owner would sign up and choose one login, but then would be able to add a new profile for each of their pets. So if they had a cat and a dog, each would have their own profile, and if another persona had a cat, they could “friend” their cat, but not necessarily their dog, and so forth.

    Basically, each profile would function as an individual, but controlled from the same login.

  • Profile picture of Boone Gorges Boone Gorges said 1 year, 10 months ago:

    It looks like this could possibly be done. Technically speaking, each profile must correspond to a user account. But conceivably, you could build a piece of functionality that allows one user to edit another user’s profile. The key function is bp_is_my_profile(), which is checked when the profile edit screen is brought up. By default, bp_is_my_profile() only returns true if the profile belongs to the logged in account. But the output of the function is filtered. So you could do the following two things to work around the default limitation: (1) Create some sort of interface that allows other individual accounts to “own” (or be “authorized editors of”) other accounts’ profiles, probably storing that information in a piece of user metadata; (2) Filter the output of bp_is_my_profile to check against that user metadata and return true if the logged_user is an authorized editor of the displayed_user.

  • Profile picture of mrosero Matilde said 1 year, 10 months ago:

    Thanks for the answer. I’ve never actually done anything like this in WP, but I guess it’s a good excuse to learn. :)

  • Profile picture of Hoodie Mark Hoodie Mark said 1 year ago:

    I need to do the exact same thing. @Matilde did you ever find an easy solution?

  • Profile picture of vee_bee vee_bee said 1 year ago:

    Hey Mark
    Have you looked at the Wordpress Plugin ‘Admin Login As Different User’??
    it may do this.
    V