Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 4,926 through 4,950 (of 94,540 total)
  • Author
    Search Results
  • #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?

    GAP Webmasters
    Participant

    Hi,–I was wondering if anyone could help me to integrate Paid Member Subscriptions (a paid membership plugin) with BuddyPress so that I keep the BuddyPress friendly profile/user face, but allow the addition of an Account area where members can pay their annual dues or give a donation. My group, Guild of American Papercutters, does not have different membership levels, but we do keep records on addresses (national & international), and we do accept payment by web for one’s dues (yearly). We also want to set up an online shop eventually, but for now I just want to know: can I add to BuddyPress so that a user can easily link to their account and pay/keep track of their dues?
    We are planning to use Stripe and Paypal.
    The site we are building is at https://papercuttersrenewed.tinyflowers.org
    Thank you for any help!

    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.

    #310271
    patilkavya
    Participant

    Hi,

    We are a financial company and have a compliance obligation to record any electronic messaging by a certain set of our users. This also includes our Word Press sites and goes into comments, wall posts, etc as seen in BuddyPress but also other portions of WordPress.
    Can anyone help me to gather the data on a set rotation (probably daily) and then export it to a usable format. In theory we would like to find a way to pull whatever was posted and who posted it and have it exported and send all activities in email daily.

    Wordpress version – 5.2.5
    BuddyPress version – 5.1.2
    URL – https://nlgphptest.wpengine.com/

    Thank you

    #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!

    #310266
    lwadz88
    Participant

    Hello,

    I was wondering if there are any solutions for non-developers to create custom profile fields for the buddypress group. Basically I want to add custom fields so that every group that is created by users has them. I tried BP Group Extras, however this has way too much front end work to be useful for someone just wanting to use the website. I need to be able to present exactly the information I want at group creation and have it show up on the group home page.

    Thanks!

    #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() );		
    chickencurry
    Participant

    I want to display the users twitch stream in his or her profile. Instead of just showing the url to the link I want the stream to show up? Somebody knows how I can do this?

    Tanmoy Biswas
    Participant

    I am using BuddyPress old version and WordPress version 5.3.2.
    But, Today, When I to updated BuddyPress Version:5.1.2 it gives me the following an error.

    Fatal error: Call to undefined function bp_is_user_inactive()

    Website Home page: https://wcblogs.com
    I am trying to fix these issues but still shows an error.

    Any suggestion?

    Thanks in advance

Viewing 25 results - 4,926 through 4,950 (of 94,540 total)
Skip to toolbar