Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 16 years ago

Last modified 15 years ago

#1567 closed enhancement (fixed)

Forum posts per topic page

Reported by: Detective Owned by:
Priority: minor Milestone: 1.5
Component: Core Version:
Severity: normal Keywords: dev-feedback
Cc: Detective

Description

Currently, there's no way to set a fixed "posts per topic page" number.

Having a fixed value (that can be changed on the buddypress forum component setup) would allow to link each topic freshness, and also implement some plugins like quoting between topic pages.

I already have a plugin for quoting in bbPress: http://bbpress.org/plugins/topic/ajaxed-quote/ and I could port it easily if the posts per topic page was fixed (last time I checked it relied on a GET var).

Change History (5)

#1 @Detective
17 years ago

  • Priority majorminor

#2 @DJPaul
17 years ago

  • Milestone 1.21.3

#3 @boonebgorges
16 years ago

  • ComponentCore
  • Keywords dev-feedback added
  • Milestone 1.3Awaiting Review

It would be nice, in theory, to set the per_page parameter for bp_has_forum_topic_posts() (and all the other bp_has_x() loops) with a $_GET parameter, but that can have weird consequences with theming and the Load More javascript built into certain components. I'm not against it, but I would like to see what some of the other core devs have to say.

#4 @boonebgorges
16 years ago

  • Resolutionfixed
  • Status newclosed

Oops, I made a mistake with the above comments.

You actually CAN pass a GET parameter to change per_page stuff. ?topic_page=2&num=10 will give you page 2 of a thread with 10 per page (ie 11-20).

#5 @johnjamesjacoby
15 years ago

  • Milestone Awaiting Review1.5
  • Severitynormal

Moving closed ticket out of Awaiting Review.

Note: See TracTickets for help on using tickets.