Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 13,001 through 13,025 (of 69,016 total)
  • Author
    Search Results
  • #239139
    Mathieu Viet
    Moderator

    Hi there,

    There’s a chance your theme hasn’t updated its templates. In order to have the activity dropdowns populated, please check your templates are up to date see https://codex.buddypress.org/themes/activity-dropdown-filters-in-templates/#use-bp_activity_show_filters-within-your-bp-default-child-theme

    #239127
    r-a-y
    Keymaster

    Groups are a BuddyPress thing are they not?

    I am requesting that the Group Forum selector in the Group Forum Settings in BuddyPress be able to support more than one forum NOT forums supporting multiple groups.

    Yes, but BuddyPress doesn’t do anything with the bbPress plugin. bbPress integrates itself into BuddyPress. bbPress handles all the BuddyPress group integration.

    What you’re requesting should be a bbPress feature.

    #239126
    producist
    Participant

    I just tried adding the snippets and again and that problem isn’t happening anymore. However, the filter functionality isn’t working…

    See Screenshot —

    http://postimg.org/image/5ulodg0wz/

    Here’s the code I used….

    <?php
    // hacks and mods will go here ok
    
    // Don't forget to add the 'buddypress-activity' support!
    add_post_type_support( 'page', 'buddypress-activity' );
     
    function customize_page_tracking_args() {
        // Check if the Activity component is active before using it.
        if ( ! bp_is_active( 'activity' ) ) {
            return;
        }
     
        bp_activity_set_post_type_tracking_args( 'page', array(
            'component_id'             => buddypress()->blogs->id,
            'action_id'                => 'new_blog_page',
            'bp_activity_admin_filter' => __( 'Published a new page', 'custom-domain' ),
            'bp_activity_front_filter' => __( 'Pages', 'custom-domain' ),
            'contexts'                 => array( 'activity', 'member' ),
            'activity_comment'         => true,
            'bp_activity_new_post'     => __( '%1$s posted a new <a href="%2$s">page</a>', 'custom-textdomain' ),
            'bp_activity_new_post_ms'  => __( '%1$s posted a new <a href="%2$s">page</a>, on the site %3$s', 'custom-textdomain' ),
            'position'                 => 100,
        ) );
    }
    add_action( 'bp_init', 'customize_page_tracking_args' );
    
    ?>

    Is there anything I need to add or change in the above code in order to make PAGES show in the filter area?

    #239111
    Henry Wright
    Moderator

    Hi @fuzzllc

    A way of doing this would be to override the user’s role when they sign up. BuddyPress provides a hook we can use for this bp_core_signup_user. So, you could do something like this:

    function fuzzllc_set_default_role( $user_id ) {
        $user = new WP_User( $user_id );
        $user->set_role( 'keymaster' ); // keymaster can be whatever you like
    }
    add_action( 'bp_core_signup_user', 'fuzzllc_set_default_role' );
    danbp
    Participant

    @browserco,

    thank you for your help, but please, don’t give a 4 years old solution without testing it.
    At first, the snippet contains cote errors, and second, it doesn’t work with BP 2.x, as things has changed.

    You can easily modify your template loop by using bp_parse_args function.

    Here a working example (activity-update is commented – uncomment to see the difference)

    You simply have to list what to show. Anything not listed will be ignored, on all activity feeds.

    Add this to bp-custom.php or child theme functions.php

    function my_bp_activities_include_activity_types( $retval ) {
    // only allow the following activity types to be shown
        $retval['action'] = array(
         //   'activity_update',
            'activity_comment',
            'new_blog_post',
            'new_blog_comment',
            'friendship_created',
            'created_group',
        );
     
        return $retval;
    }
    add_filter( 'bp_after_has_activities_parse_args', 'my_bp_activities_include_activity_types' );
    browserco
    Participant

    Hi Steve, the code above disallows commenting on specific activity types which is not what I wanted. To get rid of those pesky notifications on the activity stream you should use this code in your theme’s functions.php file:

    function filtering_activity_default( $qs ) {
    if ( empty( $qs ) && empty( $_POST ) ) {
    $qs = ‘action=activity_update';
    }
    
    return $qs;
    }
    add_filter( ‘bp_ajax_querystring’, ‘filtering_activity_default’, 999 );

    I got the code from this thread.

    I hope it works out for you!

    #239094

    In reply to: Wrong Member Count

    IHaveToDoThis
    Participant

    Hey,

    Thanks a lot for the info, but the members aren’t under pending. They actually are under subscribers in the back end dashboard, they just don’t show up in the BP members directory. I did find a similar topic here but the plugin that fixed their problem doesn’t exist anymore.

    Is deleting the users and re-creating them the only way to fix this? Or do you think once the users log on and do something they will populate in the members directory?

    Thanks again Dan!

    #239089
    shanebp
    Moderator

    only a certain level of members, or see members listed by country, that sort of thing

    Those two things require different approaches to gathering member ids.

    Adding the order option is easy.
    But filtering the members will require specific solutions.

    Read this:
    https://buddypress.org/support/topic/adding-new-order-by-on-members-loop/

    You can remove default choices by creating a template overload of this file and adjusting the select element:
    buddypress\bp-templates\bp-legacy\buddypress\members\index.php

    Note that it will default to ‘active’ regardless.

    shanebp
    Moderator

    The issue is in the BuddyPress Live Notifications plugin.

    You should report the issue and your fix to the plugin authors:
    https://wordpress.org/support/plugin/bp-live-notification

    #239085
    schulz
    Participant

    Groups are a BuddyPress thing are they not? I am requesting that the Group Forum selector in the Group Forum Settings in BuddyPress be able to support more than one forum NOT forums supporting multiple groups.

    bbpress ticket 2191 is not really talking about what I am talking about here. They are talking about creating subgroups to go with the forums (which is not what I want to do).

    Also the bbPress forums is the first place I looked into and it seems that posts talking about group involvement are being directed to post at the BuddyPress support.

    #239083
    r-a-y
    Keymaster

    The bbPress plugin integrates into BuddyPress, not the other way around.

    So your question is best suited on the bbPress forums:
    https://bbpress.org/forums

    I can tell you that multiple group forums are not officially supported in bbPress at the moment though.

    You’ll want to keep your eye on this ticket:
    https://bbpress.trac.wordpress.org/ticket/2191

    #239080

    In reply to: Sidebars

    r-a-y
    Keymaster

    You’ll probably want to follow this guide:

    Twenty Thirteen Theme

    The guide is for the twentythirteen theme, but it works as a general guideline with any theme. Replace the references to the twentythirteen theme with your theme and you should be good to go!

    #239079

    In reply to: Sidebars

    Hugo Ashmore
    Participant

    Check the Codex documentation, which will guide you on creating a custom buddypress.php page to mirror your themes page.php and in which you could then remove the sidebar from markup.

    #239065
    danbp
    Participant
    #239062
    Vignesh M
    Participant

    Thank You ! i have an another doubt how can i show bbpress forum counts,topic counts,replies for individual user without login in buddypress members page below username.

    #239056
    danbp
    Participant
    #239051
    agalassi0917
    Participant

    @aces

    The sidebar automatically is pushed to the bottom of the profile and group templates, I’d like to be able to move it to the right where the default position is. I think it could be pushed to the bottom due to the Divi theme, but i’m not sure.

    I’d like to know if there were a way to add widgets such as side bars or menus to the template pages in order to facilitate easier navigation through the buddypress pages.

    Thanks for your help!

    #239049
    agalassi0917
    Participant

    Thank you, I’ve created a child theme based off of the Divi theme. Is the only way to edit the buddy press template files though adding the code to the php files, or is there another way to edit these pages (plug-in, buddypress specific theme, etc.)?

    #239042
    shanebp
    Moderator

    You can place this in your theme/functions.php or in bp-custom.php.

    It will stop recording entries for 3 types after you include the function.
    You can add other types as desired to the $exclude array.

    function steve_dont_save_activity( $activity_object ) {
     
        $exclude = array( 'new_avatar', 'updated_profile', 'friendship_created' );
     
        if( in_array( $activity_object->type, $exclude ) )
            $activity_object->type = false;
     
    }
    add_action('bp_activity_before_save', 'steve_dont_save_activity', 1, 1 );

    To delete existing entries, use the interface here
    [yoursite]/wp-admin/admin.php?page=bp-activity

    #239035
    shanebp
    Moderator

    If you switch to a WP theme like 2013, does the problem persist?
    If not, it’s something in your theme.

    What are your media settings re images? Are they square?
    Here: …/wp-admin/options-media.php

    Have you have set any avatar size constants in code?
    See: https://codex.buddypress.org/themes/guides/customizing-buddypress-avatars/#how-to-change-buddypress-avatar-sizes

    #239027
    danbp
    Participant

    BuddyPress templates are stored in bp-templates/bp-legacy/buddypress/

    To customize your theme, create first a child-theme.
    In this folder, add a folder called buddypress and copy any file you want to modify into it from /bp-legacy/, by respecting the original path child-theme/buddypress/members/xxx.php or /child/buddypress/activity/xxx.php

    More details are avaible on codex.

    #239026

    In reply to: Wrong Member Count

    danbp
    Participant

    This phenomenom is normal.

    Once a user has registered, he is considered as pending untill he connect and login to the site.

    Many user register, receive an activation key and come back a few hours or day later to connect for the first time as site mebers.

    That’s why you have 28 entries in the table and 22 on members directory. 6 entries have never connected.

    You can follow such members via members admin, under pending list.

    Similar topic

    #239024

    In reply to: Does BuddyPress works?

    danbp
    Participant

    You need to install WP at first and make it work correctly before installing BuddyPress.

    Refer to WP codex and follow install instruction. At this time, you have no BP installed, so come back once it is done and only if you have an issue.

    Getting started is avaible on both codex, and the start begins with WP.

    Have a nice day.

    jkin
    Participant

    Hi Shanebp,

    Thank you very much for your prompt reply.

    The programer that helped me to setup the theme with buddypress/bbpress and userpro, from the Theme Dutch, told me that they use userpro’s register, hence, the ‘register’ and the ‘activate’ pages are not associated with the buddypress.

    When I land http://www.enihongo.net/register/, it would jump to http://www.enihongo.net/profile/register (for userpro) now.
    There is no ‘activate’ page now.

    #239014

    In reply to: Does BuddyPress works?

    luketapis
    Participant

    Thanks,
    I checked my cPanel and I can clearly see that WP is in the public_html.

    Click into the wordpress folder, rename wp-config-sample.com to wp-config.com
    What is the purpose of this action??

    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    So I suppose I don’t need to change my database information…?

    Is that mean that I can use BuddyPress now?

Viewing 25 results - 13,001 through 13,025 (of 69,016 total)
Skip to toolbar