Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • @lrv

    Participant

    Hi @henrywright
    Thanks for the idea!
    It is possible to replace the existing users avatars?

    @lrv

    Participant

    Strange things to this forum. I opened this topik 3 days ago but last activity displayed more the year ago and it never been on top page.

    The question is still relevant!

    @lrv

    Participant

    fixed.
    It was BuddyPress Groupblog issue.

    @lrv

    Participant

    Is that even possible?

    @lrv

    Participant

    Thanks for the advice but this method completely remove this field from the message form.
    I would like to make this field not required to fill.
    Is it possible to do?

    @lrv

    Participant

    Last BuddyPress Groupblog here:
    https://wordpress.org/extend/plugins/bp-groupblog/

    @lrv

    Participant

    Hi @chouf1,

    Certainly it isn’t default behaviour.
    But If the basis Group Forums is bbpress it can be done.
    The more so in the database the name of forums are recorded.
    Maybe someone could suggest a code which could have list forums?

    @lrv

    Participant

    @lrv

    Participant

    @fivehead

    You are should add it to bp-custom.php
    If you don’t have this file:
    https://codex.buddypress.org/developer/customizing/bp-custom-php/

    @lrv

    Participant

    Hi @fivehead
    I had already found decision for me. This small hack completely fixed avatar and group avatar problem for my site in MULTIBLOG mode:

    `
    /* This fixes the MULTIBLOG avatar problem */
    function nfm_bp_avtar_upload_path_correct($path){
    if ( bp_core_is_multisite() ){
    // $path = ABSPATH . get_blog_option( BP_ROOT_BLOG, ‘upload_path’ );
    $path = ABSPATH . ‘wp-content/uploads/’;
    }
    return $path;
    }
    add_filter(‘bp_core_avatar_upload_path’, ‘nfm_bp_avtar_upload_path_correct’, 1);

    function nfm_bp_avatar_upload_url_correct($url){
    if ( bp_core_is_multisite() ){
    $url = get_blog_option( BP_ROOT_BLOG, ‘siteurl’ ) . “/wp-content/uploads”;
    }
    return $url;
    }
    add_filter(‘bp_core_avatar_url’, ‘nfm_bp_avatar_upload_url_correct’, 1);
    `

    @lrv

    Participant

    You can not use define(‘BP_ENABLE_MULTIBLOG’, true); and define(‘BP_ROOT_BLOG’, 1), at the same time.

    @lrv

    Participant

    Looks like i have the same problem. Do you know any solutions?

    @lrv

    Participant

    Looks like i have the same problem. Do you know any solutions?

Viewing 13 replies - 1 through 13 (of 13 total)
Skip to toolbar