Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable user without erasing profile data

  • Profile photo of mistercyril
    mistercyril
    Participant

    @mistercyril

    Hello,

    I need to be able to disable users ocasionaly and re-enable them later on, but i’ve noticed that BuddyPress now erases all the profile data associated with a disabled user, except for his name and e-mail. This is actually a very cool upgrade for public buddypress sites that were getting severely spammed, so i’m happy this upgrade exists.

    However for my particular case, its a private site and I really need to keep the user data intact when disabling.

    Could anyone help me out with this?

    Thank you,

    C.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Profile photo of mistercyril
    mistercyril
    Participant

    @mistercyril

    Up

    Profile photo of mistercyril
    mistercyril
    Participant

    @mistercyril

    More and more people are using BuddyPress as a private community for co-workers etc… So when a co-worker leaves the organization and comes back a few months later, it would be nice to be able to re-instate their account without loosing everything they contributed to the platform.

    I think I understand there is a new action, taking place right before the user is actually disabled, that clears all of the user data. I’m guessing the “unset” strategy might help here but i’m really at a loss when it comes to the actual syntax.

    Please help me :-)

    Profile photo of Prince Abiola Ogundipe
    Prince Abiola Ogundipe
    Participant

    @naijaping

    @mistercyril, There is no such function by default, what you can do is hire a developer to create a plugin which does that for you.

    Naijaping

    Profile photo of Prince Abiola Ogundipe
    Prince Abiola Ogundipe
    Participant

    @naijaping

    @mistercyril, after a quick search, I found – https://wordpress.org/plugins/user-control/ you can have a look if you can use is for buddypress.

    Note: I have not tested this plugin

    Profile photo of mistercyril
    mistercyril
    Participant

    @mistercyril

    @naijaping, thanks for your input but unfortunately it doesn’t work with BuddyPress…
    So the problem still stands.

    Profile photo of mistercyril
    mistercyril
    Participant

    @mistercyril

    Any developers interested?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Disable user without erasing profile data’ is closed to new replies.
Skip to toolbar