Forums
-
- Forum
- Posts
-
- Installation
- 28,499
- Troubleshooting
- 62,656
- Themes
- 10,431
- Plugins
- 15,360
- Requests & Feedback
- 14,972
- Showcase
- 3,256
-
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'));