- This topic has 2 replies, 2 voices, and was last updated 5 years, 6 months ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Home › Forums › UM Switcher › How to hide expired profiles
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!
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.
Hi Atlas3D,
Thanks for letting us know you already found it.
We appreciate this.
Cheers,
Themedutch