Skip to:
Content
Pages
Categories
Search
Top
Bottom

Members/Groups/Blogs SERACH only for logged-in users

  • @maythil

    Participant

    The light yellow band atop (don’t know what’s it called).

    I want the Members/Groups/Blogs SEARCH hidden from public view.

    Only logged-in members should be able to see it.

    If it invloves compliced “IF”- coding, I can remove it uncondionally.

    In which files(s) can I make the changes?

Viewing 5 replies - 1 through 5 (of 5 total)
  • @jeffsayre

    Participant

    Maythil-

    Look for this line of code in the header.php files of both your bphome and bpmember themes:

    <div id="search-login-bar">
    <?php bp_search_form() ?>
    <?php bp_login_bar() ?>

    <div class="clear"></div>
    </div>

    @maythil

    Participant

    Hi, thanks, Jeff :)

    @maythil

    Participant

    Jeff, I rewrote the code like this:

    <?php if ( is_user_logged_in() ) : ?>

    <?php bp_search_form() ?>

    <?php endif; ?>

    <?php bp_login_bar() ?>

    It works well.

    but on second thoughts, i think i can dispense with “search”.

    Is there anyway

    (1) to move the logo (now ‘socialnetwork’) to replace ‘search’,

    (2) move Members/Groups/Blogs to the Admin Bar and,

    (3) remove the yellow band totally?

    @maythil

    Participant

    There was an error in my last post. What I want is:

    (1) to move the logo (now ‘socialnetwork’) to replace ‘search’,

    (2) move Members/Groups/Blogs to the Admin Bar and,

    (3) remove the bar that contains the logo-gif and Home/Blog/Members/Groups/Blogs

    @ivominchev

    Member

    I need to hide the user profiles for the unlogged profiles. Help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Members/Groups/Blogs SERACH only for logged-in users’ is closed to new replies.
Skip to toolbar