-
Henry Wright replied to the topic How to Add Username to Menu in the forum How-to & Troubleshooting 7 years ago
wp_nav_menu_items is a useful filter hook. You can use it like this:
add_filter( 'wp_nav_menu_items', function( $items, $args ) {
if ( 'primary' === $args->theme_location ) {
// Do something to the primary menu's $items.
}
return $items;
} ); -
Henry Wright replied to the topic http://www.zzelzal.com/ site in arabic in the forum How-to & Troubleshooting 7 years ago
Check out the Languages and Translations article:
-
Henry Wright replied to the topic WordPress and buddypress User in the forum How-to & Troubleshooting 7 years ago
WordPress users are BuddyPress users. They’re stored in the
wp_users
table. -
Henry Wright replied to the topic Edit Author Bio via Buddypress in the forum How-to & Troubleshooting 7 years ago
It isn’t possible by default. You would need to link an xProfile field with the author description.
Try this. Note that I’ve used field ID 1 on the 2nd line. You’ll need to change this to the ID of your xProfile field.
function deanljbirch_save_author_bio( $data ) {
[Read more]
if ( 1 == $data->field_id ) {
wp_update_user(
array(… -
Henry Wright replied to the topic Friend Requests in the forum Miscellaneous 7 years, 1 month ago
Check if the Friends component is activated in Settings > BuddyPress
-
Henry Wright replied to the topic Meeting Scheduler for "Members" in the forum Third Party Plugins 7 years, 1 month ago
It sounds like you need @imath‘s Rendez Vous plugin.
-
Henry Wright replied to the topic Problem with validation length in the forum How-to & Troubleshooting 7 years, 1 month ago
Try
if ( 10 === strlen( $string ) ) {
// The string length is exactly 10
} -
Henry Wright replied to the topic Registered User activation email not received in the forum Installing BuddyPress 7 years, 1 month ago
Hey @friendlygooners
You can go to Tools > BuddyPress in the WordPress admin area and then select Reinstall emails under Repair tools.
Is your user name a reference to Arsenal? I’m a fan 🙂
-
Henry Wright replied to the topic Get Signup meta data in the forum How-to & Troubleshooting 7 years, 1 month ago
Try
$user = get_userdata( $user_id );
$signup = BP_Signup::get( $user->user_login ); -
Henry Wright replied to the topic member advanced search not working? in the forum Miscellaneous 7 years, 1 month ago
You’ll need to be logged in but scroll down to where you see “Create a new topic”.
-
Henry Wright replied to the topic member advanced search not working? in the forum Miscellaneous 7 years, 1 month ago
BuddyPress doesn’t have an advanced search. Are you using a plugin?
-
Henry Wright replied to the topic Group Description (required) in the forum Installing BuddyPress 7 years, 2 months ago
Check out this article on CSS:
https://developer.mozilla.org/en-US/docs/Web/CSS
You can change the look and feel of your theme by adding styles to your child theme’s style.css document.
-
Henry Wright replied to the topic Members who register other members in the forum Creating & Extending 7 years, 2 months ago
You can’t do this by default on the front end in BuddyPress. You can of course do this in the WordPress admin area as an administrator.
-
Henry Wright replied to the topic How to Edit Register Page? in the forum How-to & Troubleshooting 7 years, 2 months ago
Check out the Template Hierarchy article. You can override the default templates by creating custom templates in your theme.
-
Henry Wright replied to the topic Hide member page of specific roles in the forum How-to & Troubleshooting 7 years, 2 months ago
Try this:
add_action( 'template_redirect', function() {
if ( user_can( bp_displayed_user_id(), 'manage_options' ) ) {
// This member is an administrator.
bp_core_redirect( bp_core_get_root_domain() );
}
} ); -
Henry Wright replied to the topic Impossible to upload photos (profile and cover) in the forum How-to & Troubleshooting 7 years, 2 months ago
HTTP error is a very generic error. Do you have anything else in your error logs?
-
Henry Wright replied to the topic Front end video upload in the forum Creating & Extending 7 years, 2 months ago
You could use Plupload because it’s a core library but it would require custom code.
-
Henry Wright replied to the topic where do i get plugins for buddypress in the forum Installing BuddyPress 7 years, 2 months ago
Hi @sarahshaik
Welcome to BuddyPress! You can get BuddyPress plugins from the WordPress repository: https://wordpress.org/plugins/
Take a look here for everything tagged BuddyPress: https://wordpress.org/plugins/tags/buddypress/
-
Henry Wright replied to the topic Default profile picture bug in the forum Installing BuddyPress 7 years, 2 months ago
If I had to take a guess, I’d say something is filtering
avatar_defaults
. -
Henry Wright replied to the topic bp_last_activity in the forum How-to & Troubleshooting 7 years, 2 months ago
Try
echo substr( bp_get_last_activity( $user_id ), 7 );
where$user_id
is the ID of the user you need to fetch last activity for. - Load More
@henrywright
Active 8 months, 1 week ago