Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Sameera
    Member

    @sameeraperera

    @boonebgorges
    Thanks!!
    I actually added a
    `|| current_user_can(‘edit_users’)`
    to the bp_is_my_profile() check. Otherwise bad things were gonna happen :)


    Sameera
    Member

    @sameeraperera

    Removing user_has_access and site_admin_only alone didn’t work.

    Did you mean to replace the code in bp-members-loader.php : Line 137 to

    if ( !is_user_logged_in() && !is_super_admin() )
    return false;

    ?
    I don’t think I wanna edit core files :(


    Sameera
    Member

    @sameeraperera

    Thanks for your reply. I don’t mind editing home.php because I’m doing it in my theme file. I’ve figured out a way to prevent the friends tab to other users. Just trying to figure out the way it’s done for messages, so that I’m not reinventing anything.

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