Fix broken queries in bp-groups-classes.php.

* Fixes misspelled variables.
* Adds missing table alias. (props sbrajesh)
* Some code clean-up.
* Fixes #4711.

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6626 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Use bp_core_can_edit_settings() in settings.php of bp-default and bp-legacy. Fixes issue where navigation was missing for capable users.

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6627 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
POT, generated from r6627

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6628 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Swap out .click() calls for .live() in bp-legacy buddypress.js.

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6629 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Swap out .click() calls for .live() in XProfile admin when deleting options.

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6630 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Compress scripts/styles: 1.7-bleeding-6631.

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6631 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Fixes for the backward-compatibility BuddyPress admin menu

- r6558 introduced a syntax error that was causing a PHP notice, and was also
  causing the admin menu to load in all cases. This changeset fixes the syntax
- Reinstates the proper CSS for the admin menu logo


git-svn-id: http://buddypress.svn.wordpress.org/trunk@6632 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
POT, generated from r6632

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6633 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Compress scripts/styles: 1.7-bleeding-6634.

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6634 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Swap out .live() calls for .on(). Props cnorris23. Antiprops jjj. Fixes #4714.

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6635 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
HiDPI images for icon32's and menus. Props empireoflight. Fixes #4568.

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6636 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Compress scripts/styles: 1.7-bleeding-6637.

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6637 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
In BP_User_Query, only parse the 'user_id' param if 'include' is empty

Friend request queries work by passing a list of requests to the 'include'
parameter of bp_has_members(). This conflicts necessarily with doing a
'user_id' check in BP_User_Query, because 'user_id' limits results to the
passed user's friends (which are, by definition, different from his friend
requests). Thus, when an 'include' param is passed, the 'user_id' check should
be skipped.

This replicates the same logic in BP_Core_User::get_users().

See #4060

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6638 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
POT, generated from r6638

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6639 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Fix variable name typo introduced in r6589 in bp_get_email_subject(). Fixes #4401 again.

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6640 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Use bp_core_can_edit_settings() instead of bp_is_my_profile() in bp_get_nav_menu_items(). See #4661

This fixes a problem where the top-level Messages menu item was not
being output in bp_nav_menu(), thus promoting the child items (inbox,
sent, compose, and notices) to the top-level when viewing someone
else's user profile.

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6641 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Allow BP_Group_Extension plugins to specify admin metabox priority and context

See #4414

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6642 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Only register BP_Group_Extension meta box if the display callback is defined. See #4414

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6643 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Replaces copypasta from Activity admin in Group admin contextual help tabs.

See #4414

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6644 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
POT, generated from r6644

git-svn-id: http://buddypress.svn.wordpress.org/trunk@6645 cdf35c40-ae34-48e0-9cc9-0c9da1808c22