• Hello,

    I just installed Ultimate Members without additional plugins.

    Purpose
    An user should be able to register. Only the admin and the user can see and manipulate his profile / account.

    Problem
    The user profiles are accessible for everybody who knows the url. So I set “global access to site” set to “Site accessible for Logged In Users”. The problem is, that guests can’t use my website anymore. They can’t visit standard pages even though these pages should be public for every one.

    I don’t want to build an open community. I want to use this plugin for job applications and to let the user’s profile keep updated by himself.

    What’s the solution? Thanks.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @meladiede,

    It is possible to restrict only your User profile page to logged in users.
    Please go to the Pages section on your dashboard find your User page and under the UM Content restriction widget select “Who can access this content? – Logged in users”.

    Regards.

    Thread Starter melde

    (@meladiede)

    Hello,

    I tried that already, but there are other pages for public – not created for UM. They should be accessible.

    I found a workaround to restrict the profile access just for owner and admin.
    Everytime an user registers, I execute following SQL:
    INSERT INTO wp_usermeta (user_id, meta_key, meta_value) VALUES (<<<USERID>>>, 'profile_privacy', 'Only me');

    I would like to automate it. What’s the best way? Is there a hook to execute this SQL once after registration?

    Thanks.

    PS: How about this hook? https://docs.ultimatemember.com/article/1234-umregistrationcomplete

    Thread Starter melde

    (@meladiede)

    zzzZZzzzZZZzz ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide all profiles for anybody except logged in user and admin’ is closed to new replies.