Forums
-
- Forum
- Posts
-
- Installation
- 28,528
- Troubleshooting
- 62,959
- Themes
- 10,453
- Plugins
- 15,405
- Requests & Feedback
- 15,045
- Showcase
- 3,250
-
The simplest and most straight forward solution is to work out what you want to do, and code that directly.
In this case:
<?php
if ( is_user_logged_in() || bb_is_user_logged_in() ) {
// Logged in user
// Hardcode your form here
} else {
// Not logged in
// Hardcode your form here
}
?>
You cannot call bb_is_user_logged_in() without prior inclusion of bb-load.php, though…