Info
- 13 posts
- 5 voices
- Started 2 years ago by taboo
- Latest reply from Kar-l
- This topic is not resolved
Navigation error
-
- Posted 2 years ago #
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?`
-
- Posted 2 years ago #
-
- Posted 2 years ago #
I ran into a similar issue with paging. I forget how I fixed it - I think maybe I switched to this plugin for pagination?
http://bbpress.org/plugins/topic/front-page-topics/ -
- Posted 2 years ago #
Thanks, but it didn't help... :(
After activating the plugin it looks just the same. -
- Posted 2 years ago #
Make sure to follow all the instructions here!
http://bbpress.org/plugins/topic/front-page-topics/installation/ -
- Posted 2 years ago #
Thank you. I will try that.
Still bbPress should count pages right, so I believe it's a bug...
-
- Posted 2 years ago #
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.
-
- Posted 2 years ago #
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):
http://bbpress.org/plugins/topic/hidden-forums/page/5/#post-3412This fixed my pagination...
-
- Posted 2 years ago #
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?
-
- Posted 2 years ago #
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= [L,QSA] RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /forum.php?id=&page= [L,QSA] RewriteRule ^forum/([^/]+)/?$ /forum.php?id= [L,QSA] RewriteRule ^forum/?$ / [R=302,L,QSA] RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /topic.php?id=&page= [L,QSA] RewriteRule ^topic/([^/]+)/?$ /topic.php?id= [L,QSA] RewriteRule ^topic/?$ / [R=302,L,QSA] RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ /tags.php?tag=&page= [L,QSA] RewriteRule ^tags/([^/]+)/?$ /tags.php?tag= [L,QSA] RewriteRule ^tags/?$ /tags.php [L,QSA] RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ /profile.php?id=&page= [L,QSA] RewriteRule ^profile/([^/]+)/([^/]+)/?$ /profile.php?id=&tab= [L,QSA] RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /profile.php?id=&tab=&page= [L,QSA] RewriteRule ^profile/([^/]+)/?$ /profile.php?id= [L,QSA] RewriteRule ^profile/?$ /profile.php [L,QSA] RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /view.php?view=&page= [L,QSA] RewriteRule ^view/([^/]+)/?$ /view.php?view= [L,QSA] RewriteRule ^rss/?$ /rss.php [L,QSA] RewriteRule ^rss/topics/?$ /rss.php?topics=1 [L,QSA] RewriteRule ^rss/forum/([^/]+)/?$ /rss.php?forum= [L,QSA] RewriteRule ^rss/forum/([^/]+)/topics/?$ /rss.php?forum=&topics=1 [L,QSA] RewriteRule ^rss/topic/([^/]+)/?$ /rss.php?topic= [L,QSA] RewriteRule ^rss/tags/([^/]+)/?$ /rss.php?tag= [L,QSA] RewriteRule ^rss/tags/([^/]+)/topics/?$ /rss.php?tag=&topics=1 [L,QSA] RewriteRule ^rss/profile/([^/]+)/?$ /rss.php?profile= [L,QSA] RewriteRule ^rss/view/([^/]+)/?$ /rss.php?view= [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^.*$ /index.php [L] </IfModule> # END bbPress -
- Posted 2 years ago #
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?
-
- Posted 2 years ago #
I have the same issue, have you found a resolution? thanks!
-
- Posted 2 years ago #
My solution was to remove pagination from the front page. Lame, but it was all I could do.
-
You must log in to post.