[buddypress-trac] [BuddyPress] #3059: Sticky topics get pushed to second page

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Feb 8 16:55:54 UTC 2011

#3059: Sticky topics get pushed to second page
  Reporter:  boonebgorges  |      Owner:
      Type:  defect        |     Status:  new
  Priority:  minor         |  Milestone:  1.3
 Component:  Forums        |    Version:
Resolution:                |   Keywords:

Comment (by boonebgorges):

 Did a bit of research, and this is unfortunately not a straightforward
 fix. There are two strategies:

 1) Include the stickies in the regular loop. This requires a bunch of
 fancy footwork that BB_Query (somewhat surprisingly) does not support. The
 bbPress plugin does have code for the proper offsetting; see
 template.php#L121. I am not keen on the idea of rewriting all of this
 logic for our implementation of bbPress, as it is going to mean a LOT of
 fumbling around with offsets.

 2) Do a separate loop. This is a much easier stopgap solution. The
 downside is that it would mean a funky change in the default theme between
 1.3 (where the stickies would be in a separate loop, affecting pagination,
 etc) and 1.4 (where the bbPress would integrate stickies properly into the
 main loop). On the other hand, individual theme authors could pretty
 easily implement this on their own, so perhaps it's not necessary put into
 bp-default in light of the impending bbPress plugin.

 Does anyone have any thoughts? Maybe this is a wontfix, in anticipation of
 bbPress plugin?

Ticket URL: <https://trac.buddypress.org/ticket/3059#comment:1>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list