Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Member Profile Private

  • Profile photo of evolver
    evolver
    Participant

    @1missrodnee

    Hi All!
    I would like to be able to set member’s profiles so that guests are not able to view their profile

      unless

    they become members. I don’t mind guests seeing who the members private but they should not be able access members’ profiles.

    Any help is greatly appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Profile photo of @mercime
    @mercime
    Moderator

    @mercime

    Profile photo of evolver
    evolver
    Participant

    @1missrodnee

    @mercime Yes! This is great. Thank you. I have selected the pages that I want to unblock but it’s still blocking my home page now. Is there a way around this?

    Profile photo of bp-help
    bp-help
    Participant

    @bphelp

    @1missrodnee
    Yes there is a work around, on line 37 in private-community-for-bp-lite.php you will see:

    
    if ( !is_user_logged_in() && !bp_is_register_page() && !bp_is_activation_page()  
    

    Change that line to this:

    
     if ( !is_user_logged_in() && !bp_is_register_page() && !bp_is_activation_page() && !is_home()
    

    The && !is_home() inclusion will free up your home page! Good luck! 🙂

    Profile photo of evolver
    evolver
    Participant

    @1missrodnee

    Perfecto! Thanks a million.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Member Profile Private’ is closed to new replies.
Skip to toolbar