URGENT: How do I initialize BP on a plain php-site
-
Hi
I’ve installed BP in a subdirectory of my existing php-site.
I am able to pull information from buddypress like this:“
etc.
But when I output the $bp global with:
`function bp_dump() {
global $bp;foreach ( (array)$bp as $key => $value ) {
echo ‘';
echo '' . $key . ':
';
print_r( $value );
echo '‘;
}
die;
}
add_action( ‘wp’, ‘bp_dump’ );`it shows f.e. that I am not logged in, doesn’t matter if I am logged in in the same browser-session or not.
So it seems I am completely missing some “initializing” or something or what is causing this?
Please help, I need urgent help on this!
Raphael
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘URGENT: How do I initialize BP on a plain php-site’ is closed to new replies.