Search Results for 'wordpress'
-
Search Results
-
Hey,
I had a problem with a code which I customized from a forum topic, but absolutely have no idea why it doesn’t work.
I have a query in the code to upgrade the display name for the user on registration, activation, and x-profile edit. Unfortunately it only works on profile editing. The strange thing is that I put another query (a simple INSERT INTO query, which insert the user ID and the new display name into a test table) to test if my code run, and that query runs both registration and activation too. I work with 5.1.1 WordPress version and BuddyPress version 4.2.0. Profile sync is also enabled.Here is my code:
function xprofile_sync_wp_profile2( $user_id = 0 ) { // Bail if profile syncing is disabled if ( bp_disable_profile_sync() ) { return true; } if ( empty( $user_id ) ) { $user_id = bp_loggedin_user_id(); } if ( empty( $user_id ) ) { return false; } global $wpdb; // Get name from x-fields $display_name = xprofile_get_field_data('Név',$user_id ); //Test query to detect if the function run, works every time $wpdb->query("INSERT INTO test (id, name) VALUES ('".$user_id."', '".$display_name."');"); //Query to update display_name, works only on x-profile edit $wpdb->query( $wpdb->prepare( "UPDATE wphu_users SET display_name = '%s' WHERE ID = %d", $display_name, $user_id ) ); } add_action( 'xprofile_updated_profile', 'xprofile_sync_wp_profile2' ); add_action( 'bp_core_signup_user', 'xprofile_sync_wp_profile2' ); add_action( 'bp_core_activated_user', 'xprofile_sync_wp_profile2' );Thanks for your help & replies,
DavidHi,
I have installed BuddyPress for last 5 months and it is functioning excellently since the spam registration took place and interrupting the functioning of some of the tabs in WordPress, like widget, activity, and groups. One of the engineers, delete the spam registration, thus makes the widget section working again, but the activity and group tab on the WordPress, showing a 500 internal server error. Kindly find some solution so I can help those engineers.Best wishes
asknotensionsHello,
We run a multisite with a primary parent domain (Changecreaetor.com) and our members site which is the sub-domain (changecreator.com/members).
We are using the Boss Theme with Buddy Press running the most up-to-date version of WordPress.
When a new user is created, they automatically show up on the front end. HOWEVER, when we delete a member from the “users” section on the backend of WordPress, the member still shows on the front end in the members listing on the widget or members page.
We test the deactivation of the theme and plugin (boss for learndash) but the problem still persisted.
The Boss theme support team suggested it was a Buddypress Core issue.
We have not modified core files and dont have custom Php.
We are running Buddypress 4.1.0
Our host is WPengine
Any help figuring out how we can make sure that when we delete a user from the backend that it is also removed from the front end would be very helpful.
This is important as we create test accounts and then cannot remove them.
Topic: Email Tab hide/remove
Hi, is there anyone here knows how to remove or Hide Email tab under profile settings the email tab?
I am running the latest version of WordPress and BuddyPress thank you in advance 🙂Topic: Missing Password Validation
Hi,
Wordpress Version: 5.0.3
Buddypress Version: 4.1.0I want to validate the password if the User change the password in his profile settings but I didn’t found a way to implement custom password validation functions.
In WordPress core it exists the following hooks:
/** * Password validation */ add_action( 'user_profile_update_errors', array($this,'validateProfileUpdate'), 10, 3 ); add_filter( 'registration_errors', array($this,'validateRegistration'), 10, 3 ); add_action( 'validate_password_reset', array($this,'validatePasswordReset'), 10, 2 );Is there a way to hook before the profile settings are updated – specially for the password field.
I have a client who is using BuddyPress on their site and recently asked if I could run monthly BuddyPress-specific user reports. I have been searching in the Documentation and WordPress Plugin repo, but am not finding anything current.
Are there any available options for running statistic reports on BuddyPress users of a site?
I have the most recent version of WordPress and BuddyPress running, and on the Members List, the Friends tab shows ALL of the site’s members, not just the user’s friends. If I refresh the page while the Friends tab is active, it filters properly and just shows the user’s friends, but if I click off of that tab and back to it, it goes back to showing the entire user list on the Friends tab.
I am using the Member Types Plugin from BuddyBoss, but deactivating that plugin doesn’t fix the issue.
It is working properly inside of the User’s account area.
Wordpress version 5.1
BuddyPress version 4.2Good Morning,
I tried putting this up yesterday in the troubleshooting forum and it disappeared. I’m guessing that was the wrong forum. Please let me know if this should be posted elsewhere.I have a large standalone BuddyPress site that needs to be migrated to a multisite. The multisite needs to be able to support multiple sites including other BuddyPress sites. I’ve been trying to migrate the existing site via the “All in one WP Migration” & “Multisite extension” Plugins with no success. All non-BuddyPress elements transfer correctly, there seems to be an issue though with BuddyPress Groups Profile images and Xprofile fields. None are correct once migrated. In the dashboard, I can see all the topics, and forums, but no groups. When I look at the profile fields under users there are none. Profile images are there but assigned to the wrong users. I can, however, see the groups and profile fields in the databases. I’ve been in contact with ServMask and they have suggested I reach out to the BuddyPress community. All the users should have access across the network to any of the sub-sites the desire to visit. They may have to request access to some sub-sites and other sites would just be open. The main site will act as a gateway to the sub-sites. I’ve been through the forums, it seems the plugin that would allow what I want to do is no longer supported and the other recommended plugin “BuddyPress Multi Network” hasn’t been updated since 2014. I’m I missing something? My priority is to get the site up with all the data correctly display and then build other sites out. Any help would be appreciated.
The site uses the latest versions of all these plugins:
Activity Log
AddToAny Share Buttons
Admin Bar & Dashboard Control
bbPress Version 2.5.14
bbPress Move Topics
bbPress Notify Admins
Black Studio TinyMCE
BP Profile Search
BuddyExtender
BuddyPress Version
BuddyPress Docs Version
BuddyPress Global Search
BuddyPress Members only
BuddyPress Xprofile Custom Field Types
Custom Contact Forms
Follow My Blog Post
GD bbPress Attachments
Intuitive Custom Post Order
Max Mega Menu
Max Mega Menu – Pro Addon
New User Approve
Popup Maker Version
Search & Filter Pro
Shortcodes by Angie Makes
The Events Calendar
The Events Calendar: Community EventsVersion
WP Clone by WP Academy
WTI Like Post PROMy proto website is at https://ecohydraulics.org/. I am running WordPress 5.1 and I use Easy Hide Login 1.0.6. I have installed BuddyPress 4.2 and set it up as instructed. The problem I need help with is that the “Login” top menu item that is added by BuddyPress wants to go to the wp-login.php, but this is expressly blocked by the plugin Easy Hide Login. I need to set the Login hypertext URL to go to the slug I have specified in the Easy Hide Login plugin. Please advise me how to do that or where I can find the answer.
I have searched the BuddyPress documentation and support forum extensively as well as the internet for MANY hours. I have not found an explicit instruction how to do this, but I get the hint that I probably have to edit one or more .php files. I just don’t want to do that without being sure what to do, so it is not pure trial and error. Ideally, I would just specify the slug somewhere, but I’ll do whatever is advised. I apologize in advance if this is already answered somewhere, so I will gladly take a link to such a place, but my searches have not yielded the answer, so I am asking for help now after many days of struggle. Thanks.