Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

Disable members from viewing other members profiles but be able to see their own profile

4 Posts
2 Users
0 Reactions
2,448 Views
Posts: 11
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@psych)
Member
Joined: 2 years ago
[#12341]

I want to let each member view their own profile but not see other members' profiles.

What I did to disable the link to members' profiles when they post a topic or reply was add this PHP snippet (add_filter( 'wpforo_member_link_clickable', '__return_false' );), which works. However, is there another way in the wpforo settings or usergroup permissions to do this?

Currently, I also have enabled for the registered usergroup "Front - Can view profiles" so that the member can see their own profile.

Thank you.


3 Replies
Posts: 4244
 Tom
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@tomson)
Famed Member
Joined: 11 years ago

Hi @psych,

Please try to disable "Front - Can view profiles" permission. This should not stop profile owners to see their own profile page.


Reply
Posts: 11
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@psych)
Member
Joined: 2 years ago

Thank you for the reply. I disabled the “Front - Can view profiles.” However, when I logged in as a user and clicked the “My Profile” link in the forum menu, I received the message that “You do not have permission to view this page.” I greatly appreciate any further help. Thank you.


Reply
1 Reply
 Tom
Admin
(@tomson)
Joined: 11 years ago

Famed Member
Posts: 4244
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@psych,

Ok, this should be asked wpForo developers to add a new permission or suggest some workaround. This is not related tot the addon, so you should open a new topic in wpForo Support forum: https://wpforo.com/community/


Reply
Share:
Scroll to top