I think it’s possible. You’d have to include bbPress in your other pages and then use bbPress functions to see if the user is logged in and has permission to view the page. I think it’s outside the scope of the help you will find at this forum, but it’s certainly possible.
i think, i need only a little code like ” if user_session has id then show page”.
does anybody can help me please? i have used the search, but i found only integrations with other login-systems or wp systems. but not for my problem
<?php require_once 'path/to/bb-load.php'; bb_auth( 'logged-in' ); ?>
i have try it, but i get an error:
Warning: Invalid argument supplied for foreach() in /test/forum/bb-includes/backpress/class.wp-auth.php on line 145
Warning: Cannot modify header information – headers already sent by (output started at /test/forum/bb-includes/backpress/class.wp-auth.php:145) in /test/forum/bb-includes/functions.bb-pluggable.php on line 232
any ideas?
has nobody a proposition?
Oh, typo. Here’s the correct one:
<?php require_once 'path/to/bb-load.php'; bb_auth( 'logged_in' ); ?>
ben l. you are my hero. its work. thank you very much…
one more question:
what is the code to authorized only specified user groups?
thanks for help