@brucedongcaigmailcom Thanks for that info, helps to make sure we have all the bases covered 🙂
Probably an easier way would be to download the entire file using this link
https://bbpress.trac.wordpress.org/export/5210/branches/2.5/includes/core/template-functions.php
Save that to your PC and then with an FTP program upload it to your web host in this folder /public_html/wp-content/plugins/bbpress/includes/core
p.s. Just let me know if it doesn’t work
Hello Stephen,
1) I am using XAMPP1.8(3) locally. I chose XAMPP for Windows. I did install it over 1 year ago. so I do not remember well, but it is from the same location: http://www.apachefriends.org/en/xampp.html.
2)What is “Window Xampp Apache (3.1.0.3.1.0)” – I found this info on XAMPP control panel. it is version 3.1.0.3.1.0. but it is not right information for you. 🙂
3)We have a patch ready to ship with bbPress 2.5.1
https://bbpress.trac.wordpress.org/ticket/2481
I do not know how to install the patch. can you provide the detail steps? I would love to test it. I also do updates/installation inside the wordpress panel. so I do not know how to manually do patch.:)
4) If the patch is not working, how can un-install it or what should I do? so I can have recovery plan.
Happy thanksgiving!!!
thank you
Hi,
I am in the same situation and I have found a solution. You can apply filters to almost every function in bbpress it seems. I just followed the functions until I found these three filters:
apply_filters( 'bbp_get_user_profile_link', $user_link, $user_id );
apply_filters( 'bbp_get_reply_author_display_name', $author_name, $reply_id )
apply_filters( 'bbp_get_topic_author_link', $author_link, $args );
Using these you can change basically everything. I found it easier to change the avatar ALT text vie the normal wordpress get_avatar filter since I wanted that to happen site wide anyway. Here is an example of the reply filter:
function replace_bbpress_replies_username_filter($author_name,$reply_id ){
$author_id = bbp_get_reply_author_id($reply_id);
$author_object = get_userdata( $author_id );
$author_name = ucfirst($author_object->user_login);
return $author_name;
}
add_filter( 'bbp_get_reply_author_display_name','replace_bbpress_replies_username_filter',10, 2);
Hope that helps. You can do it through templating but this way you don’t have to worry about doing it in a million different templates and then also dealing the layout of the markup you use to replace the current markup. And if filters confuse you and you don’t understand go read this:
http://dev.themeblvd.com/tutorial/filters/
I had zero knowledge of how to do filters when I read this thread 16 hours ago and decided to not go the route the above person mentioned.
EDIT: I thought I’d add that they really could make this a lot easier with very little effort and make it so that you could configure what to use as a display name…. If anyone reads this from bbPress I’d be happy to get involved and do it for them. Seems so dumb to default to make it peoples full names when 90% people don’t want that. That is what facebook, G+ etc is for.
bbPress disabled the visual editor in bbPress 2.3 ~8 months ago.
Take a look at this plugin if you want to enable it again
https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/
If you think that is what you want to try please use the download link attached to this post in their support forum as it is an updated version https://wordpress.org/support/topic/not-working-in-bbpress-24?replies=9#post-4687693
It looks like you have patched the file correctly.
Can you view the source and get the stylesheet path and paste it here:
eg.
A ‘failed’ example
<link rel="stylesheet" id="bbp-default-css" href="http://localhost/wordpress37/wp-content/C:devhtdocswordpress37wp-contentpluginsbbpress/templates/default/css/bbpress.css?ver=2.5-5199" type="text/css" media="screen">
A ‘working’ example:
<link rel='stylesheet' id='bbp-default-css' href='http://127.0.0.1/wp-content/plugins/bbpress/templates/default/css/bbpress.css?ver=2.5-5199' type='text/css' media='screen' />
Sorry, I forgot to mention I did disable all plugins with no luck. Same results. I did not try twenty thirteen theme. Tried that this morning and still have the same results.
Thanks for trying this
Some more info in case any of these things did some damage.
Plugins: Akismet, Google Analytics for WordPress, Jetpack by WordPress.com, Login With Ajax, Register Plus Redux, WP-reCAPTCHA – (disabled), WP-Syntax
None of these should remove the titles from your posts particularly as they are disabled.
WordPress SEO is different though, I am not familiar with it but does this plugin DOES alter titles of posts if I remember correctly.
Does WordPress SEO keep any logs of what content it has altered? If so can check these logs to see if it changed your titles.
Are you hosting this yourself on Windows?
If so we have a patch for bbPress 2.5.1 here
https://bbpress.trac.wordpress.org/ticket/2481
We have had no known issues of this for bbPress 2.4
Who is your webhost provider and/or what software package and version are you using locally? eg. XAMPP 1.8.3
We have a patch ready to ship with bbPress 2.5.1
https://bbpress.trac.wordpress.org/ticket/2481
If you could test that patch that would be great, I have tested it on XAMPP 1.8.3 , Apache, IIS and a couple of other systems but we’d like some feedback on the patch before we release 2.5.1 to make sure we haven’t broken something else. 🙂
Yes, it is a bug in bbPress 2.5, we have a patch in and ready for bbPress 2.5.1
Details are here if you want to apply the patch yourself:
https://bbpress.trac.wordpress.org/ticket/2481
If not bbPress 2.5.1 is not far away….
Hi,
This is definitely a bug in bbp 2.5 on Windows. 2.4.1 does not have this issue. You can reproduce it by reverting to 2.4.1 (works again) -> update to 2.5 (doesn’t work again).
<link rel="stylesheet" id="bbp-default-css" href="http://localhost/wordpress37/wp-content/C:devhtdocswordpress37wp-contentpluginsbbpress/templates/default/css/bbpress.css?ver=2.5-5199" type="text/css" media="screen">
Windows 7 x64, httpd+php+mysqld, latest stable WP, BP, BBP
Some more info in case any of these things did some damage.
Plugins:
Akismet
Google Analytics for WordPress
Jetpack by WordPress.com
Login With Ajax
Register Plus Redux
WordPress SEO
WP-reCAPTCHA – (disabled)
WP-Syntax
I also use this theme: http://themeforest.net/item/metrostyle-responsive-all-purpose-wordpress-theme/2921313
3.7.1 WordPress. I did try saving the settings and also deleting bbress then saving. However I never tried to save after I disabled my plugins and themes. Is that worth trying?
what is your wordpress version? Have you try to save again all bbpress forum options?
Sorry, I forgot to mention I did disable all plugins with no luck. Same results. I did not try twenty thirteen theme. Tried that this morning and still have the same results.
I’m on the latest WordPress. Let me know what other information might be useful. Thanks.
Thanks for the reply, this theme uses BBpress and the search members (filters) has drop downs. Is this a part of the BBpress plugin? Any help is appreciated.
Members
Details:
http://themeforest.net/item/sweet-date-more-than-a-wordpress-datin
Take a look at the Data Parameters of WP_Query https://codex.wordpress.org/Class_Reference/WP_Query#Date_Parameters
You can also create custom views in bbPress eg.
function ntwb_register_custom_views() {
bbp_register_view( 'popular-topics', __( 'Popular Topics' ), array( 'meta_key' => '_bbp_reply_count', 'orderby' => 'meta_value_num' ), false );
bbp_register_view( 'unpopular-topics', __( 'Unpopular Topics' ), array( 'meta_key' => '_bbp_reply_count', 'orderby' => 'meta_value_num', 'order' => 'asc' ), false );
bbp_register_view( 'random-topic', __( 'Random Topic' ), array( 'orderby' => 'rand' ), false );
bbp_register_view( 'closed', __( 'Recently Closed' ), array( 'post_status' => 'closed' ), false );
}
add_action( 'bbp_register_views', 'ntwbc_register_custom_views' );
What web server are you using? Windows (IIS)? (If so you can apply this fix manually or wait for bbPress 2.5.1.
If not can you give us some more specifics on how your website is setup?
I am not familiar with ‘bbPress Protected Forums’ plugin, it might be best to also ask the question in their support forums https://wordpress.org/support/plugin/bbpress-protected-forums
You can find older versions of bbPress to download here https://wordpress.org/plugins/bbpress/developers/
https://bbpress.trac.wordpress.org/ticket/2480 has been updated with some more info.
Also if you have a custom bbpress-functions.php in your theme that also needs to be updated.
Hi
I installed the forum but now m hoster shut it down due to many HTTPD request. This happend after i installed the forum software on my wordpress site.
Anyone an idea?
After I updated bbpress to version 2.5 the stylesheet for the default theme is not being linked correctly.
<link rel=’stylesheet’ id=’bbp-default-css’ href=’http://localhost/wordpress/almostaveragegamers/wp-content/C:xampphtdocswordpresswp-contentpluginsbbpress/templates/default/css/bbpress.css?ver=2.5-5199′ type=’text/css’ media=’screen’ />
This is the way that the link is showing up when I look at the source code for the site which I am designing on a local host server. When I click on the link to see what is displayed this is what it is showing me below.
https://www.dropbox.com/s/3as5djr6w0m2b0a/error-message.jpg
A question is asked about how to use bbpress.
The title of a forum is displayed on toppage(Forum Status :OPEN).
When seeing some specific forums(not log-in user), would like to redirect to a login-form page.
Please advise me.
wordpress ver. 3.7
use theme is my orignal
bbpress ver. 2.4
@svcslzysh Can you please give us some more information please.
Can you try disabling all your other plugins and stitching to the Twenty Thirteen theme.
Does the issue still exist now?
If it is fixed start re-activating your other plugins one by one until you find a conflict?
What is the conflicting plugin and/or theme?
Details are here: https://bbpress.trac.wordpress.org/ticket/2482
Version 2.4
New Install
WP is Version 3.7
“Plugin could not be activated because it triggered a fatal error.
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in/home/rgfg70/public_html/wp-content/plugins/bbpress/includes/replies/template.php on line 1025”
http://www.rgfg.org