Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 8,326 through 8,350 (of 69,044 total)
  • Author
    Search Results
  • #263869
    Slava Abakumov
    Moderator

    Latest WordPress itself has issues on PHP 7.1, and while testing BuddyPress we allow failures on PHP 7.1 as well.
    So in general BuddyPress should work on PHP 7.1, but no one spent extra attention on testing there everything and fix if there are any issues.

    Try to downgrade to PHP 7.0.x.

    #263868
    Slava Abakumov
    Moderator

    If the error persists only when learndash integration is activated, you should contact that plugin authors for support (if they provide one). As it’s seems not a BuddyPress issue, and not newly BP 2.8 version issue.

    As I don’t know that integration plugin, I can’t help.

    #263866
    danbp
    Participant

    Hi,

    it is a little bug and already fixed!
    Please read here: https://buddypress.org/support/topic/buddypress-2-8-0-san-matteo/

    #263854
    r-a-y
    Keymaster

    Thanks for reporting!

    A fix is already in trunk:
    https://buddypress.trac.wordpress.org/changeset/11432

    This will be ready for v2.8.1. Until then, manually patch bp-xprofile/bp-xprofile-admin.php with the changeset linked above until 2.8.1 is released.

    #263845
    #263843
    danbp
    Participant

    Bug confirmed! Open a ticket on the trac.

    To login, use same credentials as for this forum.

    #263836
    chirri97
    Participant

    Is BuddyPress comfortable with php 7.1?

    #263833
    gtractorg
    Participant

    Yes, but it started as soon as I activated buddypress, before I updated to 2.8 today. Still see the errors. I disabled the learndash integration plugin and now it seems to be working ok. I would like to have the integration though of course.

    #263830
    Slava Abakumov
    Moderator

    Is it BuddyPress 2.8.0?

    #263829

    In reply to: Hide members

    Hi. I struggled with this for a while, and I agree entirely that something like this needs to be in the BuddyPress core… actually, I think much better user management needs to be in the WordPress core, not just BuddyPress, but that’s a discussion for another time…

    I eventually found the code that you’re using and modified it to be able to ignore all users with a specific WP role or roles, thus removing the need to hard-code specific user IDs.

    To manage user roles you’ll need a plugin such as User Role Editor by Vladimir Garagulya and create a new role that you assign to users who you want excluded (I chose “suspended”). If you use URE you can assign this as an additional role to the main one that WordPress allows you to set.

    The code is here: http://pastebin.com/9xYALGfR, but I’m no PHP expert, so offer no assurances… all I can say is that it works for me 🙂

    #263825
    Slava Abakumov
    Moderator

    You will need to integrate Multi Vendor plugin into BuddyPress.
    That means create specific profile pages (there is an article in BuddyPress Codex), modify BuddyPress templates in your child theme (same – see articles in Codex).

    You can check this as well:

    #263819

    In reply to: Cannot Sign up

    danbp
    Participant

    Hi and welcome to BuddyPress!

    It seems that you didn’t setup correctly your BuddyPress pages. Ensure they exist and are correctly declared. And also don’t forget to activate your permalinks.

    Common advice: read the documentation before installing a plugin.

    Configure BuddyPress

    #263816
    Slava Abakumov
    Moderator

    What are your WordPress and BuddyPress versions?

    #263810
    chirri97
    Participant

    I get this error:
    Fatal error: Uncaught Error: [] operator not supported for strings in /***/**/**/**/chirri.dk/httpd.www/try/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-component.php:281 Stack trace: #0 /***/**/**/**/chirri.dk/httpd.www/try/wp-includes/class-wp-hook.php(298): BP_Activity_Component->setup_admin_bar(”) #1 /***/**/**/**/chirri.dk/httpd.www/try/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /***/**/**/**/chirri.dk/httpd.www/try/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /***/**/**/**/chirri.dk/httpd.www/try/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(143): do_action(‘bp_setup_admin_…’) #4 /***/**/**/**/chirri.dk/httpd.www/try/wp-includes/class-wp-hook.php(298): bp_setup_admin_bar(Object(WP_Admin_Bar)) #5 /***/**/**/**/chirri.dk/httpd.www/try/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #6 /***/**/**/**/chirri.dk/httpd.www/try/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #7 /custom in /***/**/**/**/chirri.dk/httpd.www/try/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-component.php on line 281

    Mod Edit: Server paths obscured – best not to reveal your server paths on a public forum.

    Slava Abakumov
    Moderator

    @mahwash


    @danbp
    already replied you with a proper advice. You should know CSS, you can also modify the HTML structure of the /buddypress/activity/activity-loop.php file (it should be in your theme).

    #263781

    In reply to: Hide members

    shanebp
    Moderator

    You need to create the code. Do so in bp-custom.php.

    #263780

    In reply to: Hide members

    beforeplastic
    Participant

    Re: Hiding admins from member list:

    In looking back at all of these threads I realize we didn’t jot down the root path to the file we need to update with this code: $excluded_user=’1, 23, 267′;

    Can someone provide the path to get to this file? I can’t seem to find it again.

    example: wp-content/buddypress/bp-themes/otherfoldername/filename.php

    #263779
    Sergio Peña
    Participant

    Thank you for your response.

    I did ask Learndash and they referred me to third party programmers.

    Since I am using buddypress groups, I thought it was appropriate to ask here as well. Apologies if I was mistaken!

    So would it be something like this:

    add_shortcode('course_mentor','nex_course_mentor');
    function nex_course_mentor($atts, $content = null){
      if(!is_user_logged_in())
        return;
      if(!bp_is_active('groups'))
        return;
    
      $nex_group_id  = bp_get_group_id(get_current_user_id());
    
      if(!empty($nex_group_id)){
        foreach($nex_group_id as $nex_group_id){
          $nex_admins = groups_get_group_admins( $nex_group_id );
          foreach($admins as $admin){
            ?>
            <a href="<?php echo bp_core_get_user_domain($admin->user_id) ?>"
            title="<?php echo bp_core_get_user_displayname( $admin->user_id, true ) ?>">
            <?php echo  bp_core_fetch_avatar ( array( 'item_id' => $admin->user_id, 'type' => 'thumb' ) ) ?></a>';
      <?php
          }
        }
      }
    }

    I’m just copy/pasting and trying to connect a bunch of different answers together. As you can tell, I’m no coder.

    Since each group may have more than one group leader/mentor I had a loop in there. Hopefully that will get the ball rolling on what I’m trying to do.

    Am I on the right track?

    #263773
    josselinl
    Participant

    Ok i find my problem !

    I have this code in functions.php for the user can go tu the wp-admin panel.

    function no_dashboard() {
      if (!current_user_can('publish_posts') && $_SERVER['DOING_AJAX'] != '/wp-admin/admin-ajax.php') {
     	wp_redirect(home_url()); exit;
      }
    }
    add_action('admin_init', 'no_dashboard');

    Thanks 🙂

    they help me https://buddypress.org/support/topic/only-admin-can-upload-new-profile-pic-avatar/

    #263760
    bheyne
    Participant

    I’m slowly approaching the solution. If i deactivate the plugin “BuddyPress Xprofile Custom Fields Type”. The Pictures are back. They overwrite the URL i think.

    #263754
    MarcusFuto
    Participant

    The reason seemed to be that the account I was posting from didnt have a buddypress registration only wordpress admin registratation.

    #263732
    januzi_pl
    Participant

    Yep, BP has replaced my changes and the changes that I did in *.po (so, eventually in *.mo) files. Is there a way to disable Buddypress from updating translation file with the broken ones? I don’t need poorly translated versions on my site.

    #263731
    Hugo Ashmore
    Participant

    Apparently ticketed:
    https://buddypress.trac.wordpress.org/ticket/7443

    We’ll consider a possible solution or ‘hack’ 🙁 to avoid the issue.

    #263730
    Henry Wright
    Moderator

    Using the buddypress() function avoids the need to declare a global. Try to avoid globals in your code if you can.

    #263724
    Henry Wright
    Moderator

    I’m not aware of a function. Anyone else here know of one?

    You should be able to avoid the global by doing this:

    echo buddypress()->bp_nav['foo']['link'];

Viewing 25 results - 8,326 through 8,350 (of 69,044 total)
Skip to toolbar