Forum Change Number of Posts

Dazed
Dazed
@dazed
12 years ago
1,022 posts
It looks like the forum is using the skin default page break setting. I would like to change mine to display more than 10 posts before a page break. Where do I need to change this? I was thinking item_index or item_list but nothing was jumping out at me.

Thanks
updated by @dazed: 12/15/13 09:52:56AM
michael
@michael
12 years ago
7,772 posts
@b360 put up a ton of info as a howto yesterday
https://www.jamroom.net/the-jamroom-network/documentation/howto/1080/howto-jrcore-list-step-by-step

that started from a chat about pagebreaks:
https://www.jamroom.net/the-jamroom-network/forum/suggestions/1485/pagebreak-documentation

The quick answer is to add 'pagebreak=700' to the listing call. (I think, haven't checked it out, thats off the top of my head.)

and the chat about
Dazed
Dazed
@dazed
12 years ago
1,022 posts
Hey Michael - Yeah I know all of that what I do not know is what template the call is in. I am just not seeing it listed. I am thinking item_list but that does not seem like the right one.
michael
@michael
12 years ago
7,772 posts
your meaning for the number of threads in a category, like here?
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/p=2

or number of posts in a thread?
Dazed
Dazed
@dazed
12 years ago
1,022 posts
Posts in a category. I would like more than the default 10.
michael
@michael
12 years ago
7,772 posts
found it. There is no pagination on posts in a thread.

but for threads in a category, it too is hard-coded to 10.

            // This is the forum index, showing all posts
            $_sp = array(
                'search'    => array(
                    "forum_profile_id = {$_post['_profile_id']}",
                    "forum_post_count > 0",
                ),
                'order_by'  => array(
                    'forum_pinned'  => 'desc',
                    'forum_updated' => 'numerical_desc'
                ),
                'quota_check' => false,
                'pagebreak'   => 10,
                'page'        => $page
            );

in
/modules/jrForum/profile.php function profile_view_jrForum_default() on line 782


'pagebreak'   => 10,

issue tracker:
https://www.jamroom.net/the-jamroom-network/tracker/130/jrforum-set-the-pagebreak-for-the-forum-categories
Dazed
Dazed
@dazed
12 years ago
1,022 posts
Perfect. Thanks Steve :)
brian
@brian
12 years ago
10,148 posts
Steve? Who's Steve? :)

I've got this fixed up in the latest Profile Forum module:

https://www.jamroom.net/the-jamroom-network/tracker/130/jrforum-set-the-pagebreak-for-the-forum-categories

Let me know if you see any issues.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net