I’ve got this in my functions.php so far, but `bp_init` doesn’t seem to be working. When I load just normal `init` everything loads. Well, except for the Ajax.php, I get a WSOD when I try to require that. Can anyone help with `bp_init` not working?

It’s possible that bp_init is fired too early in the process for it to be detected with functions.php, which is only loaded with your theme (relatively late). Try hooking to something like ‘wp’ instead. You should be able to detect whether BP is activated by doing something like
`if ( !function_exists( ‘bp_loaded’ ) )
return;`

@boone Gorges The reason I’m doing it like this is because I’d like to only load the JS when Buddypress is using it, so if the user is on a blog post that has no BP component it won’t load unnecessary JS.