User Profile only viewable by a logged in USER

I have a snippet that I use that only lets users view available Rentals only if they are logged in, I would also like to have the same apply to vendor profiles.

I need users to be logged in to view details of any users.

Can anyone help?

Hi,

Please provide the PHP snippet you are using for users and we will try to help.

Hi there, this is the snippet being used

Hi,

Please try adding the following pages to the array where the pages are checked:

user_view_page
vendor_view_page

​I hope this is helpful to you.

Thank you this worked