Skip to:
Content
Pages
Categories
Search
Top
Bottom

Navigation error


  • taboo
    Member

    @vulvodynia

    Navigation on the front page is screwed (I use CSS modified kakumei): when I go to page 2 (/page/2) the link attached to text “page 1″ is the very same page 2 (/page/2) and not “/” as it should be.

    the code:

    <?php bb_latest_topics_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?>

    Any clues please?`

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

  • taboo
    Member

    @vulvodynia

    I ran into a similar issue with paging. I forget how I fixed it – I think maybe I switched to this plugin for pagination?

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


    taboo
    Member

    @vulvodynia

    Thanks, but it didn’t help… :(

    After activating the plugin it looks just the same.

    Make sure to follow all the instructions here!

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


    taboo
    Member

    @vulvodynia

    Thank you. I will try that.

    Still bbPress should count pages right, so I believe it’s a bug…

    I concluded this issue was related to the use of the Hidden Forums plugin, which continued to paginate all the topics it couldn’t see.

    However, I then stopped using the function in my templates, so would not have noticed other bugs.

    Ah, that may have been the issue. Are you guys using the latest version of Hidden Forums (v 0.0.9)? There was a patch for a related issue there (this patch is incorporated into the latest version of Hidden Forums):

    https://bbpress.org/plugins/topic/hidden-forums/page/5/#post-3412

    This fixed my pagination…


    taboo
    Member

    @vulvodynia

    Still front page is no good (forums and posts are fine).

    link named [page 1] links to [page 6]

    Should I file a bug report?


    taboo
    Member

    @vulvodynia

    I don’t use Hidden Forums plugin. I also tried disabling all the plugins – still the same navagation issue.

    Then I disovered that if I use “none” permalink structure (/forums.php?id=1) everything works fine. If I use either “numeric” or “name based” (my preference) the problem is back.

    Really noone faces such an issue?

    my .htaccess looks like that now:

    # BEGIN bbPress

    Options -MultiViews

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteRule ^page/([0-9]+)/?$ /index.php?page=$1 [L,QSA]
    RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /forum.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^forum/([^/]+)/?$ /forum.php?id=$1 [L,QSA]
    RewriteRule ^forum/?$ / [R=302,L,QSA]
    RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /topic.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^topic/([^/]+)/?$ /topic.php?id=$1 [L,QSA]
    RewriteRule ^topic/?$ / [R=302,L,QSA]
    RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ /tags.php?tag=$1&page=$2 [L,QSA]
    RewriteRule ^tags/([^/]+)/?$ /tags.php?tag=$1 [L,QSA]
    RewriteRule ^tags/?$ /tags.php [L,QSA]
    RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ /profile.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/?$ /profile.php?id=$1&tab=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /profile.php?id=$1&tab=$2&page=$3 [L,QSA]
    RewriteRule ^profile/([^/]+)/?$ /profile.php?id=$1 [L,QSA]
    RewriteRule ^profile/?$ /profile.php [L,QSA]
    RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /view.php?view=$1&page=$2 [L,QSA]
    RewriteRule ^view/([^/]+)/?$ /view.php?view=$1 [L,QSA]
    RewriteRule ^rss/?$ /rss.php [L,QSA]
    RewriteRule ^rss/topics/?$ /rss.php?topics=1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/?$ /rss.php?forum=$1 [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/topics/?$ /rss.php?forum=$1&topics=1 [L,QSA]
    RewriteRule ^rss/topic/([^/]+)/?$ /rss.php?topic=$1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)/?$ /rss.php?tag=$1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)/topics/?$ /rss.php?tag=$1&topics=1 [L,QSA]
    RewriteRule ^rss/profile/([^/]+)/?$ /rss.php?profile=$1 [L,QSA]
    RewriteRule ^rss/view/([^/]+)/?$ /rss.php?view=$1 [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^.*$ /index.php [L]
    </IfModule>

    # END bbPress


    taboo
    Member

    @vulvodynia

    I don’t think the issue is connected with modrewrite. I also tried turning just every possible plugin off, using default theme… and the pagination is still off. Please could someone help? Maybe I could use a different function?

    I have the same issue, have you found a resolution? thanks!

    My solution was to remove pagination from the front page. Lame, but it was all I could do.

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