Skip to:
Content
Pages
Categories
Search
Top
Bottom

Next page on “latest discussions?”


  • geltoorch
    Member

    @geltoorch

    Hi,

    I’m trying to figure out how to add a “next page” to the latest discussions. I have a lot of different forums but want people to see all the content aggregated on the “latest” section because it captures all the topics.

    So is there a way to put in a “next page” link on the front page and subsequent pages? I’m not great with php, but if it takes some coding, I could probably manage if someone can give me directions. If it works out, I’ll probably make it into a plugin for everyone.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

  • chrishajer
    Participant

    @chrishajer

    I don’t know of anything for adding page links for the latest discussions, but there is this plugin for changing the number of items being displayed. Maybe that will help?

    https://bbpress.org/plugins/topic/front-page-topics/page/2/


    geltoorch
    Member

    @geltoorch

    Thanks, but there will eventually be hundreds of posts and it’s just ridiculous to show 1000 posts on one page.

    Any other ideas?


    Sam Bauers
    Member

    @sambauers

    Latest discussions on the front page is meant for latest discussions… so paging has never been a possibility there.

    Forum pages do provide paging of topics though.


    geltoorch
    Member

    @geltoorch

    Yes, I realize. So how do I make it a possibility?


    Sam Bauers
    Member

    @sambauers

    I’ve added the ability to do this to the development trunk. If you want to backport this to an older bbPress, you can follow the changes here:

    https://trac.bbpress.org/changeset/1786

    Then drop the function <?php bb_latest_topics_pages(); ?> wherever you want it in the front-page template to show pagination.


    Detective
    Member

    @detective

    What i do in the current stable version is to register a new view called all discussions. It works pretty neat.


    geltoorch
    Member

    @geltoorch

    thanks everyone, ill try it out

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar