Search Results for 'buddypress'
-
Search Results
-
Topic: Disable user status updates
I want to call tamplate【A】in the template【B】.
template【A】
plugins\buddypress\bp-templates\bp-legacy\buddypress\members\single\profile-loop.phptemplate【B】
plugins\buddypress\bp-templates\bp-legacy\buddypress\members\single\edit.phpBut even if you write the following code in 【B】, 【A】 can not be called.
<?php get_template_part( 'profile/profile', 'loop' ); ?> <?php bp_get_template_part( 'profile/profile', 'loop' ); ?>What should I write in 【B】?
Tthanks.
Hello,
I am using latest version of buddypress and wordpress. The registration process is not working for me. Its just refreshing the page. No data is saving in database. I have tested with deactivating all plugins and also tested with the default theme. But its still not working.
I need to fix this issue as soon as possible. Please help!
Thanks in advance.Is that possible for us to add a new attribute to the existing BuddyPress table? If yes, anyone can give me some guides?
/*Disable gravatar*/ add_filter('bp_core_fetch_avatar_no_grav', '__return_true'); /*Disable gravatar extra function*/ function bp_remove_gravatar ($image, $params, $item_id, $avatar_dir, $css_id, $html_width, $html_height, $avatar_folder_url, $avatar_folder_dir) { $default = get_stylesheet_directory_uri() .'/_inc/images/bp_default_avatar.jpg'; if( $image && strpos( $image, "gravatar.com" ) ){ return '<img src="' . $default . '" alt="avatar" class="avatar" ' . $html_width . $html_height . ' />'; } else { return $image; } } add_filter('bp_core_fetch_avatar', 'bp_remove_gravatar', 1, 9 ); function remove_gravatar ($avatar, $id_or_email, $size, $default, $alt) { $default = get_stylesheet_directory_uri() .'/_inc/images/bp_default_avatar.jpg'; return "<img alt='{$alt}' src='{$default}' class='avatar avatar-{$size} photo avatar-default' height='{$size}' width='{$size}' />"; } add_filter('get_avatar', 'remove_gravatar', 1, 5); function bp_remove_signup_gravatar ($image) { $default = get_stylesheet_directory_uri() .'/_inc/images/bp_default_avatar.jpg'; if( $image && strpos( $image, "gravatar.com" ) ){ return '<img src="' . $default . '" alt="avatar" class="avatar" width="150" height="150" />'; } else { return $image; } }Reasons being:
The code helps to disable the gravatar use in buddy-press avatar and cover-image while also removing that gravatar text wordings when editing the avatar and cover image
But the issue is am making use of a Buddypress Multiblog so this tend to cause issue with my avatar not being displayed in biography on post .Thanks in advance.
Topic: Buddypress not loading
Hello
All of a sudden my buddypress pages aren’t loading. On checking I saw that #item-body wasn’t loading completely. So when I click on any tab except the profile tab, the entire page below the nav is cut off including the footer.I tried removing all my custom css & the functions.php file of my child theme to see if that’s the problem. But no effect. When I activate the parent theme though it seems to be working. Where else can I check or what can I do to solve this issue?
Hi,
I used the code below to notify by email when member updates certain field. In my case the field is multiline text box (TinyMCE). I replaced the email and field ID in the code with my actuals.
But this snippet is not sending me emails.
function rc_buddypress_profile_update( $user_id ) { $admin_email = "YOUR-EMAIL@DOMAIN.COM"; $message = sprintf( __( 'Member: %1$s', 'buddypress' ), bp_core_get_user_displayname( $user_id ) ) . "\r\n\r\n"; $message .= sprintf( __( 'Color: %s' ), bp_get_profile_field_data('field=Color') ). "\r\n\r\n"; wp_mail( $admin_email, sprintf( __( '[YOUR SITE] Member Profile Update' ), get_option('blogname') ), $message ); } add_action( 'xprofile_updated_profile', 'rc_buddypress_profile_update', 10, 5 );Topic: Remove account details
Hi. My question is how to remove account details in registration page? I want use details registration on profile fields only.
Wordpress: Version 4.9.8
BuddyPress: Version 3.2.0The website is for my client. Thanks.
Greetings!
I’m using Buddypress 3.2.0 in KLEO Theme on WordPress 4.9.8.
I have an issue that appears every time when someone tries to register on my website: after completing the registration fields and hitting “Sign Up” button, the page refreshes and the process isn’t done properly.
Sometimes the process is working: I can create an account but after that the issue appears again. It is like a 1/10 chance for the process to be done succesfully.
I searched on the forum’s topics related to this question but I couldn’t find something to work and solve the problem for me.
*I’m running a single-site.
*My bp file in directory is named: “BuddyPress”Any ideas? I really hope you can help me!
Cheers!
Topic: Logged out on group creation
Whenever I try to create a group within my site, I get logged out.
I’ve tried removing plugins, removing the theme, updating plugins and themes but I still get the same issue.I’ve replicated the base of my site on another WordPress instance and that works as much as I can create groups fine.
What can I do to fix this issue, please?
EDIT: I’m using WordPress 4.9.8, BuddyPress 3.2 (latest version) on a localhost site running MAMP
Topic: Registration problem
I am worried about the strange problem I am facing when user registers. My registration page contains three profile fields from “Base” called Base name, gender, DOB and name.
I noticed frequently users get successfully registered with no update to any of the above mentioned fields. These fields are defined “Required”. I am worried how these fields are not getting updated in database because the registration will not be allowed unless user enters these fields. Is this a bug in buddypress? Or what else otherwise?
Hello!
I think when BuddyPress analyzes the URI WP Query’s is_404 property is true.
So when my WAF checks is_404() in template_redirect hook it detects group pages as a 404.
https://accesstourism.co.uk/groups/dorset/
During this bp_current_component() returns ‘groups’.
Could you please fix BP to keep is_404 false?There is a plugin loosely related to this
https://plugins.trac.wordpress.org/browser/bp-404s/trunk/bp404s.phpThank you.