Forums
-
- Forum
- Posts
-
- Installation
- 28,096
- Troubleshooting
- 61,382
- Themes
- 10,273
- Plugins
- 15,147
- Requests & Feedback
- 14,751
- Showcase
- 3,251
-
To figure out pages is easy.
You lookup how many posts are in the topic and then you divide by the page_topics setting which also happens to be the posts per page setting.
something like:
$pages=ceil($topic->topic_posts/bb_get_option('page_topics'));
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS