Actually, since you only need a one dimensional array, use $wpdb->get_col instead.
https://codex.wordpress.org/Class_Reference/wpdb#SELECT_a_Column
Please use the code button when posting code.
It looks like you are passing an array of objects and each object contains a user id.
But what you want is an array of user ids.
You can specify the output type of get_results.
Read: https://codex.wordpress.org/Class_Reference/wpdb#SELECT_Generic_Results
Or you could loop thru your current results and create an array of the type expected by messages_new_message and then pass it to your send_msg function.
It’s not something I’ve experience at but my first choice would be to take a look at an exisiting plugin doing something similar and use that as a template. Something like creating a merge of https://wordpress.org/plugins/bp-xprofile-rich-text-field/ and the bp code for creating a date field.
What you could do is apply to translate that text, otherwise it’s a case of waiting until someone else does.
translate.wordpress.org (GlotPress)
The original english in those files it sent to a file called buddypress.pot, from this the WordPress translators create country specific .mo files. I’m wondering if the language file for your country is missing this translation. It could very well be the case as this was only recently introduced.
If you go to Appearance/Menus in WP Admin, you should be able to edit the menu and delete those links. While you are there, click on Page Options on the top right of the page and make sure BuddyPress is checked.
Note: it looks like you have multiple menus so you will have to select the correct menu to edit.
Then you should see the BuddyPress menu links meta-box and you will see there’s a login link you can add to the menu. That should sort out your BuddyPress login, same with Register.
I’ve got a site buddyuser dot com, I’ve created a beginners introduction to BuddyPress, you might want to take a look at that.
It’s possible to hide menu links that you don’t want the general public to know about. There’s a few plugins that do this but one I use is https://wordpress.org/plugins/nav-menu-roles/ this adds a handy checkbox to allow you to stipulate who can see that menu item.
I think the next step is to turn on error logging and see if there’s any errors displayed.
See https://codex.wordpress.org/WP_DEBUG
Also you can install an error log viewer plugin to allow easy viewing.
Then try to register again and see if any errors popped up at the same time.
I’ve just tried it using your signup details and a different email. It failed, basically it seems to not like your choice of password. As I understand it BuddyPress does not do anything to check passwords but relies on the existing WordPress functions. I’m wondering if you’ve added anything to reject easy passwords?
I guess what you could try it just using a username for the sender name? it just needs to be different to WordPress
I reckon that one fails because the email is gmail and gmail blocks emails from wordpress@yoursitename
I’d try changing your sender name with CB Change Email Sender
Sorry,
Wasn’t clear enough. We have many different WordPress post categories on our blog.
My goal is go get updates on new posts and comments from one category only.
Thanks a lot
Hi there,
Are you talking about a category assigned to a WordPress post? Or are you looking to assign categories to activity posts and filter on that?
Hi there,
Have you tried https://wordpress.org/plugins/bp-featured-members/ ? Seems a lot easier than trying to write your own plugin.
I’ve not seen a support thread involving bp-default in years, I generally recommend testing with a WordPress default theme such as 2019 or 2017. I’ve not seen anything to say you shouldn’t use it but I think if you do then you will be in an elite club.
I can’t replicate your issue so it must be down to your environment or something else. You didn’t mention which WordPress Theme you are using, maybe it’s that?
I added a Number type field and a Phone Number type field on profile fields.
The number type fields are not displayed on a profile edit page, but I can input values on admin pages and see it on a profile view page.
How do i fix this problem? Thank You.


I tried 2 environments.
1. localhost
nginx
PHP 7.2.9
WordPress version 5.0.4
buddy press Version 4.2.0
plugins Classic Editor & BuddyPress only
theme bp-default
2. AWS (Amazon Linux)
Bitnami WordPress 4.9.10 (multi sites)
buddy press Version 4.2.0
PHP 7.0.31
theme bp-default
Hi all,
I’m a newbie for wordpress and this awesome plugin, BuddyPress, so please forgive me if that was already done, i didn’t see anything.
I want to setup a community, wit BuddyPress, where people (mostly for developers) should be able to cut&past part of code easily keeping format.
In a previous experience, not using any CMS, the folks i worked for were using Ace Editor:
https://ace.c9.io/
Which is quite good and i would like to know if i can setup it to let embed the code even for user on my new community.
Any help would be greatly appreciated.
NOTE: i see AceIDE is a plugin for WordPress, but it only permit admins to setup the WP itself, not to turn it on the community.
Thank you.
Regards,
Michele
Hi there,
I can confirm this is an issue, could you raise a bug report on Trac?
https://buddypress.trac.wordpress.org/
Thanks
I am new to Buddypress and there is a question. I have created a wordpress site and wanted this to became a membership/club site. I use a theme named Astra and tried to style special Theme styles like header with background image etc. But if i tried it on Buddypress pages (Aktivity for eg) i failed. What i am doing wrong
Thanks, yes that helps me decide on my advice. Have you tried looking at my plugin https://wordpress.org/plugins/bp-profile-shortcodes-extra/ it’s got shortcodes that will do all you are looking for.
Yep BuddyPress uses the WordPress user database, so creating a BuddyPress user automatically creates a WordPress user.
Are the users receiving the activation link and are they trying to login after activating their accounts?
Hi there,
To centre the title you can use the following css slector:
#sitewide-notice strong {
text-align: center;
}
However currently it’s not possible to separate the two paragraphs. This is due to the text going through the wp_filter_kses() function which is removing the <p> tags from the text thus turning two paragraghs into a single paragraph.
You could ask for an enhancement in Trac, to change this to an alternative function bp_messages_filter_kses() this would allow you to add a filter to allow <p> in the sitewide notice content. If you raise the ticket I’ll add this information as a suggestion to the devs.
Hi, it uses the wordpress login page but does it create a wordpress account for the new user ?
Because if a new user register and then try to login, the username and password are nor recognized.
WP Version: WordPress 5.1.1
BP Version: Version 4.2.0
Relates to Site notices found in Users, Site Notices:
How to have the message text entered left while keeping the topic title centered.
and also to be able to breakline to make another paragraph where one is made.
-> At the moment, all the body text gets clumped together and centered.
I believe from experience that it’s something that needs to go in my functions?
Thank you for anyones advice!
Halo,
Can i decide who can or cannot change the profile picture based on user role?
Is there any plugins for this or code change?
Thank you in advance.
note: i use wordpress Version 5.1.1 and buddypress Version 4.2.0