I think you might want to install the ‘bbPress Debug Bar’ by @mzaweb
It will show you exactly what templates are being loaded on each page of your site.
https://wordpress.org/extend/plugins/debug-bar-bbpress/
Can you try bbPress 2.3 RC1 https://bbpress.org/blog/2013/03/bbpress-2-3-release-candidate-1/
A similar issue was reported here but can no longer be reproduced.
Take a look at `bbp_get_participant_role` /includes/core/capabilities.php#L219
get_userdata already returns you the WP_User object. This should do it:
`
$user = get_userdata( bbp_get_reply_author_id( bbp_get_reply_id() ) );
if ( !empty( $user->roles ) && is_array( $user->roles ) ) {
echo $user->roles[0];
}
`
on an unrelated topic;
i have `bbp_get_reply_id()`, which is getting me the id of the topic reply, and im trying to use it to get the id of the author so that i can print any of the authors meta data, role, name, url, etc.
Does bbPress have a method for getting the author id? Sofar using
`
$comment = get_comment( bbp_get_reply_id() );
$comment_author_id = $comment->user_id;
`
returns me my favorite:
Notice: Trying to get property of non-object in C:\xampp\htdocs\wordpress\wp-content\themes\WoW_Public_Vent_Theme\functions.php on line 275
You need to make an exception for
wp-admin/admin-ajax.php
See https://codex.wordpress.org/AJAX_in_Plugins
That got me to:
http://localhost/wordpress/author/
Still missing the user name at the end of the url
add_filter( 'bbp_get_user_profile_url', 'my_custom_author_link' );
function my_custom_author_link( $user_id ){
$author_info = get_userdata( 1 );
$author_name = $author_info->user_nicename;
return get_author_posts_url( false, $author_name );
}
is working properly.
but when i change the input of
$author_info = get_userdata( 1 );
to
$author_info = get_userdata( $user_id );
I get:
Notice: Trying to get property of non-object in C:\xampp\htdocs\wordpress\wp-content\themes\WoW_Public_Vent_Theme\functions.php on line 274
and it does not work :(;
Soo close.
I Tried:
add_filter( 'bbp_get_user_profile_url', 'my_custom_author_link' );
function my_custom_author_link( $user_id ){
return get_author_posts_url(false, $user_id);
}
get_author_link(); appears to have been depreciated.
So using:
add_filter( 'bbp_get_user_profile_url', 'my_custom_author_link' );
function my_custom_author_link( $user_id ){
return get_author_posts_url( $user_id, false );
}
I am able to get to:
http://localhost/wordpress/author/
which is sooo close to what i need.
I need it to return http://localhost/wordpress/author/$user_name
I’ve restricted access to /wp-admin using .htaccess file within the /wp-admin directory.
I have a forum with BuddyPress + bbPress installed.
All forum users receive the default subscriber/participant roles upon registration.
Visitors not logged on are free to roam the forum (no posting though).
But logged-in users are asked for the username/password that is set for site admin (for /wp-admin, specifically) immediately after accessing a forum or a topic.
How can I stop WP asking regular forum users for username/password set for /wp-admin?
I can provide url to site, a test user credentials and the content of .htaccess file.
Thank you.
T.
So, right now with my un-edited bbPress installation on the forum pages, the authors role is displayed as KeyMaster::1, and so on and so forth depending on the forum role of the author of the topic / reply. Is there a way to change what is displayed there? I would like it to display possibly my wordpress user roles rather than the forum roles, or maybe to display something else once I figure out how to modify the display.
Is this possible?
I don’t really want to edit core bbPress files so i thought i would try to make a plugin that would just change them.
Any and all replies are much appreciated. Thanks.
This is my site / theme and you can see what im referring to on this page:
http://oqueuefansitedev.co.nf/?topic=a-test-topic.
If I understood the instructions correctly, after installing and configuring the forum should be in my menu so people can get to it.
However for some reason it is not http://networkingcounselors.com/forums/
I feel like I am most likely missing something but searching I couldn’t figure out what.
If it makes a difference, I am not using a custom menu. I am just ordering the pages how I want them to display. Doing this because one of my add ons restricts page access based on member level and it does not work with custom menus.
Wordpress: 3.5.1
bbPress: 2.2.4
WordPress V3.5.1
BuddyPress 1.6.5
bbPress 2.2.4
I have just moved my group forums from BuddyPress and added a sitewide forum as per these instructions http://codex.buddypress.org/user/buddypress-site-administration/migrating-from-old-forums-to-bbpress-2/
Everything is working except for 1 thing.
Any user with a forum role of Participant cannot see the opening topic post in any thread. They can see all replies. It doesn’t matter if they created it or another user did, they can’t see the opening post.
If I change their role to Moderator they can see the opening post. But, I don’t want everyone to have moderator rights.
I tried changing the capabilities of Participant (using capability manager plugin), but that didn’t work either.
Can someone please HELP!!!
thank you
Well, finally it turned out to me that the wp_posts_fulltext_search table was a custom table that the former dev of the site added (not a WordPress native). 🙂 I’m good to go now.
Thanks, Daniel, sure you could do it with an own function instead.
I saw that there is already a ticket related to the title: https://bbpress.trac.wordpress.org/ticket/1764
Didn’t test the patch yet.
It looks like WordPress Registrations are not enabled for your site.
You can check if WP is allowing registrations here /wp-admin/options-general.php
(Or a registration plugin is doing weird things)
Apparently with some customization, YARPP can support bbPress.
There’s also the Other Posts plugin, which by accident supported bbPress for a while, so some of us have asked if maybe that could be brought back as a feature.
@johnjamesjacoby do you reckon there are some performance concerns for a plugin like this applied to bbPress? Seeing as “related posts” plugins often come under fire for being performance hogs, I fear those problems would get exponentially worse in a large forum.
Having the same problem here: http://essentialoilbenefits.org/forums/
Tried the quick-fix in my functions.php, but it screwed up everything else and destroyed redirects.
I have the following plugins:
- All in one Favicon
- Autotags
- bbPress
- bbPress Admin Bar Addition
- bbPress Settings
- bbPress WP Tweaks
- bbPress Search Widget
- Select Find and replace
- Google Plus
- HTML Regex Replace
- Jetpack by WordPress.com
- Select Real-Time Find and Replace
- WordPress SEO
- WPEssence Bulk Categories
- YouTube
Hi everyone. I’m in the process of migrating my website from phpBB to bbPress. In modifying the template, I feel like I’m pretty limited to what I can change without getting into modifying core files.
Basically, this is what my phpBB forum looks like – 
And this is how my bbPress looks like right now – 
I want to retain the look of the former, but in the archive-forum.php template file, the only code that is being called in that area is “bbp_get_template_part( ‘content’, ‘archive-forum’ );”
It looks like bbp_get_template_part() is calling the entire thing, whereas I’m used to phpBB giving me individual tags – I guess their equivalent to what you’d call shortcodes? – for the category name, the forum name, number of posts etc to place them precisely where I want them in the template.
So what am I missing? What file can I modify, or what functions could I call, that would allow me that same level of control?
Hopefully this is coherent. I’m pretty new to using bbPress – and BuddyPress, and WordPress… – so I feel a bit mentally fatigued from learning these systems, lol. Any help would most certainly be appreciated. Let me know if anything needs clarification, and thanks in advance to anyone who reads this wall of text. Cheers.
Hi guys,
I’m implementing fulltext search for my company’s forums site which is based on bbPress 2 (plugin version 2.2.4). I think I should start with the wp_posts_fulltext_search table (MYISAM engine) that’s intended by WordPress for fulltext search. However, this table is not updated whenever a bbPress forum topic/reply is created/updated/deleted. How should I handle this problem?
I’ve seen a bunch of posts about this same thing but it doesn’t seem to work for me. I installed and made 3 forums. However when I go to http://mydomain.com/forums I get a 404. I originally had a page called forums which may have caused this. I went back deleted the plugin and reinstalled and no luck. Another post said to go to the permalinks page and that will automatically refresh the settings. That hasn’t worked either. So as it is, if I’m signed into my wordpress admin I can create new forums and view them individually, however I do not have a Forums page that I can link to in my header. Please help. 🙂
Have the same problem (i.e. numbers and bullets are stripped out of the display) and I am using
Atahualpa Theme and bbpress 2.2.4 and have the WordPress Fancy editor option switched on.
I tried the solution offered by @michaelhpdx but it didn’t work. Perhaps I put Michael’s in the wrong function.php? I put it in the function.php in bbpress/admin. I notice there also on in bbpress/common and perhaps it needs to go under the theme?
Regards
Will
You need to upgrade your bbPress 1.02 to 1.2 first.
Once that part is completed then you setup WordPress with the bbPress 2.x plugin and import your bbPress 1.2 forums into bbPress 2.x.
Bonjour, Je viens d’installer bbpress sur le thème clubber : http://themeforest.net/item/clubber-events-music-wordpress-theme/3427687
Quand je suis sur la page forums j’ai un message d’erreur : Warning: array_key_exists() expects parameter 2 to be array, boolean given in /homez.714/actumeta/www/wp-content/themes/clubber/includes/functions-layout.php on line 61
Comment faire pour corriger cela ?
Voici le site : http://actumetaltoulouse.fr/forums/