Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 3,876 through 3,900 (of 69,016 total)
  • Author
    Search Results
  • #310323
    DizzyDolly
    Participant

    Hi there, i was wondering if this was server side or a current buddypress bug?

    It fixes it when I uninstall and reinstall messaging but it happens again the next day. Odd.

    keesjan
    Participant

    Hi,
    is it possible to not google index nor have users acces for non-admins to the member directory page?

    If I unpublish the wp page the buddypress-directory is on, also the individuale member profiles get unpublished.
    I now think aboout 301 redirecting the exact page the buddypress-directory.
    this way I hope to:
    disable acces to /buddypress-directory/
    and have users acces to buddypress-directoryprofile-name/

    Or is there a more simple way?

    artsybohemian
    Participant

    I have a LearnDash site with WooCommerce. Most of my courses are self-paced. I want to use BuddyPress for the courses when I’m teaching live. Is there a way to hide BuddyPress except for the students in my live courses? Maybe I can block registration except by invitation?

    Thank you.

    #310305
    ximaan
    Participant

    Hi everyone,

    So I have a very annoying issue with avatars in buddypress. Basically when I try to test and upload a new avatar, it crops it in a very weird way. This is for every single avatar. I even tried changing the dimensions with coding, but this still keeps happening. It just crops a specific part of the photo. Please see my screenshot here. I have no idea how to fix this. My website is glowgettersguide.com. My theme is sausalito.

    Here is my screenshot and what happens when I upload any size photo even a small one: https://imgur.com/a/SifYLmp

    Please help. Thanks a lot!

    #310303
    discoverearth
    Participant

    Hey
    I agree with you 100%. Buddypress onboarding needs some additional plugins.

    There is a plugin that allows users to choose groups they want to join as part of the signup Process.

    But we also need a better solution for profile fields.

    What was the buddydev plugin you used to redirect to profile after registration?

    #310302
    nemoprofeta
    Participant

    Hello,
    I just switched my site to Astra+Elementor. Earlier it was Genesis+Elementor. All of a sudden the members page and the pages for single users return 404.
    The page is published and usually works. But when I select it as member page in Buddypress settings, it returns 404.
    What should I do?

    pixieblitz
    Participant

    When users get a notification email with a link to a new message in buddypress, clicking on that link goes to a 404 (if they are not logged in). This seems like it was previously addressed in https://buddypress.org/support/topic/error-404-for-non-logged-in-users/ but I can’t seem to fix it. I tried adding the function mentioned in that file to my bp-custom file, but no luck. Any advice for how to route this through a login form instead would be very much appreciated!

    Latest WordPress and buddypress, child theme from colormag theme.
    PlantSwap.org

    #310295
    valuser
    Participant

    and also the Codex link

    You can have a separate home page for any group you want

    Try making a page template called “front-slug-group-name.php” for each group (for which a unique home page is desired)

    (“group-name” being the lowercase name of the group)

    and put it in wp-content/themes/your-theme/buddypress/groups/single/

    as in

    wp-content/themes/your-theme/buddypress/groups/single/front-slug-group-name.php

    #310289
    techiebraj
    Participant

    Hello team,

    As like BuddyPress profile avatar, I also want to use crop feature in BuddyPress cover image so that user can select the right image portion for their cover photo.

    I don’t see any option to enable the crop to cover photos. Can you please guide me on how to achieve that?

    Thank you!

    techiebraj
    Participant

    Hello team!

    I don’t want to crop the image for my BuddyPress profile image, I want to set the full-size image, but BuddyPress doesn’t allow me to do that, it only let me crop the image keeping the aspect ratio square. Can you please suggest to me how to make my BuddyPress profile image to cover without cropping?

    e.g. https://prnt.sc/r7qb38

    Thank you!

    soopablogga
    Participant

    The goal is to find and replace thing1 with thing2 in the wp_bp_activity “content” table. This exact code works when I use it to change the standard wp_ tables, but does not when trying to update the buddypress bp_ prefixed tables. What am I doing wrong here??

    global $wpdb, $bp;
    $wpdb->query(
        $wpdb->prepare(
            "UPDATE {$wpdb->bp_activity}
            SET content = replace(content, %s, %s)",
            'thing1',
            'thing2'
            )
    );
    #310283
    soopablogga
    Participant

    This question is basically impossible to answer without lots of other information. If your theme has a separate notification count code from the default one that shows up in the toolbar, you can rip that code out of the site and put it elsewhere — if not you’re going to have to learn to code it yourself or hire someone to do it for you.

    You could start with searching “how to add buddypress notifications to template”

    #310282
    stephenss
    Participant

    Hi Everyone,

    Need your help.

    How do I hide Admins from the search Members list on the frontend using BuddyPress?

    Regards
    Stephen

    #310280
    iamthewebb
    Participant

    Have you tried disabling other plugins and re-enabling one by one to see if any are interfering with this functionality?
    The basic troubleshooting section may be worth trying at the bottom of https://buddypress.org/support/topic/when-asking-for-support-2/ as a starter then some more info on your setup if this doesn’t help find the issue.

    #310278
    dakitica
    Participant

    wordpress version is 5.3.2
    buddypress version is 5.1.2

    Home Page


    Hello, I have a problem with Friend connections… when I send Friend Request it cannot be accepted. on my friends profile says that there is no friend requests. how can i solve that ?

    #310272
    AntonyC
    Participant

    UPDATE:: I tested this code on a BuddyPress installation I have and get the same results so not a buddyboss issue.

    #310270
    halpingregory
    Participant
    #310269
    halpingregory
    Participant
    visimedia
    Participant

    how to hide new topics n replies of bbpress in buddypress activity wall?
    I tried wb com plugin activity filter, it messed up with my other plugin from buddydev to show all community activity tab.
    can u help?

    #310267
    metalguy
    Participant

    I’m not a fan of having the WP bar on the front end. I have no issue adding the BuddyPress pages to the main menu, but my issue is then users lose the ability to see how many notifications they have on every page. Is there a way to move the notification bubble form the WP bar to the main menu? Or even show the amount of notifications the user has in a menu button? I’ve been searching for a while and cannot find a solution. Thanks in advance!

    #310261
    shanebp
    Moderator

    Try putting the code that sets $ic_filter_members_interest_id in bp-custom.php or in a separate plugin.

    And put it in a function that uses a BP hook.

    function set_ic_members_var() {
        //set your global var here
    }
    add_action( 'bp_ready', 'set_ic_members_var' );
    AntonyC
    Participant

    Hi,

    I’m running BuddyBoss/BuddyPress on WordPress 5.3.2

    I’d like to be able to filter my main BuddyPress members page using $_GET, from query variables passed in the URL.

    I’ve tried various ideas found on the web and the most up to date/promising way of doing this seems to be using bp_parse_args() via…

    add_filter( 'bp_after_has_members_parse_args', 'my_function' );

    Using this method works well except for the fact that I am unable to access my passed filter variables via $_GET …if I print the site url from within my function it returns wp-admin/ajax.php (or something like it) which I guess is why I can’t access the passed query variables. Any help with this would be greatly appreciated.

    Many thanks,

    Antony

    My code…

    function ic_members_filter( $retval ) {
    
        global $wpdb;
        
        global $ic_filter_members_interest_id;
    
        if( $ic_filter_members_interest_id &&  $ic_filter_members_interest_id>0 ){
     
            $prepared_statement = $wpdb->prepare( "SELECT user_id FROM ic_interests_data WHERE interest_id = %d AND (interest_value = 1 OR interest_value = 3)", $ic_filter_members_interest_id );
            $db_custom_ids = $wpdb->get_col( $prepared_statement );
            
    
            if ( $db_custom_ids ) { //!empty( $db_custom_ids )
                
                // convert the array to a csv string
                $retval['include'] =  implode(",", $db_custom_ids);  //$custom_ids_str = 'include=' . implode(",", $custom_ids);
            }
            else{
                
                // don't show any records
                $retval['include'] = array(0);
            }
    
        }else{
            // show all records
            $retval['include'] = '';
        }
     
        return $retval;
    }
    add_filter( 'bp_after_has_members_parse_args', 'ic_members_filter' );

    WHERE… $ic_filter_members_interest_id is a global that holds the interest_id via $_GET

    References…

    Using bp_parse_args() to filter BuddyPress template loops


    https://buddypress.trac.wordpress.org/browser/tags/2.2.1/src/bp-members/bp-members-template.php#L461

    #310246
    shanebp
    Moderator

    You don’t need the meta_query in your example.

    You can use one of these classes:
    buddypress\bp-core\classes\class-bp-user-query.php
    buddypress\bp-groups\classes\class-bp-group-member-query.php

    Using the former class is more verbose but maybe easier to follow at first:

    function group_members_counter() {
    
    	$args = array(
    		'group_id' 		=> 1,  // bp_get_group_id(), or pass in a group id
    		'exclude_admins_mods' 	=> false
    	);
    
    	$group_members_result = groups_get_group_members( $args );
    	$group_members_ids = array();
    
    	foreach(  $group_members_result['members'] as $member ) {
    		$group_members_ids[] = $member->ID;
    	}
    
    	echo 'group member ids: ' . implode(", ", $group_members_ids);
    
    	if ( ! empty ( $group_members_ids ) ) {
    
    		$args = array(
    			'include' 		=> $group_members_ids,
    			'meta_key'		=> 'action_one_total',
    			'meta_value'		=> '88',  
    			'populate_extras' 	=> false
    		);
    
    		$members = new BP_User_Query( $args );
    
    		echo '<br>matching meta count: ' . $members->total_users;
    
    	} else {
    		echo 'There are no group members.';
    
    	}
    
    }
    add_action( 'bp_ready', 'group_members_counter' );
    Carlen
    Participant

    I am trying to work something like this (below) to count all members in a group that have a certain meta value. I am sure there are several ways to do this, but i am new to php and buddypress and can see filter options for groups, or meta queries for all users, but have not figured out how to just run a query for members within a group. I am using this to display summary statistics in the group header.

    Any help would be greatly appreciated.

    $args = array(   
        'meta_query' => array(
            array(
              'key' => ‘action_one_total’,
              'value' => ’88’,
              'compare' => ‘=‘
            ),
        ),
        'count_total' => true
    );
    }
    $users = new WP_User_Query($args);
    
    print_r( $users->get_total() );		
Viewing 25 results - 3,876 through 3,900 (of 69,016 total)
Skip to toolbar