Hey, not sure if it is just me…but when I tried to install bbPress it broke my dashbaord so I had to delete the bbPress folder to get back to my dashboard.
I’m using BuddyPress Default 1.5.5 theme…not sure if it’s that though.
If bbPress is not compatible with wp 3.3.2 does anyone know when it will be ready?
Thanks!
I don’t know the languages enough to write them, but I can pinpoint a source and edit it. You can see what I’ve done so far in http://www.dnbrawler.com.
So I should be making customizations in the theme files, I’ll look into that now.
In user-details.php I was able to find the source here:
<div id=”entry-author-info”>
<div id=”author-avatar”>
<?php echo get_avatar( bbp_get_displayed_user_field( ‘user_email’ ), apply_filters( ‘twentyten_author_bio_avatar_size’, 60 ) ); ?>
</div><!– #author-avatar –>
<div id=”author-description”>
<h1><?php printf( __( ‘About %s’, ‘bbpress’ ), bbp_get_displayed_user_field( ‘display_name’ ) ); ?></h1>
<?php echo bbp_get_displayed_user_field( ‘description’ ); ?>
</div><!– #author-description –>
</div><!– #entry-author-info –>
This is where I’m stuck.
<?php echo bbp_user_profile_edit_url(); ?> isnt working, no output at all.
Any other suggestions? Cant be that difficult? Maybe someone from bbpress support can help?!
Lynq: Thanks for sharing that. Incase there’s others like me who can play with the css and the html but don’t know knees from elbows about the php, can you maybe give a little advice on what would need to be customized in the theme to accommodate the changes you’ve made there?
I can’t readily tell what that code would effect. It’d be really appreciated.
Hi John,
I have this same issue. See my other topic here for a better explanation.
WP Menu does not stay active when navigating forums
Basically, the WP Menu that is linked to the forum is fine until you start to enter subforums and topics.
Same goes if you use a bbpress shortcode in a page and link it to a WP Menu item.
That should echo it out for you as well I think.
If it doesn’t then you can just use echo in front of it. Might be a good idea to get to grips with a bit of PHP if you are looking at anymore customization.
It is fairly easy to move things around and echo different bits out.
echo bbp_user_profile_edit_url();
That is it
Inside your theme folder for bbpress.
/wp-content/plugins/bbpress/bbp-themes/<YOUR_THEME>
bbPress is now just a plugin.
Once you install the plugin and activate it, then you will see all of the forum options down the left hand side.
It adds custom post types and works inside wordpress rather than alongside it.
Good luck!
I have two separate headers for my customized skeleton theme, header.php and header-page.php. Is there a way I can call header-page.php on my forums page for bbpress? I tried using:
if ( is_front_page() ) :
get_header();
elseif ( is_bbpress() ) :
get_header(‘page’);
else :
get_header(‘page’);
in my index.php page, but it didn’t work. Is there another way to do this?
Thanks.
I’m debugging a site right now and trying to get the “trash” link to show up for Subscribers as well as admins. This is a fresh install of WP 3.3.2, URE and bbPress 2.0.2. Despite checking the “delete_replies” box in User Role Editor, the link still does not show up for Subscribers!
Digging deeper: line 1370 of bbp-reply-template.php shows this:
if ( !current_user_can( 'delete_reply', $r ) && !empty( $r ) )
unset( $r );
… which is good – checks for permission, and if the user doesn’t have ‘delete_reply’ on $r node then it unsets the delete link.
So why does the URE checkbox not enable this link? Looking at an unserialized string of user capabilities for the current Subscriber role shows this:
...
'subscriber' =>
array (
'name' => 'Subscriber',
'capabilities' =>
array (
'assign_topic_tags' => 1,
'delete_replies' => 1,
'delete_topics' => 1,
'edit_replies' => 1,
'level_0' => 1,
'publish_replies' => 1,
'publish_topics' => 1,
'read' => 1,
),
),
...
and we see here that the capability showing is ‘delete_replies’, NOT ‘delete_reply’!!
So all that needs to be done to fix this is adding another capability in URE that lists as ‘delete_reply’ instead of ‘delete_replies’. Easy fix!
Here’s the disclaimer: there are a ton of plugins installed right now, so I’m not even sure ‘delete_replies’ permission is part of bbPress. If bbPress indeed does not add its own delete permission, then this is NOT a bug – just an interesting quirk!
Has anyone noticed what I said or my words were not that much meaningful.. Can anyone guide me in this? Please look into this.
Great job so far. I had posted a question, but I found the answer. So I’ve edited this post. Can’t wait to see the BP integration for a user profile tab for forum activity. Thanks
I am not very good in php, how do I display this link? Do you have a code for me with echo function?, thx!
Have you tested it with the twentyten theme?
If that works, then it could be an issue with the theme being out of date.
Good luck!
I found this in the template files.
<?php bbp_user_profile_edit_url(); ?>
For some reason when registering to the forum our users are directed to the wpmu network site registration page. Any idea where I went wrong during the installation?
Hi,
I have a problem.
We’re running a multisite install and we want to run bbPress on one site.
Everything is in working order except user signup then visitors are redirected to wp-signup.php on root site.
I’d like them to always stay on the present site and that when they sign up they’re assigned the role Forum Participant.
Is this possible?
Using Canvas theme from Woothemes. Copied files from the twentyten bbPress theme that comes with install.
Best regards,
Marcus
Hey,
I got a problem. I’m using a theme that has support for bbPress 2.0, but when I try to upgrade to 2.1 I get the following error:
Fatal error: Call to undefined function wp_get_theme() in /storage/content/55/153755/beta.taketen.eu/public_html/wp-content/plugins/bbpress/bbp-theme-compat/bbpress-functions.php on line 77
I’ve tried this with two different themes with bbPress 2.0 support and get the same error. However, if I use a theme that doesn’t support bbPress at all, it works.
How do I get this to work?
Hello sxalexander,
Yes, this is a much better way to do that.
And it keeps the bbpress plugin unchanged, so it can safely be updated.
Thanks !
Hello everyone.
I already searched for my problem but couldnt find any working solution for my bbpress 2.0.2.
Since there is no direct link for users to change their profile (not good), therefore I am searching to generate a link to put in a header or so.
I only found solutions for older bbpress installations with user id (number) but in the new bbpress it looks like you need userNAMES.
Can somebody paste me a working php code to display a profile-link? Thx!
As long as the forum is visible, it seems to work. Once the forum is set to “private” entries are only visible to admin. Registered users can’t even see their own posts. This remains true even when the forum will be switched back to “public”. The forum is here: http://zukunft-stadtbahn.de/forums/forum/redaktionsbesprechung/
It is public and anonymous posts are allowed.The basic settings were not changed. WordPress 3.3.2 and bbPress 2.0.2. Grateful for any help.
Jörg
My question is should i put your code here:
wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/functions.php
or there:
wp-content/themes/genesis/functions.php
?
Is there a special spot in the file ?
Thanks
Hi Jaredatch,
I tried to add the code in
wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/functions.php
But the message still appearing.
“Ce forum contient 5 sujets et 8 réponses, et a été mis à jour par”
(it s in french).
I added the code like that:
add_filter( ‘bbp_get_single_forum_description’, ‘ja_return_blank’ ) );
add_filter( ‘bbp_get_single_topic_description’, ‘ja_return_blank’ ) );
function ja_return_blank() {
ja_return ”;
}
?>
Just before the ?>
I’m using Genesis WordPress Theme.
I also tried to add the code there:
wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/functions.php
Same problem a white page.
So all you need to do at the moment is have something like:
a custom page metabox for the post which saves the forum id after it has been created by the Posts 2 Posts plugin.
Then in your single.php file you can use the bbPress functions to retrieve the relevant topics for the forum id assigned to that post.
if ( bbp_has_topics( array( 'post_parent' => $postmeta["forum_id"] ) ) )
bbp_get_template_part( 'bbpress/loop', 'topics' );
Oh right ok.
You may want to use something like:
if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => true, 'order' => 'DESC', 'posts_per_page' => 5 ) ) )
bbp_get_template_part( 'bbpress/loop', 'topics' );