nrep
Well-known member
I'm coding a similar threads caching addon, but I'm struggling with a way to use the XF:Thread finder with guest permissions.
I want to use this: $finder = \XF::finder('XF:Thread'), but only return threads that would be viewable to guests. Is there a way I can do this? At the moment, the finder returns whatever the user viewing the page can see.
I want to use this: $finder = \XF::finder('XF:Thread'), but only return threads that would be viewable to guests. Is there a way I can do this? At the moment, the finder returns whatever the user viewing the page can see.