Private Portal with BuddyPress
-
Hi there
I am working on a personal project making a private client portal with BuddyPress.
I’ve made a child theme for Twenty Thirteen that does this- thanks to the new update to BuddyPress that lets any theme use buddypress out of the box.
It uses page templates to assign whether pages are private or public. If they are private it directs non logged in users to the login page.
I have multiple headers for different levels of privacy that are assigned to different page templates.I just wondered if anyone could help me solve a problem.
I wanted to make it so that the members page and general activity page’s could be made so that only an admin or editor could view them but page templates don’t seem to work with these pages.
I’ve used conditionals for certain areas of BuddyPress to force certain headers: e.g.
elseif (bp_is_user_profile() || bp_is_user_activity() || bp_is_user_groups() || bp_is_user_blogs() || bp_is_user_friends() || bp_is_user_messages() || bp_is_user_forums() ): get_header('restrict-profile');
I think that would work with the activity and members page but I’m not sure what the conditionals are for those.
Please could someone help?
Thanks
- The topic ‘Private Portal with BuddyPress’ is closed to new replies.