Search Results for 'profile fields'
-
Search Results
-
Topic: Security and privacy issue
I got a client who has a site with BuddyPress installed, it has about 2500 users registered, and who made the website created a field with sensible information with “Profile fields” and left its visibility as “Public”, now everyone has access to those informations. Is there a way to change every registered user’s visibility in that field? I will consider even SQL queries, or any database info about it. Thanks a lot!
Hi,
We are using Buddypress for a users based group similar to an academic system- i.e. students, teachers, principal and based on these different user groups we want to create profile fields which are visible to the respective user group only.
Is it possible in Buddypress? if yes, how to implement/customize Buddypress for our usage.
Thank you
Topic: How to remove fields
Hello,
I want to remove fields such as visibilty settings tab and under profile “view profile” tab
How can i do this?
Thank you for your time !
Topic: Pre populate Profile fields
Hi, I have Bbpress X profile fields in my site. I want to prepopulate some of the fields such as Email, First name, Last name from the users data. How can I achieve that?
Thank you.Can you help-me with this problem, please?
This is in portuguese
This is the link to the print
https://photos.app.goo.gl/7g6kLiWrC9kdy28bA“There was an error saving the group. Try again.”
“You have no groups.”I’m trying to create profile field, and I do not have any profile fields
Hi all!
I’m creating a site with profile fields which can have up to 40000 options. I already loaded the options into the db via csv file. Now, the site loads very slowly and is basically unusable. Once loaded, everything works fine, including the profile search. How can I prevend Buddypress from loading all options for this field by default?
I’m using select2 multiselect fields, which can load small chunks of data via AJAX/PHP. I now just need to prevend loading the field when the site loads. I’m grateful for any hint!
Hello! Thank you!! Now I am working with another server and now if I see the registration page without problems
What I want to do is the following: I want on my page that the moment a new user registers, it is entered in the fields that in the simple selection questions: A and B (which are profile field of Buddypress), if the person has more than 50% of questions A or questions B, this user will be of a specific type or group (for example: Group A or Group B)
I was checking online and I think there is little content regarding this
Thank you!!
For Buddypress user profiles, we create user profiles in WordPress by syncing with Active Directory. This creates new WP user profiles and also syncs data over to BP XProfile fields.
In configuring this process, I’ve learned that BP Visibility rules for XProfile fields are not set when user profiles are created via import from Active Directory; they are only set when an existing profile is manually edited and updated. Is there a way to fix or work around this, to get the Field Visibility rules applied to user profiles regardless of when/how the profiles are created (via import, etc.)?
Hi,
I have created a lot of additional profile fields for the members on my site and set up a members page with a search, but I was wondering if there were a way to create a multi-step search using the info from profile fields?
So first step could e.g. be Male/female, the next step could be Mentor/Mentee, etc. and then after finishing the multistep search only the members that meet the criteria would be shown?
This is the page: http://danwise.democrunch.dk/members/womens-network/
Hope you can help thanks!
Hi,
I have a community site build on buddypress. So far, all is going good but now my client wants extended profile field (Surname of user) to be shown in place of default first and last name of user. How can i do this ? Please helpHello,
I have a site that no longer displays member profiles.
I need to quickly migrate to a new site by exporting all buddypress members with xprofile fields.
I found a paid pugin, but too expensive for an association or old plugins.
Would you have a script to do this migration?
RegardsHi ,
I’m sure this is a simple fix but I’ve spent too much time on this issue that I’m ready to un install BuddyPress.
When a user logs in and select “View profile”, the page is bank. I does not display the user profile. When the selects edits it displays all fields correctly. Please note that I’ve integrated BuddyPress with s2 members. Basically, the user is allowed to edit profile but not view only…weird.
I can modify the code if only I know when it need to be done.
ThanksHi,
I want a tab in user profile where the user is able to fill some fields.I used “BuddyPress Xprofile Custom Field Types” to create that fields. But that fields appears in register page, so the registration is with many extra fields (awful).
I don’t want these fields to appear when an user wants to create an account, i want these extra fields i created appearing only in user profile, and then the user can fill there instead registration form.
Is this possible? If so, what i have to do?
Thanks so much in advance!
Hi
Is there a way (plugin or code) to limit the length of xprofile fields to a specific amount of characters?
Or better, what’s above + like a left character countdown.Thanks
I read that post before where they posted a link with a possible solution, but now the link it’s down…Anyone pls tell me a solution…
I have been hours searching for a solution…
https://buddypress.org/support/topic/how-to-limit-length-of-a-xprofile-field/
I have used this code here:
https://codex.buddypress.org/developer/loops-reference/the-members-loop/
and I want to filter users by certain criteria. The example for the bp-custom page is:
function my_custom_ids( $field_name, $field_value = '' ) { if ( empty( $field_name ) ) return ''; global $wpdb; $field_id = xprofile_get_field_id_from_name( $field_name ); if ( !empty( $field_id ) ) $query = "SELECT user_id FROM " . $wpdb->prefix . "bp_xprofile_data WHERE field_id = " . $field_id; else return ''; if ( $field_value != '' ) $query .= " AND value LIKE '%" . $field_value . "%'"; /* LIKE is slow. If you're sure the value has not been serialized, you can do this: $query .= " AND value = '" . $field_value . "'"; */ $custom_ids = $wpdb->get_col( $query ); if ( !empty( $custom_ids ) ) { // convert the array to a csv string $custom_ids_str = 'include=' . implode(",", $custom_ids); return $custom_ids_str; } else return ''; }Example Usage: Get all members who have filled out the xprofile field ‘dogs’ and selected the value ‘poodles’.
<?php if ( bp_has_members( my_custom_ids( 'dogs', 'poodles' ) ) ) : ?>How do I add more conditions to the dogs/poodles. What If I also want ‘birds’, ‘parrot’ as well as ‘dogs’, ‘poodles’ ?
I’ve added a category option to activity updates using the following code:
// Add Cat to Buddypress Activity Updates function my_custom_activity_meta_stuff( $content, $user_id, $activity_id ) { bp_activity_update_meta( $activity_id, 'bpcat', $_POST['bpcat'] ); } add_action( 'bp_activity_posted_update', 'my_custom_activity_meta_stuff', 10, 3 ); function add_bpcat_form_func(){ global $wpdb; $result = $wpdb->get_results ( "SELECT * FROM wp_bp_xprofile_fields WHERE id='2'" ); foreach ( $result as $print ) { ;?> <div class="bpcat <?php echo $print->id;?>"> In Search Of: <select name="bpcat" id="bpcat"> <option value="" disabled selected>Optional</option> <?php $options = $wpdb->get_results ( "SELECT * FROM wp_bp_xprofile_fields WHERE parent_id='$print->id'" ); foreach ( $options as $option ) { ;?> <option class="<?php echo $option->name;?>" name ="field_<?php echo $print->id;?>_match_any[]"value="<?php echo $option->name;?>"><?php echo $option->name;?></option> <?php } ;?> </select> </div> <?php } } ; ?> <?php add_action('bp_activity_post_form_options', 'add_bpcat_form_func');What I’d like now is to be able to either filter the sitewide activity feed by category or include the activity metas in what is search by /common/search/search-form.php