Search Results for 'profile fields'
-
Search Results
-
i’d like to migrate 950 users from a bespoke system to BuddyPress.
i can easily create a CSV file with the user information, including fields that i can create in the Extended Profile.are there suggestions on how to import that CSV file, and ensure that the default Profile Visibility settings are set during the import for those NEW users?
one plug-in that i tried had problems with the Profile Visibility piece.
hello
i have 2 wp network websites with 2 different themes
1/ is the main website where i want to show the members directory + the public bb public profile
2/ is the place where i want users to edit they xprofile fieldsthe url
https:[site2]/members/[username]/profile/edit/group/1/ us giving errorWarning: Attempt to read property "ID" on null in /var/www/html/wordpress/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php on line 950 Fatal error: Uncaught Error: Attempt to assign property "single_item_name" on null in /var/www/html/wordpress/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php:953 Stack trace: #0 /var/www/html/wordpress/wp-includes/class-wp-hook.php(324): BP_Members_Component->parse_query() #1 /var/www/html/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #2 /var/www/html/wordpress/wp-includes/plugin.php(565): WP_Hook->do_action() #3 /var/www/html/wordpress/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(607): do_action_ref_array() #4 /var/www/html/wordpress/wp-includes/class-wp-hook.php(324): bp_parse_query() #5 /var/www/html/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #6 /var/www/html/wordpress/wp-includes/plugin.php(565): WP_Hook->do_action() #7 /var/www/html/wordpress/wp-includes/class-wp-query.php(1140): do_action_ref_array() #8 /var/www/html/wordpress/wp-includes/class-wp-query.php(1868): WP_Query->parse_query() #9 /var/www/html/wordpress/wp-includes/class-wp-query.php(3824): WP_Query->get_posts() #10 /var/www/html/wordpress/wp-includes/class-wp.php(696): WP_Query->query() #11 /var/www/html/wordpress/wp-includes/class-wp.php(816): WP->query_posts() #12 /var/www/html/wordpress/wp-includes/functions.php(1336): WP->main() #13 /var/www/html/wordpress/wp-blog-header.php(16): wp() #14 /var/www/html/wordpress/index.php(17): require('...') #15 {main} thrown in /var/www/html/wordpress/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php on line 953
when i add define(‘BP_ROOT_BLOG’, 2); to wp config , it works but i will get the same error in
https:root/members/[username]in other other words i want that both
https:[site2]/members/[username]/profile/edit/group/1/
and
https:[root]/members/[username] to workany ideas ?
Hi there,
i noticed that in latest Version on Fresh install of WordPress MU Profile Fields are missing in WP Admin.
Deleting DB Tables and reactavating Extended Profile in Network Settings already tested, dont work.
Topic: Join Group – Questions?
Gang, I looked for a plug-in and Iβm surprised I couldnβt find one.
I want to set a group to visible but by request. When a user requests access I want to ask them questions.
In a perfect world, I would love to map these to custom profile fields Iβve already created.
But these answers would be viewable by the group mod.
Does this capability exist somewhere in the etherworld?
Daniel
Hello,
I’m not so much into coding and I’m looking a way to show a couple of text Fields of users in the Cover area (close to the profile image) and in the User Card show in the Member Directory page (here: https://www.powerupjunction.com/members/).I need these fields to be 2 of the fields the user must compile as info on their profile.
I’m on WORDPRESS 6.4.3 and
BUDDYPRESS 12.3.0Can someone help me with a brief Guide on how to achieve this and where to add codes eventually ?
Thanks in advance
Sorry if this has already been answered. I tried searching quite a bit before I posted a new topic.
I’m using the BuddyBoss Theme and have the latest versions of WP and BuddyBoss installed.
I’ve got a signup form with extended profile fields added. I need to filter the profile values before they are displayed when viewing or editing the user profile in both the front and back ends. I’ve used the filter bp_get_the_profile_field_value to successfully retrieve all signup fields including the extended profile fields. However, bp_get_the_profile_field_edit_value only seems to affect and return the three default signup fields: first name, last name, and username. Neither of these filters is triggered at all when attempting to edit a user profile on the backend (wp-admin/users.php?page=bp-profile-edit.)
Is there another filter I can use for editing values as well as pre-filtering field values in admin? Maybe another idea altogether?
Thanks in advance for any help.
Pat L.
Hey,
there seems to be something not working properly, independent from the theme I am using and with having no plugins activated at all:
When I enter my First and Last Name in the usual User -> Profile Dashboard from WordPress, ervything is fine. Let’s assume I choose a Nickname as well:
First Name: Tom
Last Name: Train
Nickname: TommyIn the Public Name dropdown, I choose ‘Tommy’.
Save it.Now I already have created some additional profile fields, like the gender.
If I change my data there now, from option 1 to option 2, and I save it, and I go back to the first “Profile” tab within the WordPress Dashboard, all my name declarations are gone, except Tommy.Is this a known problem for someone?
Hello guys.
I’m working on creating users based on data from API response and everything is working fine, but I noticed database errors in debug.log, investigated and found it was related to wp_create_user() and bp_core_map_user_registration() conflict. bp_core_map_user_registration() hooked into user_register and is working with xprofile fields and leads to Warning: Undefined property: BP_XProfile_Component::$table_name_data and WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘.
Commenting this action resolved issue.
Any ideas how to fix this? Because 4 WordPress database error for 1 user creation is too much, and one API cycle is creating 100 users on my website..Hi, I need help to find out why “Extended Profile” fields cannot be editted (I think you guys call it “xprofile”).
I can type on the fields normally, but it does not actually save the data after hitting “Update Profile” button.
I’m dealing with this for two days. I already searched online but I cannot find anything useful for this case. I’m afraid I’m out of ideas.
Here’s what I already tried:
The system uses an external mySQL on a VPS server and the WordPress files are hosted in another web server.
I was dealing with lots of “Got an error writing communication packets” found in the error.log of the mysql server. The website seems to work fine despite of that and the lack of extended profile update abillity. This problem seems to be solved after increasing buffer sizes of the mysql server. But I still cannot edit Extended Profile data. It does not work as admin nor as the user.I already disabled every single plugin to check if there is some plugin conflicts.
I already clear the all the caches using LiteSpeed Cache Plugin.
I already increased buffer size on the mysql server and restarted it.The wordpress database seems to be very big and I have a felling that something is wrong with it.
There’s some information on the Chrome Developer Console on the “extended profile” backend:
Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks,utils,moxiejs,plupload,jcrop&ver=6.4.1:5 JQMIGRATE: Migrate is installed, version 3.4.1
hello.min.js?ver=2.4.50:1 Uncaught TypeError: Cannot read properties of null (reading ‘classList’)
at HTMLDocument.e (hello.min.js?ver=2.4.50:1:157)
57superpwa-sw.js?2.2.20:80 SuperPWA: Current request is excluded from cache.PS: SuperPWA is already disabled and deleted from this system.
Hi, I have managed to get a xprofile field (checkbox with three options) to be displayed with a count as tabs next to the “all members” tabs. It’s similar to what @danbp hast done and is working in this Post: 2.2 Member Types β Setting user member types during registration (xProfile)
Now I am stuck with the filtering of the members-list according to the Tabs when I click on one of the tabs.
Maybe someone can help me out here.
Here is the code for creating the tabs so far:
Function for getting the child values of my checkbox for each Member
function get_xprofile_child_fields($parent_field_id) { global $wpdb; $child_fields = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}bp_xprofile_fields WHERE parent_id = %d", $parent_field_id ) ); return $child_fields; }
Function to count how many members have the individual options set
function get_xprofile_field_member_count($field_id, $field_value) { global $wpdb; $count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = %d AND value LIKE %s", $field_id, '%' . $field_value . '%' ) ); return $count; }
Create the tabs with a counter
function custom_xprofile_child_field_directory_tabs() { $parent_field_id = 28; // Replace with your parent xProfile field ID $child_fields = get_xprofile_child_fields($parent_field_id); $tab_values = array(); // Store unique field values if (!empty($child_fields)) { foreach ($child_fields as $child_field) { $field_id = $child_field->parent_id; $field_value = $child_field->name; // Check if the field value is unique if (!in_array($field_value, $tab_values)) { $tab_values[] = $field_value; $child_count = get_xprofile_field_member_count($field_id, $field_value); // Use a combination of field_id and field_value as the id $tab_id = 'members-' . esc_attr('field_' . sanitize_title($field_value)); ?> <li id="<?php echo $tab_id; ?>"> <a href="<?php echo bp_members_directory_permalink(); ?>"><?php printf( '%s <span>%d</span>', esc_html($field_value), $child_count); ?> </a> </li> <?php } } } } add_action('bp_members_directory_member_types','custom_xprofile_child_field_directory_tabs');
Thanks for any help on this π
Hi there
I have a wordpress v6.3.2 with
> BuddyPress v11.3.2
> ProfileBuilder v3.10.1 (in order to have custom fields during registration)
> Elementor ProI have 2 weird behaviour.
1- Non admin users, can see the admin bar with… MY account when they logged in.
Fortunately, they cannot go in my account.
To avoid that, for the moment i installed a plugin : Hide Admin Bar Based on User Roles2- The non admin accounts go directly in the backoffice when they log in (with the connexion button widget of elementor)
Could you please help me?
Best regards
Topic: View files and pictures
Hello, I would like to know how to consult the files and photos sent by members during their registration which I must approve or not, because in the “registration management” category I see all the profile fields filled except that there are no There are no attached files or images that I can open. How to do ? and where is this stored ?
WP version : 6.3.1
PHP version : 8.0
BP version : 11.3.1
Website : couning.frTopic: xprofile field visibility
I need to access some of the Buddypress custom profile fields for display on another screen. I can get the field data using xprofile_get_field_data but I want to honour the visibility settings.
Is there a Buddypress function which will determine if a user is allowed to see the profile field of the displayed user?
Thanks