Search

bbPress Showcase » bbPress Chat

Pagination in front-page latest discussions, how?

RSS
  1. ganzua
    User has not uploaded an avatar

    new member
    Joined: Jan '09
    Posts: 3

    offline

    Hi!

    I'd like to add pagination to the latest discussions list that shows front-page.php, just like in this forum. How can I do this?

    Besides, I'd like that the loop of latest discussions went from the latest post to the first post, including all forums posts, not just a limited number of latest posts. Is it possible?

    Posted 3 years ago #
  2. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    Front page pagination is part of the Topics-per-page plugin:

    http://bbpress.org/plugins/topic/front-page-topics/installation/

    This is a demo of the bbPress Signatures plugin!
    If you use my plugins, please considering donating to help continue their development.
    Posted 3 years ago #
  3. ganzua
    User has not uploaded an avatar

    new member
    Joined: Jan '09
    Posts: 3

    offline

    Ok thanks for the answer

    BTW, I don't manage to make bb-topic-views plugin work with the latest version of bbpress.

    In particular this function; show_view_count () I'd like to use it in topic.php template. Is not possible?

    Posted 3 years ago #
  4. ganzua
    User has not uploaded an avatar

    new member
    Joined: Jan '09
    Posts: 3

    offline

    Well, I must be a piece of clumsy because I can't make Topics Per Page plugin work either.

    I have a local installation of bbpress in /wordpress/bbpress/

    /wordpress/bbpress/page/2 doesn't show anything and breaks my theme

    I tried this rewrite tule and same result;

    RewriteRule ^page/([0-9]+)/?$ /wordpress/bbpress/?page=$1 [L,QSA]

    Posted 3 years ago #
  5. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    I have updated topics-per-page with some fixes for 1.0 alpha

    Posted 3 years ago #
  6. tikitakfire
    tikitakfire

    member
    Joined: May '08
    Posts: 16

    offline

    hello, I'm using bbPres 0.9.0.4 with rewrite slugs but I don't have .htaccess and there is the problem, when I go to page 2, for example, the forum returns a 404 error...

    What can I do?

    Posted 3 years ago #
  7. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    If you have slugs, you have to have an .htaccess file
    Go look more carefully for it.

    Posted 3 years ago #
  8. tikitakfire
    tikitakfire

    member
    Joined: May '08
    Posts: 16

    offline

    I also thought the same thing, but no, I don't have htaccess... and the most unusual is that everything works well.

    Anyway, I'm using an htaccess that I found in the bbPress forum and now the Topics-per-page plugin works right.

    Have any idea why I dont have htacces and everything works well?

    Posted 3 years ago #
  9. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    The only way it could be working if you don't have .htaccess is that you have a host who has multiviews on by default.

    In which case you need to make your own .htaccess file and turn off multiviews in it and then put the rest of the bbpress generated htaccess rules after it.

    So make a .htaccess file for your bbpress root.

    Start with
    Options -multiviews
    at the top and then paste the results you get from
    http://your-forum-path/bb-admin/rewrite-rules.php

    Posted 3 years ago #

RSS feed for this topic

Post a reply to “Pagination in front-page latest discussions, how?”

You must log in to post.

keep _ck_ coding >> donate $5 <<     Theme Switcher:
34 users online from in the past 30 minutes. 11 bots 22 guests 1 members: mccawphoto
119 views today 7,784 yesterday 14,010 peak. Most at once 39 today 63 yesterday 131 peak. Visited today: mccawphoto
2,240 posts in 380 topics over 63 months by 425 of 1,992 members. Latest: shairah27, Augustine01, MichaelGomez