Can someone provide code how to limit public user profile page view if user didn't posted any listings then this page is not available for public or some error message appears. And if user has active listings then this page is available.
This function should be in osclass settings because all registred user for other purposes not posting listings, their profiles are available to all. Maybe this user just registered to contact with someone.