Some users can't see first post
-
This is a similar issue to another post: http://bbpress.org/forums/topic/first-post-not-showing/
However, that other topic doesn’t seem to be getting feedback from knowledgeable developers, and I’ve done a bit of additional troubleshooting.
Basically, some users on our site can *never* see the first post on any bbPress topics.
I’ve tried disabling all types of caching (we’re using W3 Total Cache) and that had no effect. Also, we’re using WishList Member (closed-source membership plugin) and of course, other plugins.
Inspecting the $bbpress variable while logged in as an admin and an affected user (in a different browser), I was able to find the following inconsistency in $bbpress->reply_query->request:
admin’s:
`SELECT SQL_CALC_FOUND_ROWS wp_1_posts.* FROM wp_1_posts FORCE INDEX (PRIMARY, post_parent) WHERE 1=1 AND (wp_1_posts.ID = 2904 OR wp_1_posts.post_parent = 2904) AND wp_1_posts.post_type IN (‘topic’, ‘reply’) AND (wp_1_posts.post_status = ‘publish’ OR wp_1_posts.post_status = ‘closed’) ORDER BY wp_1_posts.post_date ASC LIMIT 0, 15`affected user’s:
`SELECT SQL_CALC_FOUND_ROWS wp_1_posts.ID FROM wp_1_posts WHERE 1=1 AND wp_1_posts.ID NOT IN (648,649,650,1067,1075,1085,1091,1102) AND wp_1_posts.post_parent = 2904 AND wp_1_posts.post_type IN (‘topic’, ‘reply’) AND (wp_1_posts.post_status = ‘publish’ OR wp_1_posts.post_status = ‘closed’) ORDER BY wp_1_posts.post_date ASC LIMIT 0, 15`I noticed there’s a section for wp_1_posts.ID NOT IN(…) which isn’t present for admin. Anyone know where this comes from?
So, here’s the question: why can’t this user see all replies in every topic? Is there something I’m overlooking?
Finally, if someone is willing to fix this issue for us for a reasonable fee, please email me directly at alex [at] theartofcharm [dotcom]
Here’s the full $bbpress var dump (from admin user): http://pastebay.com/1189524
and here’s one from an affected user: http://pastebay.com/1189525Thanks in advance!
- You must be logged in to reply to this topic.