Search Results for 'wordpress'
-
Search Results
-
I am getting this error since I had an issue with BuddyPress Xprofile Custom Fields. I made the change as suggested by Varun (https://wordpress.org/support/topic/warning-breaks-with-bp-3-0/) and it stopped the error from appearing on my dashboard, but I now have the following error when doing back up with BackWPup
ERROR: Call to a member function close() on null
I’m assuming the two are related. Is there a fix for this?
Many thanks!
Heya!,
I have been looking for a way to force the Buddypress Group Email Plugin to use a default name when our admins send out group emails.
We have several admins and do not want their names to appear, rather just have ( Worldwide Community ) be the default name.
From what I can see, this is something that cannot be changed through tokens in the backend or through some of the php code that I have found, like:
Examples
add_filter( ‘wp_mail_from_name’, ‘custom_wp_mail_from_name’ );
function custom_wp_mail_from_name( $original_email_from ) {
return ‘WordPress Email System’;
}It is not necessary to call another method if you can use anonymous functions (PHP 5.3.0+):
add_filter( ‘wp_mail_from_name’, function( $name ) {
return ‘WordPress Email System’;
});Any help will be much appreciated.
Hello,
yesterday it worked fine, today I get the error message
Oops! That page can’t be found.
It looks like nothing was found at this location. Maybe try a search?for all lists of group activities. The groups are still correctly listed in my profile but when clicking on them, the don’t show the list of activities any more.
Between both situation was the update this morning to BuddyPress Version 3.0.0. WordPress is running on 4.9.6. I use a Twenty Fifteen Child theme, but it happens also after changing to an official theme. I deactivated all plugins and reactivate only BuddyPress but see no difference.
The groups are still there and also there activities, I can see and open them from the Dashboard.
I changed the permalink settings several times but it has no influence.
Any suggestions?
Bye
JanHi,
I have created a group and want to add user to it automatically whenever the admin create the new user from WordPress user dashboard. I am using the following code snippet –
function automatic_group_membership_bp($user_id) { //if no user id return if (!$user_id) { return false; } // 1 is the group id $group_id = 1; //Get user meta to find the role $user_meta = get_userdata($user_id); $user_roles = $user_meta->roles; //only add user to group if it subscriber if (in_array("subscriber", $user_roles)) { $update_bp_user_last_activity = bp_update_user_last_activity($user_id, date("Y-m-d H:i:s")); //Buddypress hook to add member to a group $status = groups_join_group($user_id, $group_id); } } add_action('user_register', 'automatic_group_membership_bp', 10, 3);I am adding a user with role subscriber to group. $status returns 1 that means the user is getting added to the group. I can even see the user in http://siteurl/members list. But I cannot see the user in a group. I am not sure what I am missing here, can you please help me out.
In BuddyPress 3.0.0, there is a bug insofar as if a registration form is submitted and a multi-select or checkbox is involved, and multiple options are present, the registration fails with a run-time error as follows:
Warning: trim() expects parameter 1 to be string, array given in /home8/fromchao/public_html/buddypress/wp-content/plugins/buddypress/bp-members/screens/register.php on line 93
In my local copy, I patched line 92 to add a check to see if an what was returned is an array, and this eliminated the error for me. Might even be the right fix, as the individual returns in an array shouldn’t need trimming.
if ( isset( $_POST[ ‘field_’ . $field_id ] ) and !is_array( $_POST[ ‘field_’ . $field_id ] ) ) { // FIXED!!
$_POST[ ‘field_’ . $field_id ] = trim( $_POST[ ‘field_’ . $field_id ] );
}This problem occurred on a dev test site running WordPress 4.9.6. But, the problem and its cause seem pretty obvious, and not a function of WordPress itself. Just needs to be fixed in the official distribution.
<?php echo bp_core_fetch_avatar ( array( ‘item_id’ => $logged_user_id, ‘type’ => ‘full’, ‘html’ => TRUE )); ?>
But this is working with single wordpress siteHi,
I’m reading lots of posts that are a 18 mo’s to more than two years old. So I thought to re-ask the question, hoping for some more current advice.
How can I stop Spam Users from registering?
WordPress 4.9.6 running Idyllic theme.
BuddyPress Version 2.9.4
Site https://insideouthope.orgWhat’s the plugin, combination of them or other treatment we can deploy that will best insulate our real community from vermin?
My inclination is to blacklist/whitelist domains somehow.
Thanks in advance for your considered response(s).
Topic: User Profile Fields
Topic: Change words
How can I change these phrases given in the fields?
WordPress – v. 4.9.5
BuddyPress – v. 2.9.4
Site – https://puhkavi.com/
EditHi
I discovered that users (spammers in this case) can send private messages and spam other users even though their accounts are yet to be activated by WordPress.
Is this how Buddypress is designed or is this a bug?Regards
Topic: Editing Main Page
We are using bbPress Version 2.5.14 on our website at http://www.nationalbraille.org/forums using WordPress. Everything is latest version and all is up to date.
I’d like to add a list of site rules on this page just above the list of groups. I thought I’d find it in the list of Pages on our website, but it’s not there, and the Settings for bbPress don’t give me an option either.
Is this just not possible?
Is it legal to create a WordPress BuddyPress website using plugins like “BP Activity Share”and “Activity reactions For Buddypress”? As these plugins create share and reaction functionality just like Facebook.