I’ve found where the code lives! Now I don’t know how to change it to point to the bbpress profile (see below).
< ?php printf(__('Logged in as <a href="%1$s">%2$s.'), get_option('siteurl') . '/forums/users/', $user_identity); ?> </a><a href="" title=""></a>
I’ve tried changing the href to
href="http://retreadwerks.com/forums/users/%1$s"
but that’s not working either. I dont know what bbpress users for its profile url but I’ll keep looking. In the meantime does anyone have any suggestions?
-
This reply was modified 13 years, 8 months ago by
bjstone906.
-
This reply was modified 13 years, 8 months ago by
bjstone906.
-
This reply was modified 13 years, 8 months ago by
bjstone906.
Hi,
I’m wondering if anybody have some advice how to achieve this:
I have created 3 roles called; member, steeringgroup and board, with Justin Tadlocks Members plugin.
Now I’d like to restrict those roles to the following bbpress forums:
Category forum A (can only be viewed by logged in users, in role member, steeringgroup and board)
- Forum
- Forum
Category forum B (can only be viewd by logged in users, in role steeringgroup and board)
- Forum
- Forum
Category forum C (can only be viewd by logged in users, in role board)
- Forum
- Forum
Not logged in guests should not see anything of the forums, they will be redirected to a sign-up page. (have fixed this one).
Currently all 3 category forums and sub forums are visible to all logged in users at all times.
Running WordPress 3.4.2, bbPress 2.1.2, Members 0.2.1
Thank you in advance for any help/advice.
/emily
I don’t understand.
I used the buddypress default theme –> shortcode not work
change the slug –> not work
Try this solution : http://mysitemyway.com/support/topic/infocus-bbpress-20-root-slug –> not work
change to twety theme forum theme –> not work
desactive plugins…
[bbp-single-forum id=44] doesn’t work on forum page…. 🙁
But [bbp-topic-index] this shortcode work.
what can I do more ?
hey John,
I appreciate your response.
I’m sorry, but I don’t agree bbPress’ code or the process of implementing it is nicely documented. In fact, very little of it is documented that I can see — and much of what does exist refers to bbpress 1.x. As an example, I found it almost impossible to find any documentation this week on how to install a new bbPress 2.x theme, or how to modify existing themes. For a WordPress plugin … this is pretty unusual.
I appreciate that this is an open source community … I guess I’m disappointed because I feel what bbPress is doing has the potential to be revolutionary — and that its difficulty of implementation is limiting that potential. WordPress has needed what bbPress is doing for many years.
Cheers,
Renai
I replaced with the following:
I can’t get my freaking code to show up. What gives?
Using Compatibility version: bbpress is calling upon my main sidebar widget area. Where is this code? I created a new widget area in functions.php in my existing theme called “Forum Sidebar” so that I can put my bbpress widgets as a sidebar on the forum. (I have added widget areas successfully before). I created one forum category here: http://musiclearningcommunity.com/wordpress/forums/forum/maximize-music-learning/ In every php document in bbp-theme-compat, I replaced:
(I can’t get my code to show up!) argh.
with the following: ….
I do not see any changes – my main sidebar persists. Thank you for your help! Theme: Addington, bbPress version: 2.1.2, website: http://www.musiclearningcommunity.com/wordpress`
-
This topic was modified 13 years, 9 months ago by
Paul Hermanson.
-
This topic was modified 13 years, 9 months ago by
Paul Hermanson.
-
This topic was modified 13 years, 9 months ago by
Paul Hermanson.
-
This topic was modified 13 years, 9 months ago by
Paul Hermanson.
-
This topic was modified 13 years, 9 months ago by
Paul Hermanson.
-
This topic was modified 13 years, 9 months ago by
Paul Hermanson.
-
This topic was modified 13 years, 9 months ago by
Paul Hermanson.
-
This topic was modified 13 years, 9 months ago by
Paul Hermanson.
-
This topic was modified 13 years, 9 months ago by
Paul Hermanson.
-
This topic was modified 13 years, 9 months ago by
Paul Hermanson.
Hi there – I have a forum on a membership site running:
bbpress 2.1.2, buddypress 1.6.1, wordpress 3.4.2
with a premium theme.
The site owners have asked if we can add the ability for users to upload photos and embed video into forum posts. The rich tinyMCE editor doesn’t include the standard media uploader button, and even though in my Settings for bbPress I have the option to embed video/flickr/etc checked, when I paste the code in it defaults to a link instead of the embed object. I’m not very familiar with either bbPress or buddypress, so any help is greatly appreciated. I’ve attached a screenshot of the current forum editor.
Because the site is a membership site and the forums are protected, the link won’t help much but here it is: http://www.innercircletheater.com.
I’m more than happy to pay someone to implement these components. Also, I’ve tried adding the bbpress post tools plugin, but it breaks my theme.
Thanks!
Shannon

