Forum Replies Created
-
@nahummadrid – This is a known bug. Using bp_core_remove_nav_item() will remove access to those pages as well. Right now, I’d suggest hiding the nav item via CSS or by hacking the $bp global to remove the item.
@shanebp, @nahummadrid – The problem is BP Follow uses an older method to add items to the nav. The plugin needs to be updated to use the newer BP conventions; I’m thinking of asking Andy for contributor access.
In the meantime, you need to make sure your code runs after BP Follow.
Change:
`add_action( ‘bp_setup_nav’, ‘sc_remove_nav_tabs’, 15 );`to
`add_action( ‘init’, ‘sc_remove_nav_tabs’, 15 );`
And it should work.
In reply to: Displaying certain members in a page by shortcode?Ahh cool!
In reply to: Order/sort activity by “most favorites”@celsosoares – I haven’t debugged your code fully, but this section:
`WHERE meta_value = ‘favorite_count’ ORDER BY meta_value`
should be:
`WHERE meta_key = ‘favorite_count’ ORDER BY meta_value DESC`
—
Also, the documentation for the `include` parameter indicates that you have to pass a comma-delimited list of activity IDs.
So you’ll need to change this:
“
to:
`
<?php
$ids = implode( ‘,’, $favorite_id );if ( bp_has_activities( ‘include=’ . $ids ) ) : ?>`
—
Again, I haven’t tested this, but give it a shot!
In reply to: How to list user from a specific profile data ???@beppe999 – That’s one way of doing it. It’s a quick way to achieve what you want, however you lose the ability to properly paginate and to grab a specific amount of members.
In reply to: Displaying certain members in a page by shortcode?First, you’ll need to know how to create a shortcode:
https://codex.wordpress.org/Shortcode_APIThen, you’ll need to add the shortcode parameters you just created from the article above in a BP members loop:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-members-loop/In reply to: [RESOLVED(ish)] Update avatar automagicallyCheck out the “bp_core_mysteryman_src” and “bp_core_fetch_avatar” filters located in /bp-core/bp-core-avatars.php.
This article details a little bit of how to do it:
http://wpmu.org/how-to-add-a-custom-default-avatar-for-buddypress-members-and-groups/In reply to: Admin not receiving New User Registration emailsPlease read the second point in the “Registration” section:
https://codex.buddypress.org/getting-started/faqs/specific-faqs/#registerIn reply to: Multiple headers – any danger?You should preferably use:
“In the example above, if header-example.php doesn’t exist, it will always fallback to the default header.php.
In reply to: BuddyPress Is FreeYup, BuddyPress will always be free! If you paid for it, try and get a refund

There will never be a paid version.However, there are some 3rd-party premium themes and plugins that you can add to BuddyPress, which will cost a bit of moolah.
Hi,
Try reading these sections of the BuddyPress codex:
https://codex.buddypress.org/getting-started/setting-up-a-new-installation/
https://codex.buddypress.org/getting-started/configure-buddypress-components/#forums-setupIn reply to: How to add custom actions to activity stream?Check out the
bp_activity_add()function in /bp-activity.php.Then you’ll need to add your custom activity to the dropdown select menu.
Check out the
bp_activity_type_tabsaction in /bp-themes/bp-default/activity/index.php.
Make sure your scope matches the<li>id.In reply to: How To Link Fields in Profile/RegistrationThis will most likely have to be done on the frontend with javascript.
Brush up on your jQuery! Look up “jquery conditional form fields” on Google.
In reply to: Default theme ad faviconI’m assuming you’ve already generated an icon. If you haven’t, you can try a site like:
http://www.favicon.cc/Next, upload your `favicon.ico` to the root of your WordPress install. (This is where files like wp-config.php reside.)
You’ll most likely need to connect to your site via FTP in order to do this.In reply to: How to list user from a specific profile data ???`bp_get_member_profile_data` is only specific to one member. It will not grab all users with a certain xprofile field nor is there a built-in function that will do what you want.
I’d write a custom function to return the user IDs that match a certain field. Then use the `include` parameter in the members loop to do what you want to do.
eg. `if ( bp_has_members( ‘include=’ . my_custom_function() ) ) : `
`my_custom_function()` will have to be written!
If you know your way around WordPress, check out the `wp_bp_xprofile_data` table in your DB and a way to query the WPDB for hints. The `xprofile_get_field_id_from_name()` function will help as well.
In reply to: Order/sort activity by “most favorites”This isn’t as straightforward as it seems.
If you know your way around WordPress, here’s one way of doing what you want to achieve:
The favorite count for each activity item is stored in the activity meta table (wp_bp_activity_meta). So you could probably query the DB and grab all the “activity_id” sorted descendingly by the “favorite_count” meta_value.
Then you could use a BP activity loop and use the `include` parameter to add the activity IDs you grabbed from your WPDB query.
In reply to: Change message on deleting accountHey Andrew,
You can customize these types of messages by modifying the language file:
https://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/In reply to: Zebra styling Profile PageOkay, sorry forgot that the patch was for BP 1.3.
Just open up bp-xprofile-templatetags.php and find lines 197-8 from the first patch and remove them.
You could also override the “alt” CSS class with the “bp_field_css_classes” filter.
In reply to: How to change “Search anything…”In reply to: Problem with Main Activity Stream TabsFYI, you currently can’t override /_inc/ajax.php in your child theme as the template path is hardcoded to the parent:
https://trac.buddypress.org/browser/tags/1.2.8/bp-themes/bp-default/functions.php#L19Needs to be patched to use STYLESHEETPATH instead of TEMPLATEPATH.
—
Regarding your problem, make sure you haven’t changed any of the list tab IDs. The AJAX requests rely on the IDs of the tabs.
In reply to: Buddypress Mass Messaging & WP 3.1???Plugin probably wasn’t by Andy FWIW. There’s a bug on the bp.org plugin groups section that sometimes defaults to Andy being the plugin author.
If it’s an admin menu problem, then read the post on the BP development blog:
http://bpdevel.wordpress.com/2011/02/24/updating-your-buddypress-plugins-for-1-2-8/Or:
http://code.ipstenu.org/2011/wordpress-3-1-network-menu/In reply to: Change Defualt Tab for Sitewide ActivityYou’d have to modify the AJAX query string.
Read the following thread:
https://buddypress.org/community/groups/creating-extending/forum/topic/activity-index-my-groups-selected-shows-all-group-activity/In reply to: Zebra styling Profile Page@ultimateuser – Since you were manually modifying the profile field loop to hide a certain field, you’d also have to apply both patches.
In reply to: How to add reply Number in topic.phpAmended again! Should work now as I’ve actually tested it this time

Donation link is available on my profile page.
In reply to: How to add reply Number in topic.phpAmended again!