1. Go to User CP
in the purple band at top left of your screen.
2. Select Edit Options
3. Scroll down until you get to Thread Display Options
4. In Number of Posts to Display per Page
, change the number to 40.
5. Scroll to the bottom and remember to SAVE