Lack of interest Member ToolTip Permission

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

QuackieMackie

Well-known member
Licensed customer
I think this would be a good core feature, we can already block users from viewing the full profiles, why are they still able to view the tool tips?

So I went away and improved upon this post https://xenforo.com/community/threads/blocking-profile-information-for-guests.231934/ I made a while back. You can find the addon source code here: https://github.com/QuackieMackie/Sylphian-Addons/tree/main/src/addons/Sylphian/ToolTip

It won't be amazing, as I'm still learning php, and how Xenforo works. But it functions and it gives you an idea of how it would work.

Heres an image of it working:
1753453961786.webp
 
Upvote 1
This suggestion has been closed. Votes are no longer accepted.
Seems a bit complicated to me :)

Probably easier:
Extend XF\Entity\User::canViewBasicProfile
If you attach a permission to XF\Entity\User::canViewBasicProfile when it's false it out right blocks the interaction. With the way I did it it still lets users see the no permission pop up.

I don't know if the same result would be achievable using XF\Entity\User::canViewBasicProfile.
 
Back
Top Bottom