Thanks, John! Will you provide instructions on changing just that page with an edit to htaccess? My googling is not working out.
I’ve got 2 htaccess files, both in my /public directory:
defaults.bb-htaccess.php
in the bbpress includes folder
.htaccess
in a data folder
Thanks for your help!
mr_pilot,
The BuddyPress permalink structure is hardcoded to look for specific criteria in specific positions. It doesn’t really scale well, and we’re going to change it in future versions to use proper rewrite rules, but until then it would be a huge nightmare to change; even then, your changes would end up broken when we make improvements to the API.
The rewrite rules themselves get created in register_post_type() in /wp-includes/post.php. Lots of complex logic in there, and I doubt there are many better examples on how to write your own rewrite rules completely from scratch than inside that function.
Thanks in advance for any help you can provide!
I have a website built in Ruby on Rails. My site has a webpage, located at “example.com/communityboard”, that you can use to enter a separate Community area. The community area is built with bbPress.
I want users who type in the URL “example.com/community” to be redirected to “example.com/communityboard” . It used to work this way, but for some reason, the redirect no longer works in any browser but IE.
We accomplished this redirect by placing an index.html file in the /community folder where bbPress had been installed. The entire code for the index.html file reads
<meta http-equiv="refresh" content="0;url=http://example.com/communityboard">
Back when we built the site, I was told that a meta refresh redirect using an index.html file was the best option. The redirect had to address ONLY a single page (http://example.com/community) and not all of the sublevels of the community bb (which lives at http://example.com/community/index.php). Otherwise, the community bb and all of its sublevels would be redirected.
So… my questions:
Why is the meta refresh redirect not working anymore? How can I fix it?
Added and fixed in: https://bbpress.trac.wordpress.org/ticket/1803
Will be in bbPress 2.1. Thanks for the recommendation!
No I don’t see anything, essentially what I want to be able to do is on the main list of forums, have each forum link that has sub-forums in it have a specific class on it, so I can single that out with css and use styling the show that that forum has sub-forums in it.
Like they do here…
http://forums.ubi.com/forumdisplay.php/45-GRO-North-America
All the forum names that have that little symbol next to it have sub-forums in them. That is exactly what I want to do with my bbpress forum
Hi folks,
A newbe to WordPress and bbPress so please forgive me (and advise) if this post is in the wrong place.
I’m working with my client’s existing website at http://nmhunts.com I’m attempting to create a Forum in which his clients will be able to discuss their hunting experiences. My intent is to create the forum in a subdirectory and link to it from the main website.
I installed WordPress in folder /wordpress. I installed bbPress. I had to change my Site Address (URL) in General Settings to http://nmhunts.com (from http://nmhunts.com/wordpress) so I could get my log in and log out buttons to work properly. (Without this change, the links would add an extra /wordpress to the url yielding something like http://nmhunts.com/wordpress/wordpress/wp-login.php . . .)
Now my links to my Registration and Lost Password pages don’t work. The path does not include the /wordpress that it needs. i.e. the buttons are looking for the Registration page at http://nmhunts.com/?page_id=8 instead of http://nmhunts.com/wordpress/?page_id=8.
Ideally, I would like to get the login and logout links to quit adding the extra “/wordpress” to the path.
I tried messing around with permalinks and slugs to change the path of these pages but WP apparently won’t allow the forward slash (/) after the
/wordpress/
As stated earlier, I am a newbe and I’m hoping that it is my unfamiliarity with WP and bbPress that is preventig me from finding the easy solution. Your help or suggestions are greatly appreciated.
michael
michael@imagic-usa.com
Hey guys, I just install bbPress on my WordPress website with Magnifizine design, but I have a big problem when I go to forums page, just look at this : http://image.noelshack.com/fichiers/2012/14/1333461538-bbpresswtf.jpg
How to fix ?
It is the same problem on “forums” page (list with category/forums), and when I click on a category too.
No problem on a forum, and no problem while reading a topic.
Thanks.
Hi!
I´m running a wordpress/buddypess/bbpress combination and I also need to change the permalink structure, in a bit different way then eleram – I´m looking for a more logic structure in all forums: example.com/forum/name-of-forum/name-of-post/
-> replace slug “forum” by name of forum
-> replace “topic” by name of topic
I can customize the code, but I´m not sure where to look on.
@John: “WordPress handles the rewrite rules for bbPress’s content types” -> where do I have to look for (bbpress´ custom post types) to adjust the permalink logic?
Of course I will share my customization as soon a sfinished.
Thanks!
hi all, sorry for bad english. i have installed bbpress by wordpress plugin search tool and i have uploaded the theme in bbp-themes folder (also tryed in my-templates).. now, what to do? lol
practically i’ve got the same problem http://bbpress.org/forums/topic/where-is-dashboard
version 2.0.2
Still haven’t found a solution either. I can’t imagine no one has run into this before, especially considering the number of people who use Bbpress and Buddypress together. Even if you use the standard setup it won’t look good as it will scale a 50px image to a 80px image.
I’ve made some progress here:
[bbpress 2 plugin] – How to change default avatar size? (to match Buddypress)
but I haven’t come with the right solution yet so far…
ps – avoid hacking bbp core template files, you should use filters
I installed bbPress and created 8 forums and several topics. All was good. I added the bbPress Attachment plugin and now I can no longer access the forums in admin. I can see and edit topics in the admin and on the front end I can see the forums and add/see topics. I just can not access the forums to add, edit, delete on the admin. The link to Forums does not show up on the Admin navigation.
I am running:
WordPress 3.3.1
bbPress Version 2.0.2
The issue seemed to start after I added the plugin got bbPress Attachments. However, I deleted the plugin (both bbPress and bbPress Attchment) and just reinstalled bbPress.
On another website I used the same template and added both bbPress and bbPres Attachment and it works fine. I also switched to a bbPress (Twenty ten) and had the same issue.
Before I had these problems, I edited the Archive Slugs and Single Slugs several times here (Settings >> Forums)
Currently the slugs are set at:
forum
topic
topic-tag
I do have the warnings: Possible bbPress conflict: Forum slug
However, I get warning no matter what I put in these fields.
Any suggestions?
Hey Jared, just to share this with you, i finally did what i need it in the front page with a tabs plugin found at
https://wordpress.org/extend/plugins/wordpress-post-tabs/
and the shortcodes found at
https://bbpress.org/forums/topic/bbpress-20-shortcodes
you can check it out in the main page of quimbumbia dot org any comments will be apreciated..
Thanks for the support!!
the only thing i need to find now is a shortcode for most visited and most commented
Well I stumped. I got quite excited thinking it must be a cache issue then – but even after clearing it (both Safari & Chrome) it looks the same as before. Hoepfully it is just a cache issue – but unless my cache is screwy…..
When you checked before did it look wrong – or has it always looked OK to you?
I have taken a screenshot – here. http://www.thecallover.co.uk/bbpresscssissue.jpg
Thanks – i did try that – but it made no difference. Or did you mean the style of bbpress theme?
Edit * I added it to the twentyten (default bbpress theme) and still the problem remains. I am sure its soooo simple but I am not that great at fault finding even with firebug.
Hi, there!
Can anyone help??? Languages!!!
So, I have stand alone 1.0 bbPRESS and would like to add Slovenian language to it. I’ve created
/public_html/bb-content/languages/bbpress/bbpress-sl_SL.mo
and copy translation in it and nothing. I’ve also downloaded and instaled bbPress Language Switcher, and doens’t work. I would be most gratefull for an advice since that is driving me nuts!
Thank you,
Mateja, Slovenia
Correct, but you’ll need to be creative, since you’ll want to unset or override existing rules.
Thanks John
so I need to use “Rewrite API/add rewrite rule” in wordpress, isn’t?!
Unfortunately not easily. WordPress handles the rewrite rules for bbPress’s content types. It’s possible to overload them, but you’ll need to do so on your own.
bbPress 1.x does not have unread posts or topic icons without third party plugins.
ach, just now I thought this would have fixed it
instead in the single-forum view under the freshness coulumn, I get some last poster pictures sized 14px (default) and some other at full size
I have no idea why this is happening, and looks very random…
sigh, I wish this whole thing was easier to accomplish…
I got this solution… which is probably not so clean but it works; previously I had already created a function to retrieve the full width bp avatar in wordpress, now I looked at the bbp code and filtered the function fetching the avatar in replies with that function I had previously created
function sg_author_avatar($size) {
global $post;
if ( function_exists('bp_core_fetch_avatar') ) {
echo apply_filters( 'bp_post_author_avatar', bp_core_fetch_avatar( array( 'item_id' => $post->post_author, 'type' => 'full', 'height' => $size, 'width' => $size ) ) );
}
elseif ( function_exists('get_avatar') ) {
echo get_avatar(get_the_author_meta('ID'), $size );
}
}
function sg_bp2bb_author_avatar() {
$author_avatar = sg_author_avatar('150');
}
add_filter('bbp_get_reply_author_avatar', 'sg_bp2bb_author_avatar')
How can I do this?!
http://127.0.0.1/wp/ %Topic_slug% /%topic_name%
to :
http://127.0.0.1/wp/ %Topic_slug% / %topic_ID%
Example:
h ttp://127.0.0.1/wp/topic/test-topic
to
h ttp://127.0.0.1/wp/topic/1234
this function:
bbp_reply_author_link( array( ‘sep’ => ”, ‘size’ => ‘150’ ) );
actually resizes the avatar to the desired size
HOWEVER, it fetches the buddypress thumbnail avatar – in my case uses the 50px thumbnail and stretches it to 150px, which is ugly
I want to fetch the 150px (full width buddypress avatar ) and display as it is…