Resolved - Implemented Change the option for number of posts per page

Moderator
Joined 2008
Paid Member
The only thing I'm waiting (patiently) for is the max number of posts per page to be raised to 50 again. Its probably just a psychological thing but a 1000 post thread with 50 pages of 20 posts seems more of a slog than 20 pages of 50 posts
Yes, also it helps to have more posts on a page...
1. when replying to multiple posts,
2. when comparing between posts,
3. when searching through posts, and
4. when coming back to a thread the next day so you don't have to go looking for the second last or third last page so often.
 
  • Like
Reactions: PRR and JRKO
I thought the default used to be 10 posts, having read the threads on broken links, because for instance you knew that post 100 would be on page 10. And now I'm seeing 20 posts, and so we have the divide by 2 thing going on to guess what page a post is now on?!
Hope that makes sense
 
PageNumber = RoundUp( PostNumber / 20 )

examples:

PostNumber = 39 ---> PageNumber = RoundUp( 39 / 20 ) = RoundUp( 1.95 ) = 2

PostNumber = 40 --> PageNumber = RoundUp( 40 / 20 ) = RoundUp( 2.00 ) = 2

PostNumber = 41 --> PageNumber = RoundUp( 41 / 20 ) = RoundUp( 2.05 ) = 3

PostNumber = 2136 --> PageNumber = RoundUp( 2136 / 20 ) = RoundUp( 106.8 ) = 107

PostNumber = 4 --> PageNumber = RoundUp( 4 / 20 ) = RoundUp( 0.20 ) = 1
 
  • Thank You
Reactions: PRR
We have activated a module that allows you to choose your own number of posts per page (10, 20, 50, 100).

Before migration the default PPP was 10. After migration it was updated to the XF default of 20. This caused many old links (that were incorrectly created with URLs that referenced page number rather than post number) to break.

While we think 20 is a nicer default, now that you can choose whatever number you prefer we are changing the default PPP back to 10. This will cause those links to work again for people who are sticking with the default (now back to 10). Just like pre-migration those links will not work for anyone who has a different PPP to you.

Please keep in mind that any link that references a page number is an incorrect link. It will not work for anyone who does not have the same PPP as you do. Please use the link icon in the top RHS of every post to get a correct PPP-independent link that everyone will be able to use to find the post you're trying to send them to.

In the medium term our plan to fix this issue is to scan through all 7M posts on the forum and update any "bad" links to the new "good" link format that is PPP independent. After that happens, we might change the PPP back from 10 to 20, or we might just keep it "old school" at 10.
 
  • Thank You
Reactions: PRR