Page Header Image

How to hide expired profiles

Home › Forums › UM Switcher › How to hide expired profiles

This topic contains 2 replies, has 2 voices, and was last updated by  Helen (staff) 2 months, 2 weeks ago.

  • Author
    Posts
  • #82780
    Atlas3D
    Atlas3D
    Member

    Hello,
    what I need to do is to let users pay to make their profile visible to the public, and hide the profile when the subscription expires. I can’t find the way to do this, could you help me?
    Thank you!

  • #82781
    Atlas3D
    Atlas3D
    Member

    Ok, I just found out how to do.
    In Ultimate Member > User Roles I created two roles (one for active members and one for members with expired account). In Woocommerce I used these roles when setting up the subscription product.
    Then in Ultimate Member > Member Directories I edited the directory (under User Role to Display) to show only the role for active members.
    This way when a subscription expires and the user role is changed, the user profile is no more visible in the member directory.

  • #82783

    Helen (staff)
    Keymaster

    Hi Atlas3D,

    Thanks for letting us know you already found it.
    We appreciate this.

    Cheers,
    Themedutch

You must be logged in to reply to this topic.