Forums
-
- Forum
- Posts
-
- Installation
- 28,380
- Troubleshooting
- 62,269
- Themes
- 10,391
- Plugins
- 15,313
- Requests & Feedback
- 14,924
- Showcase
- 3,252
-
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'));