XF 2.2 Show deleted posts to author

HJW

Active member
Is this a quick fix to do with templates?

Looking around at thread_view and post_macros I can't see where it's checking if a user has permission to view deleted posts.

So does that mean the query is different for people with that permission and the list of posts doesn't include the deleted posts unless the user has that permission? Therefore not a quick fix to just use if statements in templates to show deleted posts?

Thanks
 
It's usually part of the actual query to fetch the posts so it requires more than just a template change, unfortunately.
 
  • Like
Reactions: HJW
Top Bottom