Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 626 through 650 (of 94,540 total)
  • Author
    Search Results
  • #334627

    Topic: Website error

    in group forum Installing BuddyPress
    garymorris
    Participant

    Hi all I have a website error. Our hosting company have given me this error below which seems to relate to the Buddypress add-in & hope someone can help. I am no way an expert unfortunately as our web person left our group.

    Thank you for contacting us and apologies for the delay!

    Upon further investigation, this is the error that we found:

    PHP Fatal error: Uncaught Error: Call to undefined function bp_get_total_friend_count() in /home/nmlukwlpsuo6/public_html/wp-content/themes/besocial/buddypress/groups/single/members.php:83
    Stack trace:
    #0 /home/nmlukwlpsuo6/public_html/wp-includes/template.php(732): require()
    #1 /home/nmlukwlpsuo6/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template(‘/home/nmlukwlps…’, false, Array)
    #2 /home/nmlukwlpsuo6/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(67): bp_locate_template(Array, true, false, Array)
    #3 /home/nmlukwlpsuo6/public_html/wp-content/plugins/buddypress/bp-groups/bp-groups-template.php(4703): bp_get_template_part(‘groups/single/m…’)
    #4 /home/nmlukwlpsuo6/public_html/wp-content/themes/besocial/buddypress/groups/single/home.php(160): bp_groups_members_template_part()
    #5 /home/nmlukwlpsuo6/public_html/wp-includes/template.php(732): require(‘/home/nmlukwlps…’)
    #6 /home/nmlukwlpsuo6/public_html/wp-content/plugins/buddypress/bp-core/bp-core- in /home/nmlukwlpsuo6/public_html/wp-content/themes/besocial/buddypress/groups/single/members.php on line 83

    Since this seems to be content-related, you will need to reach out to a web developer to address this problem.

    unbelievable
    Participant

    So i made this code which successfully fetches wordpress avatar to display on buddypress it does sync the profile pictures but it dooesn’t change all the profile pictures on buddypress for example the avatar where it says “Whats new” still has mystery man

    What am i missing to have it successfully sync on all places in buddypress including in friends section help please because parts are synced but not everything

    // Add the custom avatar to BuddyPress user profiles
    add_filter('bp_core_fetch_avatar', 'custom_user_avatar', 10, 2);
    
    function custom_user_avatar($avatar, $params) {
        // Get the user ID from the parameters
        $user_id = isset($params['item_id']) ? $params['item_id'] : 0;
    
        // Specify the maximum size for the avatar (adjust as needed)
        $max_size = 170;
    
        // Determine the context where the avatar is being fetched
        $context = isset($params['object']) ? $params['object'] : '';
    
        // Adjust avatar size based on the context
        switch ($context) {
            case 'activity': // For member activity avatars
                $avatar_size = 50; // Set the size you want for activity avatars
                break;
            case 'group': // For group avatars (if applicable)
                $avatar_size = 100; // Set the size you want for group avatars
                break;
            default:
                $avatar_size = $max_size; // Fallback to max size for other contexts
                break;
        }
    
        // Fetch the avatar HTML for the user with the specified size
        $avatar_html = get_avatar($user_id, $avatar_size);
    
        // Check if the avatar HTML is not empty
        if (!empty($avatar_html)) {
            // Extract the URL from the avatar HTML
            preg_match('/src="(.*?)"/', $avatar_html, $matches);
            if (isset($matches[1])) {
                // Return the custom avatar URL with specified width and height
                return '<img src="' . esc_url($matches[1]) . '" class="avatar" style="max-width: ' . $max_size . 'px; height: auto;" />';
            }
        } else {
            // If no uploaded avatar is found, fall back to the default WordPress avatar with specified size
            $avatar_url = get_avatar_url($user_id, ['size' => $avatar_size]);
            return '<img src="' . esc_url($avatar_url) . '" class="avatar" style="max-width: ' . $max_size . 'px; height: auto;" />';
        }
    
        // Return the original avatar if avatar HTML could not be processed
        return $avatar;
    }
    #334620

    Topic: New situation

    in forum Miscellaneous
    armensaghyan
    Participant

    Hi
    How to add a new situation for sending email.
    I want to create a situation for one course.
    Is there such an option in buddypress? and how to implement it in this case?

    ghinamt
    Participant

    After updating the plugin to the lattes version (14.0.0), a notification message is stacked at the top of my WordPress admin dashbored as follows:

    (For BuddyPress Multilingual to work you must enable WPML together with BuddyPress or BuddyBoss.)

    —————————————-

    and there is no close icon to close this notification, noting that the WPML and BuddyPres are already active and working since long time with no issues.

    please advise how to get rid of this notification as it is annoying.

    #334617

    In reply to: BuddyPress 14.0.0

    ghinamt
    Participant

    Thank you, but after updating the plugin to the lattes version, a notification message is stacked at the top of my WordPress admin dashbored as follows:

    (For BuddyPress Multilingual to work you must enable WPML together with BuddyPress or BuddyBoss.)

    —————————————-

    even the WPML and BuddyPres are already active and working

    hernan2022
    Participant

    Hello,

    I recently updated to the latest version of BuddyPress and ran into some issues

    The first thing I’ve noticed is that the elements I had for the “Blog” page are printing on some BuddyPress pages, like the registration page

    I have consulted the people at GeneratePress and they tell me that the problem would be in BuddyPress, since BuddyPress would be occupying is_home() in templates that are not blog. This bug or problem is persistent and can be replicated, for now I hid those elements using CSS

    https://generate.support/topic/problem-with-elements-in-buddypress/

    I have also noticed strange behavior on blog page after updating. For example, sometimes the registration page and the blog itself lose their favicon in the browser

    I have also noticed that, after updating, occasionally my blog gets some styles corrupted, for example I lose some paddings. These bugs or problems are difficult to detect, they are occasional

    It would be great if you could review this

    Thanks for the plugin, best regards

    #334615

    In reply to: BuddyPress 14.0.0

    Anonymous User
    Inactive

    Hi @oumz99

    Thanks for this information. There’s no competition to me. BuddyPress is free & open source. Nobody gets any money in the BP Team. We contribute to BuddyPress and are doing our best to build great quality software because we love the community and we value the global interest over personal profit.

    I think users should see this declining rate the other way around. This won’t happen but imagine the freedom they would lose if this BuddyPress fork was the only way to build communities in WordPress.

    We are very lucky to have a completely free way to meet online inside WordPress sites: let’s protect this freedom and care for it 😍.

    #334614

    In reply to: BuddyPress 14.0.0

    oumz99
    Participant

    Buddyboss got sold to awesome motive. More competition for buddypress. We are currently at a declining rate sitting at 2016 levels.

    reza
    Participant

    Hello
    WordPress version 6.5.5 buddypress v. 14.0.0
    Just gorup have a problem
    Google webmaster:
    Page availability
    Page cannot be indexed: Redirect error
    URL will be indexed only if certain conditions are met
    Discovery
    Not checked in live tests
    Crawl
    Time
    Jul 13, 2024, 12:58:21 AM
    Crawled as
    Google Inspection Tool smartphone
    Crawl allowed?
    Yes
    Page fetch
    error
    Failed: Redirect error
    ————————
    SSL ok
    I can’t see any redirect code…
    I changed theme and test it…
    🙁🙁🙁

    #334607
    Anonymous User
    Inactive

    Hi everyone!

    We are very happy to announce BuddyPress “Da Lucia” is now available for download. Please Upgrade 🙏

    BuddyPress 14.0.0 « Da Lucia »

    #334583
    Jakson
    Participant

    Ah! thanks so much @venutius !!!

    is there an equivalent in BuddyPress?

    #334582
    Venutius
    Moderator

    That’s not a BuddyPress function, it’s bbPress.

    #334581
    Jakson
    Participant

    Hello,

    I’m calling the BuddyPress function “bbp_get_user_profile_url” in a shortcode but I’m getting a fatal error:

    “Fatal error: Uncaught Error: Call to undefined function bbp_get_user_profile_url()”

    Any help would be supremely appreciated !

    Cheers!
    Jakson

    #334580
    damdam38
    Participant

    Hello,

    I have the same problem, still no solution from BuddyPress or Elementor?
    How can I disable the feeds please?

    ——————————————

    Bonjour,

    J’ai le même problème, toujours pas de solutions du côté de BuddyPress ou Elementor?
    @robertellisit comment désactiver les flux s’il vous plaît?

    #334571
    terryfrum
    Participant

    Wordpress Version 6.5.5
    BuddyPress 12.5.1

    Testing registration and the attached email doesn’t have a Group Name. THe Group Name doesn’t populate. Can anyone tell me where this email comes from and how I fix this or stop this one from sending? Thanks.

    _______. has invited you to join the group: “{{group.name}}”.

    Go here to accept your invitation or visit the group to learn more

    sam0090
    Participant

    You can use the BuddyPress Anonymous Plugin to allow users to select different avatars and nicknames for public groups, ensuring anonymity. This plugin lets users upload new avatars or choose from a provided list, and set a unique nickname for group participation.

    briebree
    Participant

    Hello,
    on Buddypress site, the users can set their avatar from the community profile setting, and that will appear throughout the site inside the group everywhere.

    How can the admin allow users to use a different avatar and name when they join a public group(anonymous feature)?

    what I mean is which plugin or tool can allow anyone to select another avatar and nickname for hiding themself in the group before they join a public group? the other avatar can be selected from their device or there is a feature inside the groups to provide an avatar list for setting avatar and nickname in this group.

    thank you

    lunarca
    Participant

    Hey there!

    I have a quite simple dilemma but can’t quite get it right. I am trying to set up the extended profile for users but I’d like for some of the basic profile fields from a standard WordPress installation to show and be edited through it.

    Especifically I’d like to have the first name, last name, url and user description, that are available trough the wp-admin/profile.php dashboard page, to be editable through the <site>/members/<user nicename>/profile/edit/group/1/ page.

    How can I do that? Thanks a lot!

    PS. I asked ChatGPT and got this answer that throws a Fatal error:

    function sync_bp_wp_profile_fields($user_id) {
        if (!bp_is_active('xprofile')) {
            return;
        }
    
        // Get BuddyPress profile field IDs (replace with your actual field IDs)
        $bp_first_name_id = 1; // Example field ID for First Name
        $bp_last_name_id = 2;  // Example field ID for Last Name
        $bp_url_id = 3;        // Example field ID for URL
        $bp_description_id = 4;// Example field ID for Description
    
        // Fetch BuddyPress profile data
        $first_name = xprofile_get_field_data($bp_first_name_id, $user_id);
        $last_name = xprofile_get_field_data($bp_last_name_id, $user_id);
        $url = xprofile_get_field_data($bp_url_id, $user_id);
        $description = xprofile_get_field_data($bp_description_id, $user_id);
    
        // Update WordPress user data
        wp_update_user([
            'ID' => $user_id,
            'first_name' => $first_name,
            'last_name' => $last_name,
            'user_url' => $url,
            'description' => $description,
        ]);
    }
    
    // Hook to update WordPress user data when BuddyPress profile is updated
    add_action('xprofile_updated_profile', 'sync_bp_wp_profile_fields', 10, 1);
    
    function sync_wp_bp_profile_fields($user_id) {
        if (!bp_is_active('xprofile')) {
            return;
        }
    
        // Get BuddyPress profile field IDs (replace with your actual field IDs)
        $bp_first_name_id = 1; // Example field ID for First Name
        $bp_last_name_id = 2;  // Example field ID for Last Name
        $bp_url_id = 3;        // Example field ID for URL
        $bp_description_id = 4;// Example field ID for Description
    
        // Fetch WordPress user data
        $user_info = get_userdata($user_id);
        $first_name = $user_info->first_name;
        $last_name = $user_info->last_name;
        $url = $user_info->user_url;
        $description = $user_info->description;
    
        // Update BuddyPress profile data
        xprofile_set_field_data($bp_first_name_id, $user_id, $first_name);
        xprofile_set_field_data($bp_last_name_id, $user_id, $last_name);
        xprofile_set_field_data($bp_url_id, $user_id, $url);
        xprofile_set_field_data($bp_description_id, $user_id, $description);
    }
    
    // Hook to update BuddyPress profile data when WordPress user data is updated
    add_action('profile_update', 'sync_wp_bp_profile_fields', 10, 1);
    add_action('user_register', 'sync_wp_bp_profile_fields', 10, 1);
    
    #334559
    WPabmm
    Participant

    Thank you , that worked for removing @username from the profile page.

    However, @username is still visible within the member’s posts (witin the user’s info box).

    @username is also visible within the url of the members profile.

    I just find buddypress disclosing members’ @username to be bad practice from a security point of view and denies members’ proper anonymity.

    #334553
    Mohammad Imran
    Participant

    @aboutm2 please paste this code snippet and check it as per your requirement.

    
    // Hide user name from BuddyPress profile
    function hide_user_name_from_profile() {
        if ( bp_is_active('xprofile') ) {
           ?>
    		<style>
    			.user-nicename{
    				display:none;
    			}
    		</style>
    	<?php
        }
    }
    add_action( 'wp', 'hide_user_name_from_profile');
    
    barricade
    Participant

    Hi guys,

    I’m new to using BuddyPress and have set up a course on my website using learnDash.

    When I go to Member Profile, the courses section just shows all the courses in a list format. I want to change the design to display them as Cards. Can you guide me through how to do this?

    Please assist.

    #334537

    In reply to: BuddyPress Emails

    Renato Alves
    Moderator

    Only if you want to. But it all depends where you have BuddyPress hosted. If you can get notifications when resetting a password, you can get send/recieve emails from BuddyPress too.

    #334536
    Renato Alves
    Moderator

    @hoopkonsulting As the error suggests, you are not sending a required field as part of the signup payload.

    See the documentation.

    #334534
    Koka boka
    Participant

    Hello @imath, I have reviewed everything once again and concluded that the problem was with the BuddyPress Default Data plugin that I use to add demo content. As you mentioned earlier, if you create a group manually, the join and leave buttons in that group work correctly. Meanwhile, groups created using the BuddyPress Default Data plugin give an error – “Error joining this group.” Also, I reverted to version 12.5.1, where all groups can be joined and left without problems. Therefore, I conclude that the BuddyPress Default Data plugin is not compatible with the latest version.

    #334532
    Anonymous User
    Inactive

    I also tested with Playground and it’s behaving as expected for me: clicking on the join button from the groups directory is adding the member to the group.

    Here’s the link to test:
    https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/buddypress/buddypress/master/tests/blueprints/14-0-0-RC1.json

Viewing 25 results - 626 through 650 (of 94,540 total)
Skip to toolbar