Hi! 😀
I’m having some troublse in vBulletin to bbPress convertion.
Wordpress 3.4.2
bbPress: 2.1
vBulletin Database: 4.1.6
Php: 5.4.4
Using MAMP (Mountain Lion)
When I try to convert the vBulletin database, it stuck in 33k replies.
If I try to stop and resume the convertion, it stuck again.
Converting replies (33300 - 33399)
Converting replies (33200 - 33299)
apache.log:
[Mon Oct 15 12:56:40 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Oct 15 12:56:40 2012] [notice] Digest: done
[Mon Oct 15 12:56:40 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.4.4 configured -- resuming normal operations
[Mon Oct 15 12:58:44 2012] [error] [client ::1] client denied by server configuration: /Users/unikaos/Documents/Sites/cabana/.DS_Store
[Mon Oct 15 12:58:46 2012] [error] [client ::1] client denied by server configuration: /Users/unikaos/Documents/Sites/area51/.DS_Store
[Mon Oct 15 13:44:15 2012] [notice] child pid 34894 exit signal Segmentation fault (11)
[Mon Oct 15 13:44:19 2012] [notice] child pid 34785 exit signal Segmentation fault (11)
[Mon Oct 15 13:57:39 2012] [notice] child pid 35000 exit signal Segmentation fault (11)
[Mon Oct 15 14:20:35 2012] [notice] child pid 34801 exit signal Segmentation fault (11)
[Mon Oct 15 14:29:38 2012] [notice] child pid 34800 exit signal Segmentation fault (11)
[Mon Oct 15 14:37:55 2012] [notice] caught SIGTERM, shutting down
[Mon Oct 15 14:49:15 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Oct 15 14:49:15 2012] [notice] Digest: done
[Mon Oct 15 14:49:15 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.4.4 configured -- resuming normal operations
[Mon Oct 15 14:49:43 2012] [notice] child pid 38524 exit signal Segmentation fault (11)
And sorry for my really bad english! 😀
up. someone can help plz ?
Thx
Currently on Bwater that I customized. I’m on bbPress Version 2.1.2 tried to find what version I am on, on WordPress but can’t seem to find, but do know that Im getting Updates to Update to the WordPress Version : 3.4.2 So take it I am on the old one. I don’t want to Update as I’m Petrofied of loosing all my hard Work that’s took me a year to do, and states in my Update’s that if I do Update, I will loose all my Customizations. RIGHT.. Hoping ANYONE can help me out on this one, I have sat for 4 whole Day’s and Nights trying to figure this out, and has now given up 🙁 I have not toched any bbPress css or has edited it in anyway to say in advance. There seems to be 2 Issues wrong. The Layout.
When I choose the bbPress Default compat theme, The top half is fine, but when we get to the Create New Topic in: section it’s half Cut off you cant even see the Submit button. Widgets are showing fine though.
I’m not to fussed about having set by default but would like to have it as a full page width, which I have done followed all Instructions! of even going into my Page setting the page attributes to Full-Width-no-sidebar Option. Then changed to the Twenty Ten (bbPress) plugin theme which made it Full width, but my Avatar is placed right at the Top Left hand of my page which is odd, and my Widgets are on the page also, which shouldn’t be there if I have set the page to full width. also the Widgets are @ the bottom of my page but scatterd all over my Forum ughhh. I have read through all of the Forums regarding this matter (Topic) Tried for myself but still does not look right. Please can ANYONE be so kind to help me on this matter PLEASE. Cant sit for another 4days trying to figure this out very frustrating really, and a Shame as I really like this bbPress its the only theme that looks nice on my site. Now if I can only get it to work! I have tried absolutly everything before coming to the forum unless absolutly ness.
any step by step code help as I am not that savvy with all codes as of yet but know alittle.
Link to the page it’s on http://dailydoseoflovely.com/forums/forum/which-blog/
Dear netweb Thank you for your information. I came up with how to make favorites page but I will still wait for the sharing of the codes as my clients are asking for more and more customization of the bbpress forum as they uses the forum daily bases.
thanks again for your information.
Okay, I am throwing this out there… I THINK I have / had the same problem you are dealing with (again, I think) and may have figured out a solution? Sorry if this is a waste of time… So, I wanted the shortcode to immediately show my main category with all of my subcategories because as you said the index was totally boring, non-descriptive etc. So, I found the numerical ID in the URL of the category (a ### three digit number, mine happened to be 309) and plugged that into [bbp-single-forum id=309] and that worked? So, now when I navigate to that specific page, it automatically opens up to the main + sub category view and not the index view. Again, apologies if this was a waste….
Please see this thread regarding the code used here on bbPress.org
What theme does this site use?
Hi,
how do I exclude addthis from my forum posts. There are no addthis checkbox in the post area so I suppose that I have to put some code in the bbpress forum template?
Windsurfing Forum
Best regards Claes
Does anyone know of a way I could add a CSS class to items that a user has already viewed.
I have some custom code (taken from the bbpress Recent Replies widget) that essentially shows my recent replies on my forum’s home page. This:
$post_types,
'post_status' => join( ',', array( bbp_get_public_status_id(), bbp_get_closed_status_id() ) ),
'posts_per_page' => $max_shown,
'meta_query' => array( bbp_exclude_forum_ids( 'meta_query' ) )
) );
// Get replies and display them
if ( $widget_query->have_posts() ) :
echo $before_widget;
echo $before_title . $title . $after_title; ?>
have_posts() ) : $widget_query->the_post(); ?>
<li >
post->ID );
$author_link = bbp_get_reply_author_link( array( 'post_id' => $reply_id, 'type' => 'both', 'size' => 100 ) );
echo $author_link. ' on';
echo '<a href="' . esc_url( bbp_get_reply_url( $reply_id ) ) . '" title="' . bbp_get_reply_excerpt( $reply_id, 50 ) . '">' . bbp_get_reply_topic_title( $reply_id ) . '</a>';
echo ''. bbp_get_reply_excerpt( $reply_id, 150 ) . '';
echo '' . get_the_date(), get_the_time().'';
?>
<?php echo $after_widget;
endif;
is_mb there is just a custom function I wrote to determine whether the page being viewed is the homepage or not. Anyway, I'd love to add a class to the opening LI tag if a user has already viewed that. Any ideas?
I think I found the solutions. in the user-favorites.php. I chanaged a little. and I come up with what i want.
Hi, First of all thank you very much for the bbpress plugin.
I like to make a favorites page just like the favorites pages on this forum.
When I managed to make template based on the profile page, the favorites page does not show lists.
Could you share the templeate code of Favorites pages and subscription page of this forum?
I’ll appreciate your help and advise on this.
Sungheon Lee from Seoul, South Korea.
/wp-content/plugins/bbpress/bbp-includes/bbp-topic-template.php line 686:
$total = bbp_get_topic_reply_count( $topic_id );
this is erroneous because of this:
/wp-content/plugins/bbpress/bbp-includes/bbp-core-filters.php line 158:
add_filter('bbp_get_topic_reply_count', 'bbp_number_format', 10);
Actually speaking bbp_get_user_topic_count, bbp_get_user_reply_count, bbp_get_user_post_count, bbp_get_forum_subforum_count, bbp_get_forum_topic_count, bbp_get_forum_reply_count, bbp_get_forum_post_count, bbp_get_topic_voice_count, bbp_get_topic_reply_count and bbp_get_topic_post_count are all affected by this bug.
I’m not 100% sure this is exactly what you were wanting to do, but I figured I’d post this for anyone else for finds this thread.
I released a plugin that basically hides bbPress from all users who are not logged in.
For example, if your forum is at YourDomain.com/forums and a vistor tries to go there who is not logged in, they will be redirected to a URL of your choice (defined in the settings). Also this plugin disables all bbPress RSS feeds and most shortcodes.
https://wordpress.org/extend/plugins/bbpress-members-only/
@Zaerl I would also suggest having a look at @mordauk (Pippin’s) code at GitHub and contributing and or extending the functionality of this existing plugin. The code is on GitHub here https://github.com/pippinsplugins/bbp-mark-as-read
Yeah unfortunately there is no global filter for that. The code above is pretty much what you will need to do on all instances, but you just need to track down the other filters.
It’s quite strange. I forced 1.000.000 on bbp_get_topic_pagination with no luck. A “find . -name ‘*.php’ | xargs grep 1000” didn’t show the value hardcoded anywhere.
@renai42 – Thanks for the feedback. The great thing about bbPress being open-source is you’re able to fix the things you don’t like on your own with Subversion patches via our Trac.
Sorry you’re finding the CSS to be complicated. There are some compromises we made to be able to make bbPress as good as it can with every possible WordPress theme available. As such, some CSS rules are more strict than others, and we tend to have things wrapped in ID’s to allow groups of content to be styled and/aggressively reset.
The staff here are volunteers, every one of us. We operate under the assumption that if you’re in the code, asking code questions, that you’re comfortable taking on something new and foreign. I’ll defend the code here though, since bbPress’s code is nicely documented and orderly.
Volunteer community members represent the project, but they also represent themselves. If someone’s made you feel bad, that’s between you and them. We’re all adults here, and it doesn’t benefit anyone to talk above or below anyone else; when it happens, it weeds itself out pretty quickly.
Regarding CSS specifically, it’s in the name: it cascades down. This means you’re able to add whatever rules you’d like in the stack, and the browser will interpret those new rules in kind. If it’s not obvious enough to you, that just means you learned something new today. That’s not anyone’s fault, or anything that anyone should be upset about on either side.
Again, thanks for your feedback; if you’d like to talk privately about a specific matter or person, contact me privately (a Google search should bring up multiple ways to do this.)
Hi everyone!
I’m using bbPress (last version, with lastest WP too in a single site) and have the General Forums activated (not the group ones). I activated the option to use the WP WYSIWYG visual editor for the comments, which had a black background and a white text color. Usually it worked very well, but one day (too far ago), the color of the text changed to gray (check the image below).
I don’t remember changed anything on the code. Maybe it was a plugin update or something like that, but I couldn’t change it back.
Thanks!
Example: http://gameshock.vg/foros/topic/juegos-populares-nacionales-y-peronistas