Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove Header From BP Registration page?

  • Avatar of hindicell
    hindicell
    Participant

    @hindicell

    In my registration form i want to remove the header in which title,search box shows up.and i also do not want to not login user to see home,activity,members and other things how can i hide this thing?this is my registration page http://bit.ly/YcmpWY
    #my current theme is frisco for buddypress

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @hindicell easiest way is to create specific header and footer (matching closing div) files for your register page. To do so:

    1. Copy your theme’s header.php file and save copy as header-registerpage.php
    2. Copy your theme’s footer.php file and save copy as footer-registerpage.php
    3. Open up your theme’s registration/register.php file.
    4. At the very top of the register file, change
    get_header( 'buddypress' )
    to
    get_header( 'registerpage' )
    5. At the very bottom of the register file, change
    get_footer( 'buddypress' )
    to
    get_footer( 'registerpage' )
    6. Adjust codes in your new files as needed.

    Avatar of hindicell
    hindicell
    Participant

    @hindicell

    Thanxx it worked but same problem i am facing for my other pages as well(like homepage,members,groups etc).I have installed wordpress in http://www.mysite.com/user and now suppose if someone is familiare with wordpress he can easily access mu stuffs through http://www.mysite.com/user/members
    http://www.mysite.com/user/groups etc even he can see all stuffs from http://www.mysite.com/user without logging to my site.Is there any way to prevent this.something like access denied if he is not logged in our any kind of redirection to a url.
    or like You don’t have permission to access /members/ on this server .I am facing lots of problem because of this.

    Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    Hi @hindicell

    first of all create a child theme for Frisco.

    And use conditionnal tags to show/hide template parts intended for logged in or out users.

    Something like

    <code> if ( is_user_logged_in()  ) :

    the stuff to show to logged in users

    endif;</code>

    and/or

    <code> if ( ! is_user_logged_in()  ) :

    the stuff to show to logged  out users

    endif;</code>

    But before going on a overcomplicated work, you would prefer a private BP site ? If so read here:

    http://buddypress.org/support/topic/how-do-i-make-buddypress-1-6-a-private-community/

     

     

     

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

You must be logged in to reply to this topic.