Not a bug Permission error view profile posts

Seeker-Smith

Well-known member
Affected version
2.2
I have profile posts "yes" for unregistered but it does not show.
 

Attachments

  • Screen Shot 2024-01-24 at 1.44.44 PM.webp
    Screen Shot 2024-01-24 at 1.44.44 PM.webp
    33.5 KB · Views: 14
  • Screen Shot 2024-01-24 at 1.45.20 PM.webp
    Screen Shot 2024-01-24 at 1.45.20 PM.webp
    46 KB · Views: 14
The $xf.visitor.canViewProfilePosts() method requires both the 'View profile' and 'View profile post' permissions to show, since profile posts will not actually be visible if profiles themselves aren't. Do guests have both permissions?
 
The $xf.visitor.canViewProfilePosts() method requires both the 'View profile' and 'View profile post' permissions to show, since profile posts will not actually be visible if profiles themselves aren't. Do guests have both permissions?
Well that did the trick.

Thank you.
 
One thing odd though. On a registered users I see of posts. On guests I see one from 2023. I have newest selected.
 

Attachments

  • Screen Shot 2024-01-24 at 6.19.46 PM.webp
    Screen Shot 2024-01-24 at 6.19.46 PM.webp
    39.6 KB · Views: 8
Guests may still not have permission to view certain posts based on members' own privacy restrictions and stuff, so those will be filtered from the results.
 
I’ll need to dig into my personal settings. I’ve made posts that don’t show as guest but I generally don’t have anything restricted.
 
Back
Top Bottom