Skip to:
Content
Pages
Categories
Search
Top
Bottom

custom visibility profile


  • leandrorm
    Participant

    @leandrorm

    Hi i am tryng tocreate a custom visibility option at the moment bbpress gives these options:
    $this->visibility_levels = array(
    ‘public’ => array(
    ‘id’ => ‘public’,
    ‘label’ => _x( ‘Everyone’, ‘Visibility level setting’, ‘buddypress’ )
    ),
    ‘adminsonly’ => array(
    ‘id’ => ‘adminsonly’,
    ‘label’ => _x( ‘Only Me’, ‘Visibility level setting’, ‘buddypress’ )
    ),
    ‘loggedin’ => array(
    ‘id’ => ‘loggedin’,
    ‘label’ => _x( ‘All Members’, ‘Visibility level setting’, ‘buddypress’ )
    )
    );
    if ( bp_is_active( ‘friends’ ) ) {
    $this->visibility_levels[‘friends’] = array(
    ‘id’ => ‘friends’,
    ‘label’ => _x( ‘My Friends’, ‘Visibility level setting’, ‘buddypress’ )
    );
    }

    is it possible to create one only for group members ?

    that only group members can acces that info

    thx for the help 😀

  • You must be logged in to reply to this topic.
Skip to toolbar