/**
* Filter whether to trigger an error for _doing_it_wrong() calls.
*
* @since 3.1.0
*
* @param bool $trigger Whether to trigger the error for _doing_it_wrong() calls. Default true.
*/
if ( WP_DEBUG && apply_filters( 'doing_it_wrong_trigger_error', true ) ) {
if ( function_exists( '__' ) ) {
$version = is_null( $version ) ? '' : sprintf( __( '(This message was added in version %s.)' ), $version );
/* translators: %s: Codex URL */
$message .= ' ' . sprintf( __( 'Please see <a href="%s">Debugging in WordPress</a> for more information.' ),
__( 'https://codex.wordpress.org/Debugging_in_WordPress' )
);
trigger_error( sprintf( __( '%1$s was called <strong>incorrectly</strong>. %2$s %3$s' ), $function, $message, $version ) );
} else {
$version = is_null( $version ) ? '' : sprintf( '(This message was added in version %s.)', $version );
$message .= sprintf( ' Please see <a href="%s">Debugging in WordPress</a> for more information.',
'https://codex.wordpress.org/Debugging_in_WordPress'
);
trigger_error( sprintf( '%1$s was called <strong>incorrectly</strong>. %2$s %3$s', $function, $message, $version ) );
}
}
Is the function, line 3901 is : trigger_error( sprintf( __( ‘%1$s was called incorrectly. %2$s %3$s’ ), $function, $message, $version ) );
bbPress is tested with wordpress default themes. It maybe a conflict
As Cherrypress is a paid theme – then contact the theme author for help.
@zimmermannc
Moderators cannot see the forums menu in the WordPress backend. To see the Forums menu item they need the keep_gate capability which only Keymasters have.
Moderators can create forums on the frontend of your site if you used the [bbp-forum-form] shortcode in a page
Editing forums, I am not sure how they are supposed to do that on the frontend, maybe bbPress had some functionality for managing BuddyPress group forums that is broken. Have to look into it.
@let-me-see
I don’t subscribe to every one of these topics on the forum that I help users in.
i was going to just delete the login information after you posted it, and tell you to delete the user you just created after too.
instead just email me the login info.
https://robkkdev.wordpress.com/contact/
These are my plugins
bbPress
Category Posts Widget
Contact Form 7
Display Posts Shortcode
iThemes Security
jetpack by WordPress.com
Really Simple CAPTCHA
Wordfence Security
WP Google Maps
WP-Members
Yoast SEO
Hi @daveodea did you find a solution? I have exactly the same situation. So far, I have verified that:
1. there are no errors being logged anywhere server side and
2. the issue isn’t related to caching, either server side or via a wordpress plugin.
I have also:
1. disabled all plugins except buddypress;
2. enabled my main theme, in case I had some conflicted code in my child theme;
3. tried with the twenty sixteen theme.
But I still can’t resolve this issues. Does any one have anymore advice they could give me?
See if this post can help lead you to create what you want.
https://wpshout.com/wordpress-custom-post-backgrounds/
I used the plugin wp-members
Is it this plugin??
https://wordpress.org/plugins/wp-members/
I cannot seem to figure out how you did the members area thing with this plugin (if it is the correct plugin).
So I have done loads more searching and it is known problem which BBPress do nothing about
Well there might be related issues to search redirecting to the home page, some had issues with the search query having a url structure and query different than intended by default, and some had issues with search plugins on their site, and I think some I tried to contact personally to help them since they had a premium theme and it is hard to just figure it out on premium themes that might have some kind of fancy ajax search having conflicts with the default bbPress search for example. Your issue could be somewhat related to the url structure.
Do you have any steps that maybe I can try to replicate to find the cause of this issue, like explain how you set everything up?
So you ditch the BBPress function, it does not work. And amend the normal search to include forums.
Yes this can be a workaround for some, but since you may have private members only content this solution may not be practical.
Does the default bbPress search work fine on a fresh installation with just your theme and no other plugins like wp-members?
If you haven’t already known if bbPress search works by default with just your theme and bbPress activated, consider created a localhost setup to test the default bbPress search to see if it works on a default fresh installation, then we can work backwards and try to find the cause of this issue that you are experiencing.
https://codex.bbpress.org/getting-started/testing-your-bbpress-installation/creating-a-test-site/
Yeah I can confirm it is a bug, I created this trac ticket on the issue awhile back.
https://bbpress.trac.wordpress.org/ticket/2869
just a warning. last tiem i posted to jobs.wordpress.net i ahd to find a way to remove the posting after thousands of emails came through.
If you post the problems here there is plenty of free help.
I used the plugin wp-members and put the forums in the member area. I have been speaking to the author of that plugin who is brilliant with support and he had problems at the begining as well. So I have done loads more searching and it is known problem which BBPress do nothing about
There is no solution out there BUT what you can do is change the main search function to include forums and that is what I have eventually done. I do think BBPress should provide a proper solution
So you ditch the BBPress function, it does not work. And amend the normal search to include forums. I used this code snippet to help.
/**
* Include bbPress 'topic' custom post type in WordPress' search results */
function ntwb_bbp_topic_cpt_search( $topic_search ) {
$topic_search['exclude_from_search'] = false;
return $topic_search;
}
add_filter( 'bbp_register_topic_post_type', 'ntwb_bbp_topic_cpt_search' );
/**
* Include bbPress 'forum' custom post type in WordPress' search results */
function ntwb_bbp_forum_cpt_search( $forum_search ) {
$forum_search['exclude_from_search'] = false;
return $forum_search;
}
add_filter( 'bbp_register_forum_post_type', 'ntwb_bbp_forum_cpt_search' );
/**
* Include bbPress 'reply' custom post type in WordPress' search results */
function ntwb_bbp_reply_cpt_search( $reply_search ) {
$reply_search['exclude_from_search'] = false;
return $reply_search;
}
add_filter( 'bbp_register_reply_post_type', 'ntwb_bbp_reply_cpt_search' );
Hello
i have an issue regarding role of forum in BBPRESS the “moderator” role doesn’t see the “Forum” menu in the WordPress back-end
regards
Adeel Ahmed
@mgdel
There is subpages, only 2 subpages, but there is still something. I did update the forum moderation page just now.
i need to be able to set up a list of wp users to be the admin/moderators of the forum
i need to be able to make them know about a new post (i can do it via mailing list)
and they should be able to reply and make the question public via front end. and the op must be notified when someone replies to or publish the post.
Maybe try this plugin to allow, anonymous users to be able to subscribe to posts.
https://wordpress.org/plugins/bbp-anonymous-subscriptions/
You can tell your moderators to subscribe to whatever forum they want to moderate, by clicking the subscribe link on the single forums page on the frontend.
If you are talking about per forum moderation for you forums, I do not think you cannot do that as of now.
Okay I tested the bbPress forum search on my localhost setup with the latest bbPress, BuddyPress, and WordPress, and I have no issues.
I am running a default setup, and I do not have the forums under a directory called “members area” though. If you run bbPress in the default setup without putting it under the “members area” directory would it work on your site if you searched “forum” for your only forum on your site?
I am not entirely sure how you did the members area directory on your site in the first place, I am not entirely sure it is a sub directory in a multisite setup.
bbPress reply posts are having issues with CSS from your theme that is for WordPress comments.
Try this CSS, add it to your child themes style.css file or add it to a custom css plugin.
#bbpress-forums .reply a {
float: none;
padding: 0;
color: inherit;
font-size: inherit;
display: initial;
position: initial;
}
@pestocat for the latest bbPress v2 plugin, you need to install the Akismet plugin from wordpress.org.
@rothaar bbPress by default does not have this kind of layout or the “by” in the last post column, so it is definitely your theme.
I think that the “by” is just in a template, maybe loop-single-topic.php and loop-single-forum.php in your theme.
It might be best to create a child theme and manually edit the template and then translate the word to your language.
https://codex.wordpress.org/Child_Themes
Just copy your main themes bbPress templates into your child theme, and edit the files I listed above.
Hi Karen,
I suspect that is coming from your theme and not from bbPress as I don’t recognize that column as being standard WordPress.
If this is a public site, could you post the link here so I have a look ?
Thanks,
Pascal.
I would like to know how I can put up a ‘forum cover image’ on the page of each of my forums…..
I was hoping to use the ‘featured image’ function and display a landscape image on top of the page.
For example, if i am running a fitness forum community with a cardio workouts forum, and put up a cover image showing pple doing cardio….. and then for the weights forum, i’d have a weights cover image.
How could I do this?
FYI My knowledge of wordpress, bbpress, buddypress is beginner – intermediate. I know how to edit files, but not write code myself.
Finally I have the forum looking pretty good. URL is http://www.paloaltoenergy.org From another PC I was able to register at WordPress.org and get username/password. But when I try to login with this new username and password, I get message that username and password don’t exist. How can I fix this.
Hi there,
I want bbpress being displayed in spanish. My wordpress page is usually in english. I found a topic about the same problem already in this forum, where one of you guys said that the homepage language has to be spanish if you want that bbpress is in spanish. So I changed the language in the general settings in wordpress to spanish but the forum sentences of bbpress are still displayed in english (for instance: “This forum is empty.Oh bother! No topics were found here!Create New Topic in…”). I also put the .mo and.po files in my ftp manager like its recommended here in the forum. Nevertheless it is not working. I hope you can help me.
Thanks in advance and best regards
Hi all!
I use Woo Memberships and Subscriptions to run a pretty healthy membership type site at schoolofbookkeeping.com. The public should be able to view forums, but not reply or create topics. When a subscriber logins, of course they should be able to. However, if they cancel their subscription, Woo turns “subscriber” into “customer” BUT I have no idea how to turn “participant” into “spectator.” I’ve tried to bulk edit in users, but it won’t stick. Each user has “customer, participant.” I am forced to edit each user and change it within their user profile. This can be extremely time consuming. Any ideas?
Hi!
We’ve found a bug and we’d like to notify you about it.
Slider Revolution 5.2.5 + BuddyPress 2.5.2 + bbPress 2.5.8 shows next notices:
Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in wp-includes\functions.php on line 3901
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in wp-includes\functions.php on line 3901
Best regards,
Maksym
Hello there,
I have a really strange problem… In the last few days I’ve noticed that all my messages do not show paragraphs, bolds, italics and neither links inside my topics.
I find it really strange and if you want to have a look to this is the link on a page where this happens. Inside this response there was some links and formatting but everything is gone.
It seems like WordPress is stripping out all the formatting my users add to the text and if you inspect the code you’ll find out that not a single <p> has been used…
I am using custom template pages but in order to test I’ve also renamed the bbpress/ folder inside my theme and the problem is still present. Tryed to use Twenty Fiftheen and the problem persists. Also checked the settings but everything seems normal.
The only thing I’ve done is update WordPress to the version 4.5, at least is the last action that I can recall.
Hope you can help me and thank you for your advices.
All the best,
Andrea
WordPress Version: 4.5
bbPress Version: 2.5.8
Genesis Version: 2.2.7
bbPress Genesis Extend Version: 1.1.1