Forum Replies Created
-
In reply to: Rewriting URLs
Marky,
I have the same issue. I want to switch from PHPBB to bbPress and keep the internal links the same. You can try to adjust my plugin for this:
https://bbpress.org/forums/topic/771
Depending on how the links are right now at PHPBB you may be able to do it.
Thanx,
I am not sure that ?page=2 will be followed by search engines. bbPress have a better spiderability then all the other forums and WordPress, it would be a shame to loose so many pages.
In reply to: Changing Mod Rewrite rulesI’ve made something similar. It still needs some work. You can see the result at http://www.dfur.com and download the plugin from https://bbpress.org/forums/topic/771
This is my first plugin wrote and it needs some more work with the .htaccess rules. The pagination is not yet fixed and if somone could help me please let me know.
Thanx.
In reply to: Setting a different css class for the first topicSounds difficult to set up:)
I understand that I create a variable but how do I make it make the difference between the posts.
I found a bb_is_first and I am thinking in using this one somehow.
Oh,
Nevermind, I think that I’ve solve it.
Thanx.
I do not know if I’ve did it right but it does not works. Am I doing something wrong?
The new $link should be
$link = bb_get_option(‘uri’) . “$forum->forum_name” . ( 1 < $page ? “/page/$page” : ” );
it all should look like:
function my_get_forum_link_filter( $link ) {
$link = bb_get_option(‘uri’) . “$forum->forum_name” . ( 1 < $page ? “/page/$page” : ” );; // Whatever you want to do with the link
return $link; // Very important line!
}
add_filter( ‘get_forum_link’, ‘my_get_forum_link_filter’ );
In reply to: Changing Mod Rewrite rulesI’ve read some posts and it looks that lots of people want to play with their permalinks. WP handles great this link customization but I was unable to find anything for bbPress. Does anyone had any success with changing the mod_rewrite rules and modifying the current permalinks?
Thanx.