Search Results for 'profile fields'
-
Search Results
-
Topic: Hidden Fields Are Searchable
Hi.
i have a user with some profile fields set to be viewable by “Only Me”.
However, other users (including anonymous) can search for the field contents and the user will show in the results.
Is this a known bug?
Is there a setting or code i can use to fix this behaviour?
Thanks,
john
Topic: profile field
Hi,
I’m using BuddyPress and the result that I’d like to reach is modifying a field in the user profile page (http://yourSite/members/userName). So far I’ve found bp_after_profile_content and bp_before_profile_content but what I want is affecting one field inside the profile_fields_content. I’m not using any custom field and I can’t find a solution. Does any of you have any idea? I’m in function.php of a child theme and my function so far is this one:function get_member_field_test($data){
$data = bp_get_member_profile_data( ‘field=lname’ );
if ( strlen($data) > 3){
$data = substr($data,0, 3).’…’;
return $data;
}
}add_action(‘bp_before_profile_content’,’get_member_field_test’);thanks in advance
I need a plugin that users can search multiple profile fields at the same time like in a dating site. I have only found one plugin but I can only search one field at a time.
ThanksHi!
There’s an error on BuddyPress profile page:
content.js:3 E_NOTICE Undefined index: Полное имя – /wp-content/plugins/buddypress/bp-core/classes/class-bp-core-user.php:159
#44 /wp-content/plugins/buddypress/bp-core/classes/class-bp-core-user.php:139 – BP_Core_User->populate()As I can gues – it related to xprofile fields. It seems that I removed the field ‘Полное имя’ that was created before on the Users Profile Fields page.
And now php string:
$this->fullname = esc_attr( $this->profile_data[$full_name_field_name][‘field_data’] );
in plugins/buddypress/bp-core/classes/class-bp-core-user.php
causes an error.Could you help me?
WordPress version 5.1
BuddyPress Version: 4.2.0
Site URL: https://test.mc21academy.ru/Hi!
I am using BuddyPress with “SuitePlugins – Advanced XProfile Fields for BuddyPress”, and I created some custom fields. On the registration page I want to check if ex. “idofcertificate” custom field data exist in the database. If exist then throw an error, to only one account to be created with this “idofcertificate”. There is any resolution to do this?
Thank you very much!
A general question, not related to a live site at this point, just something I’m playing with.
With a fresh WordPress + BuddyPress install, under Users > Profile Fields, I’ve created a new field called Last Name.
New registrations are capturing the data correctly and it is stored in wp_bp_xprofile_data.
Is there any easy way of also getting that value into wp_usermeta.last_name as well?
Thanks in advance.
Hi. I hope someone can please help me. I have set up a group of two questions which I am requiring users to enter when registering for my site. I would like to be able to see the values entered by each user on the backend admin Users panel in the form of columns. However, I am unsure of how to accomplish this. I appreciate any assistance which anyone can provide me in regards to this matter.
Hi. I’m looking for one search field (widget) which searchs in couple of profile fields. like name, surname, city, job (and other custom made profile fields) but i don’t want to search all fields (some fields have to be hidden for other users).
BP Member Search would be fine, but i can only search one profile field for each search input.Best Regards
Topic: Display the group id PHP ?
Hello,
This is my problem, I use ACF PRO to create my own fields on my WordPress theme, for the member profiles part everything works with this code:
<?php /** * BuddyPress - Members Settings ( General ) * * @since 3.0.0 * @version 3.1.0 */ acf_form_head (); $author_id = bp_displayed_user_id(); ?><div class="col-lg-6"> <?php acf_form(array( 'id' => 'acf-formA', /* Groupe de champs ID utilisé */ 'field_groups' => array('663'), //CHANGE ID IN LIVE /* Quelle est la function meta utiliser en $ sur ID auteur ? */ 'post_id' => 'user_'.$author_id, /* Quel est le nom sur le bouton du button de sauvegarde */ 'submit_value' => __("SAUVEGARDER", 'acf'), /* Le message que je retourne en cas de réussite sur l'infobox bootstrap */ 'updated_message' => __("Mise à jour réalisée", 'acf'), /* Button de submit de formulaire */ 'html_submit_button' => '<div class="text-center"><input name="updateuser1" type="submit" id="updateuser1" class="btn-style1" value="%s" /></div>', /* Le spinner de chargement */ 'html_submit_spinner' => '<span class="acf-spinner"></span>', 'form' => true, 'return' => '' )); add_action('acf/save_post', 'my_acf_save_post', 20); ?> </div>So far no problem to display then on the member’s profile page the information of the ACF field.
My Problem:
On the other hand, on the Groups part I can’t find how to attach the field to the ID group, that’s what I tried.In my edit-details.php (in group),My field works, I enter test in my acf form
it comes out in the echo “test” but on all the groups, I can’t associate this field with the group id.<?php /** * BP Nouveau Group's edit details template. * * @since 3.0.0 * @version 3.1.0 * @version 4.0.0 Removed 'Notify group members' checkbox in favor of hooked callback. */ acf_form_head (); $group_id = bp_displayed_user_id(); $group = new BP_Groups_Group( $group_id ); ?><?php echo get_field('test_group', 'group_'. $group_id); ?><?php acf_form(array( 'id' => 'acf-formA', /* Groupe de champs ID utilisé */ 'field_groups' => array('714'), //CHANGE ID IN LIVE /* Quelle est la function meta utiliser en $ sur ID auteur ? */ 'post_id' => 'group_'.$group_id, /* Quel est le nom sur le bouton du button de sauvegarde */ 'submit_value' => __("SAUVEGARDER", 'acf'), /* Le message que je retourne en cas de réussite sur l'infobox bootstrap */ 'updated_message' => __("Mise à jour réalisée", 'acf'), /* Button de submit de formulaire */ 'html_submit_button' => '<div class="text-center"><input name="updateuser1" type="submit" id="updateuser1" class="btn-style1" value="%s" /></div>', /* Le spinner de chargement */ 'html_submit_spinner' => '<span class="acf-spinner"></span>', 'form' => true, 'return' => '' )); add_action('acf/save_post', 'my_acf_save_post', 20); ?>Thanks for your help !
demo : https://cryodev.fr/branch/build/alpha/groupes/le-groupe-a-demo/Topic: Hide “Modify” Button
Hello,
Can you help me for hiding the “Modify” button on a member page.
I Don’t want that my members can change their profile by themself because all fields are automaticly feed by an LDAP authentication.
Before updating my Woffice theme, i just have to comment some lines of this file :
/home/wordpress/wp-content/themes/woffice/buddypress/members/single/profile.php// Edit
//case ‘edit’ :
// bp_get_template_part( ‘members/single/profile/edit’ );
// break;
But now i Don’t find where i can hide this button for my suscribers.
Can you try to help me please ?
ThxHello,
I’m looking to create widgets specifically for profile pages. For that I need a way to get the ID/display name of the current profile being viewed.
In plain English: User 1 views their own profile and sees data in widgets relative to their own profile.
User 2 views User 1’s profile and sees data in widgets relative to User 1’s profile.
Example: Custom post types they’ve authored or data from their custom profile fields.For that I need to fetch the ID/Display Name of the currently viewed profile page.
Thanks
I have many custom profile and need hide some from VIEW option profile, can you help me please???
I have a field called “user available”
How do I hide the other fields when I select the option “NO” in the user’s data view?Topic: profile fields in same line
Hi,
I am using BuddyPress v4.1.0 and WordPress v5.0.3I need to two different profile fields in the same line.
For instance I have a field that is called Instrument and other than is Level. In the profile it shows in two different lines
Instrument Guitar
Level Advance
What I need is to display both fields in the same line
Instrument Guitar Level AdvanceIs that possible?
Thank you
Topic: Custom Registration Page
Please help me know how to setup a custom registration page which should ask for the below fields(if there is an option to profile photo field mandatory):
-First and last name
-Email address
-Phone number
-Location (city, state)
-Profile photoWebsite : https://smartprofin.wpengine.com
Thanks!!
Topic: target _blank
Hi
I’m trying open a new tab when clicking on our terms of use – Profile extra registration Field. But when I put in the target=”_blank” on the link and saves it is gone after the save.
The website is this: https://testlearn.blueworkforce.com/register/
Is there another way to add a _blank to the here link instead of linking to the same window. The user information will be gone else when you go back to the registration page.I have found this https://buddypress.org/support/topic/profile-fields-open-url-in-new-tab-_blank/
But couldn’t get it to work.

