add a BuddyPress config check to loader