Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Check for topic pages > 1


_ck_
Participant

@_ck_

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'));

Skip to toolbar