Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,528
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
Ok, got it.
I have to use another ajaxurl than the one defined in BuddyPress :
`function totd_wp_head() {
//ajax url is defined in BP but not in WP
if (!defined( ‘BP_VERSION’ )) {
?>
<!–
var ajaxurl = “/wp-admin/admin-ajax.php”;
//–>
<?php
}
}
add_action(‘wp_print_styles’,’totd_wp_styles’);`
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS