Search Results for 'profile fields'
-
Search Results
-
Hi everyone,
I am using buddypress and extra functions were added using plugins and child theme.
Buddypress version 6.3.0
Wordpress version 5.5.3I observed that from frontend user accounts, if they change custom field visibility, the field value is deleted from the database table “bp_xprofile_data”. It happens in several ways, for example changing from adminsonly to public and also from public to adminsonly.
The function used for editing visibility is ” bp_nouveau_xprofile_edit_visibilty() ” in the edit.php file of the child theme.
I would like to know if this is the normal behaviour and if there is a way to maintain the data?
Thanks for your help 🙂
I would like to display profile fields on different parts of the site.
I read that BP comes with this function:
https://codex.buddypress.org/developer/function-examples/bp_profile_field_data/I created a shortcode in my functions.php file:
/* Dislay BP field */ add_shortcode('bp_field_display', 'bp_profile_field_data');Then went and added this shortcode to one of my pages:
[bp_field_display field="Register As"]I expected that it would show me the value of the field I have on my profile called Register As. I didn’t specify a user ID so it should return mine since I’m logged in.
Instead, I got blank, nothing displayed at all.
Any idea what I’m missing? I’m open to other suggestions but thought that making this shortcode wouild be the most direct and straight forward way.
Topic: Hide certain Profile Fields
I want to hide certain Profile Fields in the detailview of my profiles.
I did it with the custom css and it workded:.field_bestplaces {display: none;}
.field_country {display: none;}But I want to hide these only in the profile detail view, and anywhere else NOT.
Now the user cannot edit those 2 fields anymore cause they are hidden.
How can I change and avoid that?Topic: Visibility?
How can I set the visibility?
The fields are greyed-out, it’s not possible to select privacy settings.
The users shall control who can view their profiles.
Topic: Profile update notification
Howdy,
I have a member site with X profile fields, where users can up- og downgrade their membership of my site via a multiple choice X profile field. But I also have some fields with less important info like “favorite color” or links to social profiles.
When a user updates his/her profile, it shows in the activity field, but I can’t see what has been changed.
I would like to be notified as admin, when a member changes a specific X profile field, preferably with info like “User Z changed X profile field from A to B “.
Is this possible?
Thanks,
Lars
Project Details :
– WordPress version : 5.5.3
– BuddyPress version : 6.3.0
– Website Link : https://microfarmap.dev-local.com/
– Other plugins I use : Advanced Custom Fields PRO, Advanced Custom Fields: JSON, bbPress, bbPress – Moderation Tools, BuddyForm Premium, BuddyForm Advanced Custom Fields, BuddyForm Hook Fields, BuddoForm Members Premium, BuddyPress Username Changer, Custom Post Type UI, LoginPress, Paid Memberships Pro, Progress Map, List & Filter, User Role Editor …Hello,
I have been updating a WordPress website that was made by others, I might lack some information.BuddyPress works like a charm except for a few features :
– From the user profile, we can send friendship requests. As a new user, I sent a friendship request to my admin account. I did receive the notification on my admin profile, but the Friends tab says there is no friend requests pending. It just doesn’t display theme on my customized Understrap theme.
– Switching to WordPress Twenty Twenty One theme does solve the issues. Switching to Understrap parent theme does switch the issue. There seems to be a problem with my custom theme.
Under this custom there, there is a /buddypress/ directory with template pages and loops. The buddypress/members/single/friends/requests-loop.php file was not modified, it’s the default one. That’s where I checked first.
I also checked in the plugin files directly, under plugins/buddypress/bp-friends/bp-friends-functions.php but did not find a clue.
After some research, I found out that only users that have an active ‘ Paid Memberships Pro ‘ subscription can send friend requests, or atleast their friend requests appear.
I also installed the ” BuddyPress Integration ” plugin from Paid Memberships Pro website, in which there is an option to allow non-registered users to send friend requests, but it did not solve the issue.
Please if you need more details or even an access, do not mind asking.
Hi everyone,
I dont know why, some of the fields by “buddyforms” get the user on his profile page as meta, so they can click on that value and the page will try to search the whole website. But not every field is meta.Do you have any idea how to get meta for every or specific profile field? or how to remove meta function from the those fields which are already meta?
I dont know, which version is good for me now, with meta or without, this is why I am asking you for both options.
I Hope, somebody can help me with this problem.
Thank you 🙂
Hi, I’d like to update what a user has inserted into an xprofile field before it is saved to the database using sanitize_key. I think I’m really close. Would really appreciate your help! With the current code, I get a 503 server error when I save a new value for the relevant fields.
In my functions.php:
function expertise_tag_functions_before_save() {
global $bp;
foreach ($_REQUEST as $field => $value) {
if ($field == ‘field_24’ || $field == ‘field_26’ || $field == ‘field_27’) {
$value = sanitize_key( $value );
$field_label = str_replace(‘field_’, ”, $field);
xprofile_set_field_data($field_label, $user_id, $value);
}}
};add_action( ‘xprofile_data_before_save’, ‘expertise_tag_functions_before_save’, 10);
Hello,
I have buddyforms and Buddypress and the extended profile.
When I want to modify the profile on front-end :
– if I am admin ==> I can modify all fields
– If am the member ==> I have a blank page on modifySo, I would like to know how to display the fields when the member connect please ?
Is this link to user role ? To an another extension ?
Topic: Data Export
Hi Everyone,
Under user profiles, if they want to export there data how can I filter/hide listing all plugins from being listed please? I would like to to show only specific fields even though it still exports the other data I just don’t want it listing all the plugins associated with he site.Thanks
Rockyuk
Hello,
I try since 2 days to customize informations on the members pages ==> lilisoumise.fr/membrs
I find a topic said that I must go on members-loop.php
I add a custom field on the extended profile : Statut. I try to display on the member pages to add where the file said to me. but it doesn’t work. Do you know why ?
<?php /** * Fires inside the display of a directory member item. * * @since 1.1.0 */ do_action( 'bp_directory_members_item' ); ?> <?php /*** * If you want to show specific profile fields here you can, * but it'll add an extra query for each member in the loop * (only one regardless of the number of fields you show): * bp_member_profile_data( 'Custom field name' ); */ bp_member_profile_data( 'Statut' ); ?>Hello,
i have this error when i want to edit extended profiles fields. Impossible to know what is blocking.
Sorry, you do not have permission to access this page.
Thx for your help
—
Bonjour,j’ai cette erreur quand je veux modifier les champs de profils étendus. Impossible de savoir ce qui bloque.
Hello,
I have the buddy form and the buddypress.
On the buddyform, I add checkboxes and valuesWhen I validate my form, the checkboxes are not saved on the profile on the correspondinf field.
I have no problem with the other fields.
I want to add shortcode to xprofile fields, but when I edit the field, the shortcode in it will be rendered. How to see the original shortcode when edit it, how to solve that problem? Thanks!
Hi there,
Is there a description for the Member Types function somewhere?
Is it possible to create this as a profile field so that a user can select the member type when registering?Thank you & best regards
AdrianQuestion en UK et FR :
Hi,
Users will create a profile and indicate that they are part of a company.
I could create as many fields as needed for their user profile as well as their Company …
Ok, but I’m going to have quite a few people working for the same company.
When a 1st user creates his file and that of his (of) company.
How do you ensure that the following can associate the data of this company with their profile?I would really like there to be a company tab with the data of a company that the user is chosen …
An idea ?
Thank you !!—
Bonjour,
Des utilisateurs vont créer un profil et indiqué qu’ils font partis d’une entreprise.
Je pourrais créer autant de champ qu’il faut pour leur profile utilisateur ainsi qu’à leur Entreprise…
Ok, mais je vais avoir pas mal de personne travaillant pour une même entreprise.
Quand un 1èr utilisateur créée sa fiche et celle de son (d’une) entreprise.
Comment faire pour que le suivant puisse associer les données de cette entreprise à son profil ?J’aimerai vraiment qu’il y ait un tab entreprise avec les données d’une entreprise que l’utilisateur est choisie…
Une idée ?
Merci à vous !
Topic: Columns for Options
I have a site, and one of my custom profile fields is a checkbox list. There are at least 30 options, so how can I make those options in columns on the register page, otherwise it just goes on forever. Thanks!
Topic: Customize search result
I have created extended profile fields for my members, that I use for filtering search results. Each member has a role that can be either: ‘Mentor’, ‘Mentee’, ‘Mentor and Mentee’, ‘Not in the mentor program’.
If the role ‘Mentor’ or ‘Mentee’ is selected the members with the role ‘Mentor and Mentee’ should also be shown, is this possible?
Buddypress Version 6.3.0
Wordpress Version 5.5.3Link to websites search page: https://danwise.org/members/womens-network/
Hi there,
similarly to this old thread with unfortunately no reply:
https://buddypress.org/support/topic/adding-a-tag-field-to-extended-profile/I want to extend profiles with custom fields / tags.
E.g., let’s say a profile-field “Skills”, where someone can enter Tags from a predefined superset list of Skills, e.g. “Cooking”, “Coding”, “Sewing”, etc…I want to be able to filter profiles later on, because I’m building a local community where ppl can contribute with their skills and one should be able to able to find a lawyer, in case there’s one in the community.
Is there a plugin to do so?
Thanks!