Forums
-
- Forum
- Posts
-
- Installation
- 26,495
- Troubleshooting
- 56,922
- Themes
- 9,887
- Plugins
- 14,469
- Requests & Feedback
- 14,173
- Showcase
- 3,222
-
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