Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Help Me Not Hack bp-forums-templatetags.php — Forums stickies and thread counts


stwc
Participant

@stwc

@djpaul I spoke too soon, I think.

If I’m right, I’ve finally figured out how and when things were going wrong.

If I use bp_has_forum_topics(‘per_page=30′) in groups/forum/single/topic.php in my child theme, on pages that have less than 30 posts (or possibly 15, the default in bp-forums-templatetags.php), I get duplicated thread posts — in other words all the posts in a thread show up, then all of them show up again.

If I hack the bp-forums-templatetags.php file as described above, though, it seems to work fine. No duplicates, no matter the number of posts in a thread.

Weird. Possibly a bug?

Skip to toolbar