There is already a filter with that name:
apply_filters( 'bp_members_signup_error_message', '<div class="error">' . $error_message . '</div>' );
It passes only one argument. You need to write a custom filter hook with a different name.
also – these are the forums for BuddyPress.
Please contact BuddyBoss for questions specific to their codebase.
This thread is now closed.
that is my own function: line 48.
and this is the doucumentation from buddyboss:
apply_filters( 'bp_members_signup_error_message', string $value, string $fieldname )
So I pass two arguments.
You need to look at themes\buddyboss-theme-child\functions.php : Line 48
to see what arguments are passed in the filter hook and then change your function to include all those arguments.
And the ‘2’ in
add_filter( 'bp_members_signup_error_message', 'function_voornaam', 10, 2 );
needs to equal the number of arguments passed in the filter hook.
thank you. But then I get this error:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function function_voornaam(), 1 passed in E:\Xampp\htdocs\wordpress\wp-includes\class-wp-hook.php on line 303 and exactly 2 expected in E:\Xampp\htdocs\wordpress\wp-content\themes\buddyboss-theme-child\functions.php:48 Stack trace: #0 E:\Xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(303): function_voornaam('show_messagge') #1 E:\Xampp\htdocs\wordpress\wp-includes\plugin.php(189): WP_Hook->apply_filters('show_messagge', Array) #2 E:\Xampp\htdocs\wordpress\wp-content\themes\buddyboss-theme-child\functions.php(66): apply_filters('bp_members_sign...', 'show_messagge') #3 E:\Xampp\htdocs\wordpress\wp-settings.php(546): include('E:\\Xampp\\htdocs...') #4 E:\Xampp\htdocs\wordpress\wp-config.php(97): require_once('E:\\Xampp\\htdocs...') #5 E:\Xampp\htdocs\wordpress\wp-load.php(50): require_once('E:\\Xampp\\htdocs...') #6 E:\Xampp\htdocs\wordpress\wp-blog-header.php(13): require_once('E:\\Xampp\\htdocs...') #7 E:\Xampp\htdocs\wordpress\index.php(17): require('E:\\Xampp\\htdocs...') #8 {main} thrown in E:\Xampp\htdocs\wordpress\wp-content\themes\buddyboss-theme-child\functions.php on line 48
Yes, I have done that. So the complete code is then like this:
add_filter('bp_members_signup_error_message', 'function_voornaam');
function function_voornaam($value, $fieldname)
{
if ($fieldname == 'field_1') {
return '<style>{font-family:bold}</style> you have to enter name.';
}
}
But then I get this error:
atal error: Uncaught ArgumentCountError: Too few arguments to function function_voornaam(), 1 passed in E:\Xampp\htdocs\wordpress\wp-includes\class-wp-hook.php on line 303 and exactly 2 expected in E:\Xampp\htdocs\wordpress\wp-content\themes\buddyboss-theme-child\functions.php:49 Stack trace: #0 E:\Xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(303): function_voornaam('show_messagge') #1 E:\Xampp\htdocs\wordpress\wp-includes\plugin.php(189): WP_Hook->apply_filters('show_messagge', Array) #2 E:\Xampp\htdocs\wordpress\wp-content\themes\buddyboss-theme-child\functions.php(68): apply_filters('bp_members_sign...', 'show_messagge') #3 E:\Xampp\htdocs\wordpress\wp-settings.php(546): include('E:\\Xampp\\htdocs...') #4 E:\Xampp\htdocs\wordpress\wp-config.php(97): require_once('E:\\Xampp\\htdocs...') #5 E:\Xampp\htdocs\wordpress\wp-load.php(50): require_once('E:\\Xampp\\htdocs...') #6 E:\Xampp\htdocs\wordpress\wp-blog-header.php(13): require_once('E:\\Xampp\\htdocs...') #7 E:\Xampp\htdocs\wordpress\index.php(17): require('E:\\Xampp\\htdocs...') #8 {main} thrown in E:\Xampp\htdocs\wordpress\wp-content\themes\buddyboss-theme-child\functions.php on line 49
Funny, just as I posted, I saw this on github:
https://github.com/buddyboss/buddyboss-platform/issues/1199
But this was created only concerning the REST API.
This happens also directly in the frontend… We have this situation every week once or so … ๐
BuddyBoss is a fork of BuddyPress. The respective codebases have diverged, as all forks do.
If you are using BuddyBoss – you should use their support ticket system.
I have been trying to figure this out for quite some time. I really do not understand who, if anybody, would want to destroy every image uploaded to a website. It seems everyone would want nice images. I am running buddyboss, which is built on buddypress, and even the images uploaded to activity feed are absolutely destroyed. Changing wordpress compression quality does nothing. I makes absolutley no sense whatsoever.
It would be a mix of BuddyPress and BBPress. The main challenge is that it has to be fast, without page loads. We already have the PWA framework on BuddyPress and are releasing new themes. Built on ReactJS , HeadLess Social network, super fast community framework. [ See video : https://www.youtube.com/watch?v=lLDs4Ue1vzU ]
Current BuddyBoss is legacy just like Buddypress. Working with Ajax calls , jQuery.
How easy is it to create a Reddit style site using WordPress / BuddyPress?
Has anyone done this? What sort of effort is involved?
Is it better to go with a more commercial solution like BuddyBoss, and look towards customizing that, or would you stick with vanilla BuddyPress?
Thanks in advance.
This is BuddyPress, kindly seek support from BuddyBoss on it ๐ or simply migrate to BuddyPress
Hi guys,
I was wondering if someone can tell me how to allow an editor profile to deal with pending signups of buddyboss.
When using adminimize or any other plugin, the signups and/or users are not showing in the dashboard of the editor.
Best,
Hello,
I would like to know if this is possible in Buddypress/Buddyboss.
in the activity feed i can tag someone like @[username]. i also want to tag groups like @[group name]. will this be possible? any direction toward it would be very helpful.
best regards,
Ibrar
@wackao thanks for your response, i found where “Public” keyword comming from “..\wp-content\plugins\buddyboss-platform\bp-activity\classes\class-bp-activity-component.php” i want just override it and remove “public” option !
this is from buddyboss , buddypress does not have it ๐ , our theme WPLMS has similar controls like this : https://prnt.sc/22q00dh , however this is very specific to the buddyboss theme, contact their support or migrate to core buddypress ๐
BuddyBoss is not BuddyPress. Kindly contact BuddyBoss support or simply switch to BuddyPress and use a BuddyPress theme like WPLMS or Kleo.
I think you are confused, forum by default do not have cover images. You have Group forums which have cover images coming form the group. The cover image should be enabled in groups from WP admin – Settings- BuddyPress – options
Hello,
New to the forum, been searching everywhere and I do not see this question asked anywhere.
I am on:
– WP 5.8.2
– BuddyBoss Theme 1.8.1
– https://cnftcentral.io
When groups/Forums are created By Members, the cover Photo for the Forum is missing…
If you visit my site you will notice that all forums do have a cover photo but that’s because I went as an admin on the forum post and added the Featured Image manually. I really cannot go & add a Featured image each & every time a user starts a forum…
Is there a way around this so the user cam apply a cover photo to, not only the group but, the forum as well? I really cannot figure this out, I have tried everything!
Thanks in advance!
Hi,
I need help for changing the URL structure of the buddyboss member pages so that instead of the username, the URL contains the userid.
For all the member pages.
For eg:
From: https://domain.com/members/johndoe/messages/
To: https://plattslive.com/members/2/messages/
From: https://domain.com/members/johndoe/*/
To: https://plattslive.com/members/2/*/
Please send your questions to the creators of the buddyboss forms plugin.
But is it not possible from buddyboss forms?
Since you’re using the buddy boss forms plugin try using the BuddyBoss Platform instead of BP.
On the activity feed, the three horizontal dots at the top right of the activity, used to be clickable by the post owner, or by admin. Somehow, that functionality is no longer there. Putting your mouse over the three horizontal dots does nothing.
Tried on three browsers.
But, if you find a post that has comments, you CAN click those “More Options” dots on the reply.
Anyone know what’s going on?
WordPress 5.8
MemberPress Plus 1.9.21
BuddyBoss Platform 1.7.6 (No BB Theme)
For removing mentions, this documentation may be useful. It’s for BuddyBoss, which is a fork of BuddyPress, but it looks like it would work:
Try copying this into your functions file: add_filter( ‘bp_activity_do_mentions’, ‘__return_false’ );
bp_activity_do_mentions()
Looking for a proven photo/media upload plug-in for BP. Tired Buddyboss media and media press but neither quite do the job. Open to any suggestions based on positive experiences