this is an issue with moderation-tools-for-bbpress – raise this in their support forum
Hi !
The following message is displayed on my bbpress forum :
Notice: Only variables should be passed by reference in /wp-content/plugins/moderation-tools-for-bbpress/incs/bbpress.php on line 455
An idea ?
Regard !
MG
Hi ! I remove bbpress and setup it again, and then the message disappears !
Thanks a lot !
Regards
MG
Dears,
I am installing bbPress on my website – I’d like to establish user levels for participants based on the number of messages they’ve sent in the forum.
For example:
1-10 messages – level 1
10-50 – level 2
50-100 – level 3
and so on..
Any idea how to do that?
I’ve been seraching for a solution here on the forum with no success.
Thanks a lot
I can’t replicate this
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
Is it possible to choose a reply of a topic as an answer or best reply?
Nay plugin or code example
Thanks in Advance
I have just tried logging in deactivating BBPress and it works!
After first posting, I kept digging. It does look like it came from BuddyPress. I initially thought it was bbPress, since it was linked to a forum reply. But apparently, after the old users logged into the new site as themselves again, BuddyPress grabbed the forum replies (even though really old) and added it to the user’s activity stream. That’s what triggered the email notification. I’ll throw a support ticket their way. Let’s keep this open for now until I get an answer from them. Thanks.
Hi !
After WP update 4.9.5 the following error message is displayed and generate a 500 error on my WordPress :
http://metrotpm.cafecitoyen.fr
Here is the message :
Fatal error: Cannot redeclare bbp_get_caps_for_role() (previously declared in /wp-content/plugins/bbpress/includes/core/capabilities.php:31) in /wp-content/plugins/bbpress/includes/core/capabilities.php on line 209
Many thanks for the help !
Ragrds.
MG
Are those emails coming fro BuddyPress or bbPress?
They should only be coming from bbPress if they are subscribed to those topics.
They might be coming from BuddyPress if those forums were retroactively added to a group.
I had an old WP site that came back to life. It was running phpBB and I successfully imported everything to bbPress. In the new site, we are also using BuddyPress. Old users are reporting that they are now getting email notifications on replies from posts many years old.
Thoughts? Ideas?
bbpress uses the wordpress default avatar as set in
dashboard>settings>discussion
There are plugins that let you add additional defaults eg
Add New Default Avatar
or use code in your functions file or a snippets plugin (https://en-gb.wordpress.org/plugins/code-snippets/) such as
add_filter( 'avatar_defaults', 'mytheme_default_avatar' );
function mytheme_default_avatar( $avatar_defaults )
{
$avatar = get_option('avatar_default');
$new_avatar_url = get_template_directory_uri() . '/images/default_avatar.png';
if( $avatar != $new_avatar_url )
{
update_option( 'avatar_default', $new_avatar_url );
}
$avatar_defaults[ $new_avatar_url ] = 'Default Avatar';
return $avatar_defaults;
}
Is there a way to tell BBPress to use an advanced custom field image instead of the default user image?
Thank you for the response, I grepped the whole project and I cannot find the hook you mentioned in your previous post.
But I found in …./bbpress/includes/replies/functions.php the handlers for _bbp_reply_to. I should identify the place where wp_postmeta is populated so I can update my own table as you suggested. If I save the _bbp_reply_to information, I can avoid querying the huge meta table.
PS: I identified a corner case (hope not a bug). _bbp_reply_to gives the “real” parent of the post, but not in the case of the topic post (the first one from the topic).
bbpress just uses the display name as set in
dashboard>users>all Users>edit user
so you could change your users to what you want.
users can change their individual if you give them access to their wordpress profile or their bbpress profile.
There are some plugins and code that can change stuff eg
Quick Tip: Set the Default Display Name for WordPress Users
I googled ‘wordpress change display name for all users’ and lots lots of stuff.
@johnjamesjacoby @jjj thanks for that!
@thebeeobee Do you have a test forum with the topics you described? Would you be able to install 2.6-RC5 and see if it’s solved? https://bbpress.org/download/
Thanks a lot!
I believe we’ve addressed this in bbPress 2.6, with an improved algorithm for prefetching and slicing sticky topics out of topics queries.
If this is the bug I’m thinking of, it’s a combination of problems like @thebeeobee eluded to.
- Super Stickies in other forums
- Stickies in the current forum
- Super Stickies in the current forum
- Adjusting pagination counts to reflect anomalies
I don’t remember the exact ticket number(s) but we have tweaked this a few times in the past. I will need to look again though, because these forums do run nightly bbPress versions.
I’m using bbPress for my membership site, and when people do things like use bold or italicized letters, add any of the custom things on the menu when they create a post, if they are subscribed to the post, they get a notification email that looks like this:
Hi @ande!
Thanks for checking on me. 😊 I worked through The Process and I do feel better. Here’s what I came up with. Am I doing this right?
<div><span style=”font-size: 24px; font-weight: bold;”>The Process™ Worksheet:</span></div>
<div></div>
<div><span style=”color: #09afff; font-weight: bold;”>Step 1:
How can we fix this so the emails don’t show up in code?
Thanks!
what other ‘bbpress’ plugins are you running?
So, fixing the bbpress forum relationships fixed the problem.
However any new post once the repair forum tool is used negates that fix.
The last updated by no longer works and the URL has reverted to showing only the post number without the page number.
Hi Pascal,
Yes, I see that, the problem is that I don’t want to query wp_postmeta just for the “real parent” post (meaning not the parent from wp_posts aka the first post of the topic, but the post being one level up). I am surprised bbPress does not have a separate table. I wanted to avoid performance problems while quering a large table such as the meta table.
Thanks,
Z
bbpress doesn’t have a reply tab, it just puts a new reply form at the bottom
I am new to bbPress.What I want to do is to add treeview display to bbpress including posts. And I want to keep history of users so that s/he should be able to see the posts that she read and unread.
I’m having trouble replying to my own thread I just created on a forum. All the options available say “Edit”, “View” and “Trash”. But I want to reply & post in my own thread that I created. Can you please help me? I’m quite stressed out trying to get my forum to appear not only as a page but with the ability to reply. I cannot reply to my own thread and forum?
I reached out to wordpress.com, wordpres.orf (who redirected me to wordpress.com); and Wordspress.com told me to reach out to bbPress saying, “It is a design issue , You need to add it with the web developer. Please check with the plugin providers also for that. Its not the server settings . Its a forum settings you need to check with the forums developers.”
So that is what I am doing. If you need me to provide links, I will. I just am desperate for help so that I can get my post and website up and working.
Please advice and thank you.