Skip to:

Opened 15 years ago

Closed 14 years ago

Last modified 13 years ago

#1567 closed enhancement (fixed)

Forum posts per topic page

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


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: 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
15 years ago

  • Priority changed from major to minor

#2 @DJPaul
14 years ago

  • Milestone changed from 1.2 to 1.3

#3 @boonebgorges
14 years ago

  • Component set to Core
  • Keywords dev-feedback added
  • Milestone changed from 1.3 to Awaiting 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
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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
13 years ago

  • Milestone changed from Awaiting Review to 1.5
  • Severity set to normal

Moving closed ticket out of Awaiting Review.

Note: See TracTickets for help on using tickets.