Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 276 through 300 (of 73,986 total)
  • Author
    Search Results
  • wpuser
    Participant

    Hi there,

    My buddypress is updated to the latest verison. Today there was a major WordPress release (6.7) but after upgrading, my buddypress member list, friendships and friendlist stops working. Seems Buddypress needs an update as well, to work with the newest WordPress.
    Can you please update the plugin to fit with the latest Wordspress 6.7 as soon as possible?
    Thank you !!

    #335586
    emaralive
    Moderator

    Hi @impartialintel

    This question should be asked in the previous topic you created -> Allowing only $content with urls to be posted(Error.

    The reason is to provide continuity and context to your original request since this topic is directly related. As it stands, this topic is without context and someone would have to connect the dots between this topic and your previous indicated topic in order to understand with specificity and provide some reasonable response.

    So, if I can get you to post what you posted above in the indicated topic, we can continue the conversation and get you closer to your desired goal.

    glenphillips33
    Participant

    Hi BuddyPress Community,

    I’m using BuddyPress to create a community on my website, but I’m having trouble with user profile pages not displaying correctly. When members view their profile, the layout is broken, and certain elements (like the profile picture and activity feed) aren’t showing up as they should.

    Here’s what I’ve tried so far:

    Checked for conflicts with my WordPress theme (using a BuddyPress-compatible theme).
    Disabled other plugins to see if they’re causing issues, but the problem persists.
    Cleared the site cache and checked the site in multiple browsers, but no luck.
    Could there be a setting in BuddyPress I’m missing, or does anyone have tips for troubleshooting profile page display issues? I’d appreciate any guidance on how to get these pages to look as intended!

    Thanks in advance!

    thinlizzie
    Participant

    Assuming you have a Buddypress profile field for your users bio (in this case called ‘Description’), this will work.

    
    function show_description ($atts) {
    
    $user = get_user_by( 'login' , $atts['username'] );
    	
    $args = array(
         'field'   => 'Description',
         'user_id' => $user->ID
    );
    
    return bp_get_profile_field_data( $args );
    
    }
    
    add_shortcode( 'showdescription' , 'show_description' );
    
    #335571
    kirstendrennan
    Participant

    This issue may occur due to compatibility changes in the update from version 11.4.0 to 12.0, where widgets or widget areas could be removed or reset. To fix this, first ensure that any theme or plugin you’re using, especially BuddyPress or similar, is updated to the latest version compatible with 12.0. After updating, try re-adding widgets manually through Appearance > Widgets or using the Customizer. You may also consider testing in a staging environment before updating to identify any potential conflicts. Source: Offical Fintechzoom.

    #335570
    GyziieDK
    Participant

    Figured it out (I’m stupid lol).

    I can confirm that the snippet from Brajesh Singh still works. Just make sure to place it into your bp-custom.php (/wp-content/plugins/bp-custom.php). Turns out my role wasn’t called “Basic” (as shown/named within the backend). Since I use Paid Membership Pro it used pmpro_role_1 set by PMP.

    Remember to change the role within the code down below to the one you want to exclude. 🙂

    Credit: https://buddydev.com/hiding-users-on-buddypress-based-site/

    /**
     * Exclude Users from BuddyPress Members List by WordPress role.
     *
     * @param array $args args.
     *
     * @return array
     */
    function buddydev_exclude_users_by_role( $args ) {
    	// do not exclude in admin.
    	if ( is_admin() && ! defined( 'DOING_AJAX' ) ) {
    		return $args;
    	}
    
    	$excluded = isset( $args['exclude'] ) ? $args['exclude'] : array();
    
    	if ( ! is_array( $excluded ) ) {
    		$excluded = explode( ',', $excluded );
    	}
    
    	$role     = 'administrator';// change to the role to be excluded.
    	$user_ids = get_users( array( 'role' => $role, 'fields' => 'ID' ) );
    
    	$excluded = array_merge( $excluded, $user_ids );
    
    	$args['exclude'] = $excluded;
    
    	return $args;
    }
    
    add_filter( 'bp_after_has_members_parse_args', 'buddydev_exclude_users_by_role' );
    #335565
    goodsuccess
    Participant

    I have activitated buddypress on my website. But when I try viewing the register page it reverts to my home page?

    #335557
    priyam1234
    Participant

    I used latest version of buddypress and wordpress also .
    IN current buddypress when user join group that time new activity will creat . but i cant stop it using hook .

    groups_record_activity(
    array(
    ‘type’ => ‘joined_group’,
    ‘item_id’ => $group_id,
    ‘user_id’ => $user_id,
    )
    );

    #335556
    GyziieDK
    Participant

    Thank you for this plugin @dcavins!

    Didn’t know someone took the time to update the old “BP Group Hierarchy” plugin by David Dean.

    Can confirm it works for me with the following setup:

    WordPress - Version 6.6.2
    BuddyPress - Version 14.2.1
    Template Pack - Legacy

    The only minor issue I’m having is that my theme doesn’t support the setting:
    Replace the flat groups directory with a hierarchical directory.

    This makes sense though and isn’t necessary.

    Thank you for updating this. 🙂

    #335550
    kaihanga2
    Participant

    Hi

    I’m using BBPress with BuddyPress in a WordPress site with MicroOffice theme. We’ve notice recently that the BuddyPress Activity Feed is no longer updating when someone Favourites a Forum post inf BBPress. I’ve tried turning off all other plugins to no avail. I’ve also delted and reinstalled buddypress.

    Also I’ve notice the BuddyPress RSS feed is not working, and when I go into the activity feed domain.com/activity (for example) it will say 9 favourites but when you click o it you only see two listed. Its also not increasing from 9 when I click on forum items favourite button.

    Does anyone have any ideas please?

    #335549
    taadike
    Participant

    I’m using the latest wordpress default block theme. Where can I swap template for buddypress pages? Currently buddypress is using the default “pages” template for all buddypress related pages.
    How to apply another page template to buddypress? There is no way to “edit page”.

    #335548
    taadike
    Participant

    I have the same problem. I’m also using the latest wordpress default block theme. Where can I swap template for buddypress pages? Currently it is using the default “pages” template for all buddypress pages.
    How to apply another page template to buddypress?

    I am amazed how few people have asked this. It should be the number 1 question.

    #335545

    In reply to: Rest Api Help

    Renato Alves
    Moderator

    Not via the REST API.

    You can use the activity endpoint: https://developer.buddypress.org/bp-rest-api/reference/activity/#list-activities

    To get activities from a single group only.

    #335542
    toni9825
    Participant

    Good evening, is there any way to prevent you from being automatically logged out of one of my Buddypress pages after a short time? Regards, Toni

    #335541
    flamuren
    Participant

    OMG I am sooo happy! Chatgpt and some noob questions to it managed to tweak the code so now it works! 😍

    If anyone would need it, this now works:

    function assign_role_based_on_profile_field($user_id) {
        // Get the BuddyPress profile data for the registered user
        if (function_exists('xprofile_get_field_data')) {
            $role_value = xprofile_get_field_data('Roll', $user_id); // Replace 'Role' with the exact name of your profile field
    
            $user = new WP_User($user_id);
    
            // Assign the user role based on the profile field value
            if ($role_value == 'Arbetsgivare') {
                // Assign 'employer' role
                $user->set_role('employer'); // Replace 'employer' with the exact role slug
            } elseif ($role_value == 'Arbetssökande') {
                // Assign 'candidate' role
                $user->set_role('candidate'); // Replace 'candidate' with the exact role slug
            } else {
                // Default role if no specific selection is made
                $user->set_role('subscriber'); // Or any other default role
            }
        }
    }
    add_action('bp_core_activated_user', 'assign_role_based_on_profile_field', 10, 1);
    #335533
    GyziieDK
    Participant

    Makes sense, have you checked that your BuddyPress URLs are correct?

    Settings > BuddyPress > URLs

    Maybe there is a setting in there missing or something; maybe under User Groups or Gallery. :/

    I personally swicthed to MediaPress since I had other third plugins like Anonymous Posting, Privacy Settings and so on that were too important – and rtMedia wasn’t compatible with them.

    Also rtMedia seems to be a pain in the *** when it comes to being compatible with anything and it always seems to be causing issues.

    I’m sure it would be pretty fast to move images if you used FTP to do so.
    /uploads/mediapress/members/MEMBER-ID/GALLERY-ID/IMAGE-URL

    It’s not easy to help other troubleshoot issues unless you’re backend testing settings for yourself, so it’s hard to guess what the problem might be.

    I never had issues with the permalinks when using rtMedia though. 🙂

    #335473
    flamuren
    Participant

    Hi,

    I have a buddypress theme installed that allows to handle WPJM plugin for job and resume registrations. For this latter I need the users to register as candidate or employer to control who can view resumes or post jobs etc.

    However the theme dont have this per standard but their support where very kind to give me a suggested custom code to handle this. I cant get this to work and wonder if someone knows what might be missing?

    This is what they wrote me for this question:

    Create a Profile Field for “Role”: Set options like “Employer” and “Candidate” for users to select during registration.
    Use Code to Assign the Role: A code snippet can assign the correct role based on the user’s selection in this profile field.

    Please let us know if you’d like guidance on the custom code snippet to achieve this or if you’d prefer assistance from a developer.

    Here is a code snippet you can use to assign a user role based on the value selected in a custom BuddyPress profile field during registration. This example assumes the profile field is named “Role” and has values such as “Employer” or “Candidate.”

        function assign_role_based_on_profile_field($user_id) {
            // Get the BuddyPress profile data for the registered user
            if (function_exists('xprofile_get_field_data')) {
                $role_value = xprofile_get_field_data('Role', $user_id); // Replace 'Role' with the exact name of your profile field
    
                // Assign the user role based on the profile field value
                if ($role_value == 'Employer') {
                    // Assign 'employer' role
                    $user = new WP_User($user_id);
                    $user->set_role('employer'); // Replace 'employer' with the exact role slug
                } elseif ($role_value == 'Candidate') {
                    // Assign 'candidate' role
                    $user = new WP_User($user_id);
                    $user->set_role('candidate'); // Replace 'candidate' with the exact role slug
                } else {
                    // Default role if no specific selection is made
                    $user = new WP_User($user_id);
                    $user->set_role('subscriber'); // Or any other default role
                }
            }
        }
        add_action('bp_core_signup_user', 'assign_role_based_on_profile_field', 10, 1);

    Make sure the roles employer and candidate are defined in your site.

    I want to use the WPJM user roles as standard: employer and candidate. Not sure if the slug meant here is just ’employer’ and ‘candidate’ to be correct?

    Best regards,

    Flamuren

    #335435
    GyziieDK
    Participant

    Hello @varunkamani

    I already gave you a few options to choose from, so in the end it’s up to you.

    1. Ignore error and keep plugin
    Keep the plugin and accept the fact that it comes with some issues and risks.
    The risk itself is pretty low when it comes to the XSS since this is pretty common.
    Like mentioned before, old and unsupported plugins do come with some risk.

    2. Find a different plugin
    Find a different plugin that is updated that can provide you with the features you need/want.
    You can search on both WordPress.Org or other sites like Google, CodeCanyon etc.

    https://wordpress.org/plugins/

    3. Use a third party security plugin
    Download and install a third party security plugin that can help prevent the XSS attacks on your site. This could be either free or paid/premium depending on your budget and needs.

    4. Get a developer to help you update current plugin
    If you insist on keeping the BuddyPress Global Search and you want it updated to fix its current issues, you’d need to pay a developer to help you update the plugin itself. This might not be the best solution long term, and I would also assume BuddyBoss themselves would update this if they felt it was necessary. The fact that they talked about updating it for the past 3 years and now left it abandoned tells me that it’s not a priority for them.

    From a quick search on the forums, this topic has been up several times before for the past many years, so don’t expect an easy or “free” solution for this.

    Hope it helps! 🙂

    #335422
    Mathieu Viet
    Moderator

    I confirm the issue, it will be fixed very soon:
    https://buddypress.trac.wordpress.org/ticket/9248

    #335420
    flamuren
    Participant

    I found it here:

    Stop BuddyPress SPAM

    #335419
    flamuren
    Participant

    Hi,

    I am building a new buddypress website and want to set all spam preventions before going live.

    Does this honeypot code still work for buddypress register page?

    // BuddyPress Honeypot
    function add_honeypot() {
        echo '';
    }
    add_action('bp_after_signup_profile_fields','add_honeypot');
    function check_honeypot() {
        if (!empty($_POST['system55'])) {
            global $bp;
            wp_redirect(home_url());
            exit;
        }
    }
    add_filter('bp_core_validate_user_signup','check_honeypot');

    best regards,
    flamuren

    #335416
    Ketil Ervik
    Participant

    I completely reinstalled BuddyPress but have the same page and problem as before! https://drive.google.com/file/d/1t6ePWc0fe9nlxIu4Y8aN3IbaDCOscxXo/view?usp=sharing

    This must be a bug!

    MikeAlan
    Participant

    I am admin for a fairly comprehensive site, still under construction.
    I’m in the process of setting up the various sidebar widgets. They all work well except Sitewide notices, which has been set to be at the top of the right-hand sidebar, but it only displays a blank widget area, no title.
    The widget setup screen/right-hand sidebar/’sitewide Notices’ just says “Preview unavailable”
    Buddypress Settings/Private Messaging has been activated (ticked)
    There’s no “This is a notice to all users” box in the front end Messages/Compose screen.

    The site uses the latest versions of Buddypress and WordPress.
    The current theme is Theme4Press’s Evolve Plus

    I’ve tried deactivating all plugins except Buddypress.
    I have tried switching the theme to Twenty Seventeen, but all to no avail!

    Any help would be very much appreciated in getting the Sitewide Notices to work.

    #335389
    GyziieDK
    Participant

    Favorites to me is kinda the same as “liked posts”.. So either would work I guess.
    For now the favorites do work for the most part, but some areas do need an update.

    The “notifications” I’m talking about is on the
    #buddypress div.item-list-tabs.primary-list-tabs & activity-favorites

    – Basically the counter for the “marked as favorites” on the sub-navigation. If a member decides to remove an activity that another member has marked as a favorite the count dosen’t update or accomidate for this. So now the other user is left with an empty list but still a phantom “notification” on the sub navigation.

    The only way I’ve found to “reset” this is to go into the MySQL database itself and clear the meta-data from there in order to actually “reset”/update the counter. The issue is that it’s almost impossible to find the specific “favorite” data and dele only that one.

    Hope it makes sense! 🙂

    Error-065

    #335381
    Mathieu Viet
    Moderator

    Activity favorites really need improvements, I agree. I’ve suggested many ways to do so but haven’t succeed to convince the team. Here’s my last attempt about it: https://github.com/buddypress/buddypress/pull/238

    I’m not sure what you call “Notification” is an item of the Notifications component, as you can always mark as read notifications going into the corresponding profile page.

    I guess what you call “Notification” is the amount of favorited activity that is added to nav items.

    We’re aware of the issue but haven’t found the best way to deal with it.

Viewing 25 results - 276 through 300 (of 73,986 total)
Skip to toolbar