A user has reported that his posts are not visible unless he is logged in (in addition, post counts and last posts dates on the forum index page are also wrong if he's not logged in). I replicated the problem and have done some testing together with the user which suggests that the problem lies with a cache not being used or cleared correctly somewhere but I don't seem to be able to get any further - we use Cloudflare as a CDN with Automatic Platform Optimization enabled but despite disabling this, clicking Delete All Caches in wpForo and clearing browser caches the problem remains. Has anyone else seen this behaviour?
There are the following reasons for the issue:
- The topics are private, those topics are visible only for the topic creator and high-level users, such as admins, moderators, etc.
- Guests don't have permission to view the topics/posts. Please read this FAQ, it'll allow you to understand wpForo Usergroups and Forum Accesses.
- Those topics/posts are anapproved. I'd suggest you read this article: https://gvectors.com/how-to-disable-topics-and-posts-moderation/
Thank you for the reply, I'm afraid none of those items are the case here but I've managed to track things down further and it looks like Cloudflare is the problem (as soon as development mode is disabled the problem disappears).
No problem, if anyone else encounters the same problem and comes across this topic I'm hopeful that creating a Cloudflare page rule which sets the cache level to "bypass" for wpForo forum urls will fix it (I'm testing that just now).