Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

  • peterBerlin
    Participant

    @peterberlin

    Hi,

    For a newbie like me, could I kindly ask to see how the code:

    function automatic_group_membership( $user_id ) {
    if( !$user_id ) return false;

    groups_accept_invite( $user_id, $group_id );
    }
    add_action( ‘bp_core_activated_user’, ‘automatic_group_membership’ );

    As its supposed to look so its ready for use in bp-custom.php

    Kind regards and have a nice Sunday.


    peterBerlin
    Participant

    @peterberlin

    I thought og that as a solution, but google searches isnt giving me any usefull solutions.

    Anyone who can send me the lines ?


    peterBerlin
    Participant

    @peterberlin

    Sorry for not getting back.

    Showing at all Buddypress sites.

    I could see in the file directory that the avatars and group pictures are saved under the site where the user is logged in. So I guees its a matter of updating a file that tells where to upload the picture.

    Kind regards


    peterBerlin
    Participant

    @peterberlin

    For some unknow reason, it all worked out the next day and the local themes was working again. Maybe the server restarted or something… who knows.


    peterBerlin
    Participant

    @peterberlin

    Hi Poul,

    Thanks for your assistance.

    I would go for ‘look/feel to be different for each site — sharing the same data/usergroup’.

    I hope this somehow is possible.

    Thanks, Peter

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