Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 3,951 through 3,975 (of 73,928 total)
  • Author
    Search Results
  • #313265
    Mathieu Viet
    Moderator

    Hi everyone!

    BuddyPress 6.2.0 is available, please upgrade 🙂

    BuddyPress 6.2.0 Maintenance release

    CloudedDottedMind
    Participant

    I figured it out… it was pretty simple in the end as all I did was change ‘role” to ‘role__not_in’ while putting the role I do want to show in $role

    /**
     * Exclude Users from BuddyPress Members List unless they have specific 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     = 'roletoshow';// change to the role to be shown.
        $user_ids = get_users( array( 'role__not_in' => $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' );
    #313243
    werny
    Participant

    In my Buddypress Profile Fields there is the field “Name”.
    It is mandatory and I cannot change the settings of it.
    How can I change the privacy settings to “optional” and change the privacy settings like
    “visible only to my friends”, “public” or “only for me”?

    Michael
    Participant

    If you filter the activity stream (for instance show only updates), BuddyPress will also display other activity entries (for instance blog posts) when you click Load More at the end of the activity stream.

    Can anyone replicate the issue with BuddyPress 6.1.0? Is this a BuddyPress bug?

    #313236
    iamthewebb
    Participant

    Hi, that double opt in column is not part of buddypress. Usually these are relating to newletters or similar so you will need to check your other plugins.

    #313233

    Topic: private account

    in group forum Installing BuddyPress
    socially2020
    Participant

    right now buddypress only allows to make private account option with friends only. is there a way i can make private account working with followers

    #313224
    mikedupont
    Participant

    When I add an Amazon link to the buddypress group, I cannot open the link,please help me
    https://recash.wpsoul.net/groups/sunshine/

    https://www.amazon.com/dp/B086VRY1N4– qwert (@qwert) July 29, 2020

    #313222
    etatus
    Participant

    Here is another approach. I dont like it at all because you cannot check a custom post type (you dont have the activity object). But it works.

    function me_filter_bp_activity_item_id_before_save( $item_id ) { 
        if ( !empty(bp_get_current_group_id()) ) $item_id = bp_get_current_group_id();
        return $item_id ; 
    }; 
             
    add_filter( 'bp_activity_item_id_before_save', 'me_filter_bp_activity_item_id_before_save', 10, 1 );

    BTW: The value 1 seems to be the default blog ID.

    In this thread @imath explains that:

    Custom Post Type Support for Activity

    #313220
    cl0ne
    Participant

    Hi Everyone,

    This has not been resolved as of the current version I have which is 5.0. Looking at the changelog for all versions of Buddypress since version 5, I still see no reference to the 8093 ticket, indicating that it has not been addressed.

    Any update on this issue would be great.

    #313204
    slouisess
    Participant

    Hey, BuddyPress community! I’m looking for a way to display a random BuddyPress post.
    Thank you so much!

    This is my first time creating a topic so sorry if I did it incorrectly

    #313203
    statusselect
    Participant

    Hey guys, for redirecting normal post authors to buddypress profile I use this script:

    * Redirect profile links to buddypress profile
    */
    function buddydev_author_redirect_to_profile() {

    if ( is_author() && function_exists( ‘bp_core_redirect’ ) ) {

    $author_id = get_queried_object_id();
    bp_core_redirect( bp_core_get_user_domain( $author_id ) );
    }
    }
    add_action( ‘template_redirect’, ‘buddydev_author_redirect_to_profile’ );
    /**
    * End the redirect profile links to buddypress profile
    */

    Can anyone suggest a similar script for redirecting Tutor LMS course authors/instructors to their buddypress profile?

    Thank you so much in advance

    eduardof
    Participant

    I need to add a default value in some extended profile fields in buddypress registration form so this data is not repeated.

    I have seen that I have to use the variable xprofile_set_field_data() but I don’t know exactly in which .php file to implement it and what code to put

    shawfactor
    Participant

    As far as i can ee this diagram is out of date:

    BuddyPress Database Diagram

    It does not detail the message meta table at all!!

    Can this be fixed?

    And more particularly does each meta item relate to the message ID or the thread ID?

    #313181
    clickallco
    Participant

    If your theme hasn’t changed buddypress too much then its most likely something like this:

    body.bp-user.buddypress{
    	background: #000!important; /*change #000 to your color*/
    }

    Otherwise its usually a good idea to check with the theme’s customer service instead.

    #313178
    clickallco
    Participant
    #313176
    clickallco
    Participant

    Sure. You could bundle them together by using an example shown here: https://buddypress.org/support/topic/get-member-type-broken/

    Here’s the code

    function using_mt_register_member_types() {
    	bp_register_member_type('Teacher', array(
    		'labels' => array(
    			'name' 		=> __('Teachers', 'using-mt'),
    			'singular_name' => __('Teacher', 'using-mt')
    		),
    		'has_directory' => 'teachers', //url slug
    	));
    }
    
    add_action('bp_register_member_types', 'using_mt_register_member_types');

    You’d then find that particular type in your-website.com/members/type/teachers/. You can add as many types as you’d like with the above example.

    trygreenrecipes
    Participant

    When generating the activity feed BuddyPress says whoever publishes a post “wrote” the post rather than using the assigned author and the assigned author is not credited with the post. This is an issue when one user, say admin, publishes a post written/assigned to User 2. The activity feed then says admin wrote the post when it should say “User 2” wrote the post.

    The author name is showing correctly but the link is taken to the admin and also the post is not credited to the assigned author. There is no activity by the other users

    #313162
    shawfactor
    Participant

    Guys please help should be a simple for a buddypress core dev and I am someone who gives a lot back to buddypress through the plugins I have published.

    am running a buddypress network and I want to share some tables but not others (I have my reasons). I’ve enabled BP_ENABLE_MULTIBLOG and have it working perfectly through the filters I have addeds for global_tables and meta_tables for each active component I want share. eg

    add_filter(‘bp_messages_global_tables’,’bp_custom_use_global_tables’);
    add_filter(‘bp_messages_meta_tables’,’bp_custom_use_global_tables’);

    However it looks like the core component uses $bp->core->table_name_notifications in a number of places so occasionally the local notification table is being used (and I want to use a global table in all cases for notiifications). I cant find any documentation on how to filter that one.

    Can you please tell me how I can override/filter this so that notications are always added to the global table?

    Pete

    natelanza
    Participant

    I’m trying to create a searchable list of profiles which only displays profiles of a certain type. I tried using the BP Profile Search plugin, but it doesn’t seem like it can only search a certain profile type. I also tried using FacetWP, but that doesn’t seem to do anything. Is there any way to limit BP Profile Search to a single profile type, or achieve this some other way? (I’m using the latest versions of BuddyPress and WordPress)

    #313156
    Michael
    Participant

    I’ve been looking for a solution and found a lot of dead ends….

    Possible hook. Though Not sure if it works.
    https://buddypress.trac.wordpress.org/browser/tags/1.5/bp-themes/bp-default/functions.php#L112

    There is this unanswered post
    https://buddypress.org/support/topic/how-to-disable-join-group-option-on-public-group/

    #313141
    jadedartist
    Participant

    I ended up using MediaPress Gallery Category with BuddyPress. It was working, but now when I select a category, I get no results. I have no idea what happened. Are there pages here to support the MediaPress Gallery Category plugin?

    #313131
    orangeboxdev
    Participant

    Hey Everyone!

    Does anyone know if there is a way that we can disable public facing user profiles? We have noticed that the public facing user profiles use the user’s email address as their @ username and thus exposes the users email address.

    Also, when we navigate to /members this exposes a list of all of our members. Is there a way to disable this as well?

    We are using WordPress 5.4.2 the BuddyBoss theme with BuddyPress 5.2.0 and LearnDash LMS.

    If anyone can point me in the right direction I would be eternally grateful!

    <3 OBD.

    #313120
    mungbean
    Participant

    Related request: https://buddypress.org/support/topic/buddypress-verified-feature-suggestion/

    Has this feature been resolved? I’m also interested in a “verified account” badge or indicator for users.

    If this is/can be not built into BP, is it compatible with this WP plugin https://wordpress.org/plugins/bp-verified-member/ or something similar else that is recommended?

    Thanks!

    #313116
    iamthewebb
    Participant

    Hi, manage signup takes you to the users who are pending on your site, so those who have filled in their details but have not followed the activation link they are emailed (assuming you haven’t turned this off). On my sites they don’t appear on the Dashboard Users page under all, there is a seperate pending option that should show you the same view as the manage signup link.

    I think Vaparuns suggested fix is related to the actual members page that is visable to all users on your site.

    Could you expand on your exact issue maybe with a screenshot? It is also useful if you could try some of the basic tests in https://buddypress.org/support/topic/when-asking-for-support-2/ and supply some of the additional details regarding plugins/themes.

    #313110
    bobwhallz
    Participant

    Hello
    How can I change the background color of all the profile page from white to a different color using CSS? I am using the Astra theme with a transparent header menu. I’d like a different background color so the menu can be seen

Viewing 25 results - 3,951 through 3,975 (of 73,928 total)
Skip to toolbar