@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.
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.
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:
https://buddypress.org/support/topic/how-do-i-make-buddypress-1-6-a-private-community/