Ah great! Glad that one is solved. It’s only half of the solution though. These bots will still plague your site with registration requests. To get rid of those try https://wordpress.org/plugins/simple-google-recaptcha/ thi sworked like a treat on my sites, totally eliminating spam bot registrations (for now…).
Hi there
I came across a fatal PHP error in my debug.log. Hope you can fix this or help me fix it.
PHP Fatal error: Cannot redeclare bp_members_screen_display_profile() (previously declared in /.../buddypress/bp-members/screens/profile.php:22) in /.../buddypress/bp-members/screens/profile.php on line 32
WordPress version: 4.9.8
BuddyPress version: 3.2.0
Site: https://vespa-ciao.nl
Best regards,
Alrik
This plugin looks like it could be very handy for your quest:
BP xProfile Location
I cannot duplicate this using PHP Version 7.0.26
As you probably know, it’s just a warning and can safely be ignored.
And won’t be visible when you turn debug off.
afaik, part of the next release is cleaning up some calls re PHP 7+
If you’d like to open a ticket, you can do so here.
Be sure to include the steps necessary to reproduce, including which template pack you have selected in Settings > BP > Options.
Buddypress Version: 3.2.0
WordPress Version: 4.9.8
Theme: Child Theme of 2014
PHP Version: 7.2.11
Error description:
User profile has no friends.. that’s not a problem.. lol..
Problem is where it shows the friends I get this error:
Warning: count(): Parameter must be an array or an object that implements Countable in /srv/disk6/2117321/www/staticcolonies.com/rural/homestead/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-members-template.php on line 154
Warning: count(): Parameter must be an array or an object that implements Countable in /srv/disk6/2117321/www/staticcolonies.com/rural/homestead/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-members-template.php on line 155
Sorry, no members were found.
Hello,
Is it possible to edit the permalink/url when a member visits their profile page?
It currently displays as
gnz.me/connect/membername (connect is the name of the member page)
I’d like to update this to go directly to the profile page
gnz.me/membername
Wordpress Version 4.9.8
BP Version 3.2.0
Website: gnz.me
Hi,
Would someone be kind enough to help me with changing a buddypress error message? (wordpress 4.9.8, buddypress 3.1.0)
I am restricting private messaging to user’s friends/connections. Currently, the error message returned when sending a private message to someone not in your network is “Message not sent. Please try again.” which doesn’t make sense. I would like it to say something like, “Sorry, you can only send a private message to connections in your network.” How might I change this error message?
I have been using the following code in child functions to restrict private messaging:
// if not site admin, restrict PMs to friends
function pp_check_message_recipients( $message_info ) {
// site admins are not restricted
if ( is_super_admin() )
return $message_info;
$recipients = $message_info->recipients;
$friend_ids = friends_get_friend_user_ids( bp_displayed_user_id() );
$nf = 0;
foreach ( $recipients as $key => $recipient ) {
if ( ! in_array( $recipient->user_id, $friend_ids ) )
$nf++;
}
// if any recipients are not friends, remove everyone from the recipient's list
if ( $nf > 0 )
unset( $message_info->recipients );
return $message_info;
}
add_action( 'messages_message_before_save', 'pp_check_message_recipients' );
Hi,
These are general problems and not associated with BuddyPress at all. Sometimes we only need to google it and we will find the solution.
Anyways, please check this https://webania.net/customize-email-sending-header-in-wordpress/ and use the snippet they gave, just replace from ‘name’ and ’email’ to yours.
Thanks
Is it possible to change the ‘Edit Profile’ link that appears in the ‘Edit Member’ menu in the WordPress admin bar? screenshot
I want to change this to link to the user profile page in admin.
I would also like to remove ‘Edit Profile Photo’ and ‘User Capabilities’ menu items if that’s possible.
BP:3.2.0, WP:4.9.8
Thanks,
John
Anyone have an update on this? I’ve resorted to changing the active components manually since I can’t get them to keep their state when I login to WordPress after
I have all plugins except for BuddyPress disabled and also have switched out to a basic WordPress theme again but still am not getting any sort of confirmation messages/notices when I save a new password change. I’ve checked in my BuddyPress files as well (am running the Nouveau template but have tried switching between that and Legacy to see if it would fix anything) and both have the proper code you specified in it, but nothing’s showing up.
Hi,
Please try this plugin https://wordpress.org/plugins/shortcodes-for-buddypress/ and use members listing shortcode to get the content of the members directory page.
Thanks
I have tried changing a test account’s password. I changed to a basic WordPress theme and it didn’t have that message at all. Any idea where that’s located?
Anonymous User 16484011Inactive
Hi !
Prashant,
Thanks again.
Sorry for delay in reply because I want experiments on your above article.
I read the whole third part of your above link. But it’s for making a plugin. I tried direct the changes to a demo wordpress installation php files but it’s not works for me. I mashed up because I haven’t core developer.
Can any other things or plugin solve my problem ?
I found on net about the same problem’s solution. I got the plugin pie for the same.
In this plugin I am able to add forgot password page template. Just go to pie register-> Notification -> Select tab User notification-> select template from dropdown “Password reset request”.
But after user fill password reset form when they click …
1) User got a link with token. I don’t want this ? I send just only token without link like otp.
2) After clicking user must redirect to page where they can paste the key which they received.
3) After pasting the key I have two options…
A) Either user redirect to create a new password and confirm password page.
B) OR user got a new password via mail which auto generated by site to their registered mail id.
Thanks and Regards
OK, it looks like I was wrong. If “manage_network_users” is enabled, the administrator can edit the WordPress user profile but NOT the BuddyPress extended profile. So, the question is: how can this be enabled in BuddyPress?
According to this link, it seems like this is part of WordPress core. Surely there must be some way to enable user management by admin without making them a super admin.
Hi,
You can use this plugin https://wordpress.org/plugins/bp-registration-options/ which allows moderation and members will be restricted to their own profile till when they are not approved. And after approval, a mail will be sent to them.
Maybe this solution can help you with what you want to achieve.
Thanks
https://wordpress.org/plugins/code-snippets/ Please add this plugin and then in snippets add a new snippet and paste the code.
Thanks
@prashantvatsh AM new with wordpress, can you pls tell me how to go about it.. where to add the code..
Hello, Please I would like to manually approve my BuddyPress registration requests and Disable Automatic Account Activation, and also change the registration message to [ Your membership account is awaiting approval by the site administrator ] am using WordPress 4.9.8, http://betalifes.com/, Please help out
Happy New Year to you and your family.
Wish you the same.
I think you can go for a custom reset password solution: https://code.tutsplus.com/tutorials/build-a-custom-wordpress-user-flow-part-3-password-reset–cms-23811
Thanks