Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'profile fields'

Viewing 25 results - 1 through 25 (of 5,698 total)
  • Author
    Search Results
  • daveccampbell
    Participant

    is there a way to have that function executed for every user ensuring that the profile visibility fields are set properly after a new user is imported by a 3rd party tool?

    i just don’t have much wp-programming experience – but have full access to the back-end, so could run a php program from the command-line if necessary.

    i could also come up with a list of the user_ids to run that function against, and of course would be logged in with admin access all the while.

    my alternative is to save the Extended Profile manually in the UI for 950+ users. not fun.

    daveccampbell
    Participant

    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.

    #333741
    epgb101
    Participant

    This may seem an odd request but I’m sure others will have this issue if they choose to run membership mode.

    I badly need a way to add a ‘Account viewed but needs further verification’ type of note/flag to new signup accounts that I need to more carefully review (where I’ve checked profile data entered in signup fields but not approved or activated) and filter these out in Manage new Signups.

    Not being able to do this is making my request membership site impossible to manage, as I can’t easily find new signups amongst the one I’ve looked at but need further verification.

    I now have a massive list of unapproved signup pages to scroll through – and – keep re-looking at signups I already checked. But this is not a complaint – I love everything you do with BP πŸ™‚

    Thanks

    holoholo
    Participant

    I figured this out. I needed to create fields first via Users > Profile field menu. Then they show up under the text View Profile. And in the Edit tab, then the fields are there to edit. Super easy, I just didn’t know it was there.

    bigbossmaher
    Participant

    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 fields

    the url
    https:[site2]/members/[username]/profile/edit/group/1/ us giving error

    Warning: 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 work

    any ideas ?

    jensiboy1977
    Participant

    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.

    #333390
    darkdan
    Participant

    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

    kappei
    Participant

    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.0

    Can someone help me with a brief Guide on how to achieve this and where to add codes eventually ?

    Thanks in advance

    #332992
    eluyawi
    Participant

    Hi Varun and everyone, I just found out where to create xprofile fields, It’s very interesting, but the problem still occurs.

    I mean, I have created two xprofile files (biography and website).

    Then, when I edit my Name or Bio or website and save the changes, the changes do not appear, but I have checked that in the WordPress Users section, they have been saved. I have no idea how to fix this problem, What can I do? I imagine that this problem have happened to many people.

    #332978
    eluyawi
    Participant

    Thanks Varun,

    I have installed BuddyPress ver 12.2.0

    I have checked this article of xProfile fields https://bpdevel.wordpress.com/tag/wordpress/
    but I don’t understand because I use the version 12.2.0.

    Do I have to install any plugin?.

    https://postimg.cc/gallery/1yRLtqk (attached screenshot of what I have.

    #332973
    Varun Dubey
    Participant

    @eluyawi

    Possible caching issue.

    You can check these docs, WP Fields can be used as xProfile fields https://bpdevel.wordpress.com/tag/wordpress/

    #332896
    Mathieu Viet
    Moderator

    Hi @hossin0241

    Thanks a lot for sharing your expectations. We actually built a bridge between our xProfile component and regular WP user fields in version 8.0. Here’s a developer note we wrote about it, I believe it can help you reach your need.

    #332855
    Varun Dubey
    Participant

    You can add new profile fields from the backend settings for user profiles like age, location, and bio https://codex.buddypress.org/administrator-guide/extended-profiles/

    For media support, you can use https://wordpress.org/plugins/bp-attachments/ plugin.

    palpal1
    Participant

    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.

    #332532
    philsalt123
    Participant

    Certainly! If you’re looking to optimize member profiles on a BuddyPress-powered website for search engines (SEO), you might want to consider the following response:

    Hello there,

    Optimizing member profiles on BuddyPress for SEO is a crucial step to enhance visibility on search engines. Here are some tips to ensure your member profiles are search engine friendly:

    Complete and Relevant Profile Information:
    Encourage members to fill out their profiles thoroughly. Include key information, such as a brief bio, interests, and any relevant links. Search engines often prioritize pages with comprehensive content.

    SEO-Friendly Usernames and Display Names:
    Suggest to members that they choose usernames and display names that are relevant to their identity or interests. This can contribute to better search engine visibility.

    Enable SEO-friendly Permalinks:
    Check your BuddyPress settings and ensure that your permalinks are set up in a way that includes relevant keywords. This helps search engines understand the content of the profile pages.

    Utilize BuddyPress Custom Fields:
    BuddyPress allows you to add custom fields to member profiles. Use these fields to gather additional information that might be relevant for search engine optimization. This could include skills, locations, or any other pertinent details.

    Encourage User-Generated Content:
    User-generated content, such as forum posts or activity updates, can contribute to the overall SEO of the website. Encourage members to engage with the community and share valuable content.

    Implement OpenGraph and Twitter Card Tags:
    Add OpenGraph and Twitter Card meta tags to member profile pages. This enhances how the profile appears when shared on social media platforms, indirectly impacting SEO.

    Mobile Optimization:
    Ensure that member profiles are optimized for mobile devices. Google considers mobile-friendliness as a ranking factor, and a responsive design is crucial for SEO.

    Regularly Update BuddyPress:
    Keep your BuddyPress installation up-to-date. Updates often include improvements and bug fixes that can indirectly impact SEO.

    Remember, SEO is an ongoing process, and monitoring analytics can provide insights into what is working and what can be improved.

    #332504
    rajibjoshi
    Participant

    Hi,
    I’ve built a custom user profile page using JetEngine. Is there a way to redirect visitors who click the “Profile” button on a BuddyPress profile page to my custom page, displaying their profile information?

    or please guide me as to how I can access buddypress all Meta_fields from Elementor ? Because i want to design my own profile page layout.

    Thanks in Advance

    Rajib

    #332449

    In reply to: Viewing other profiles

    alexhales123
    Participant

    To enable users to view other profiles on BuddyPress:

    1. **Install and Activate BuddyPress:**
    Make sure you have installed and activated the BuddyPress plugin on your WordPress site.

    2. **Check Privacy Settings:**
    Ensure that users’ profile privacy settings allow their profiles to be viewed by others. Users can control this setting in their profile settings.

    3. **Activate Extended Profiles:**
    Enable the “Extended Profiles” component in the BuddyPress settings to allow additional fields and information on user profiles.

    4. **Verify Theme Compatibility:**
    Confirm that your WordPress theme is compatible with BuddyPress to ensure proper display of profile information.

    5. **Check User Roles:**
    Verify that users attempting to view profiles have the necessary capabilities. By default, registered users should be able to view other registered users’ profiles.

    6. **Use BuddyPress Widgets/Shortcodes:**
    Utilize BuddyPress widgets and shortcodes to display member directories and user lists. Refer to the BuddyPress documentation for guidance on implementing these features.

    7. **Review BuddyPress Documentation:**
    Consult the official BuddyPress documentation for any specific settings or features related to profile viewing.

    By following these steps, you should enable users to view other profiles seamlessly on your BuddyPress-enabled WordPress site.

    #332238
    bastibln
    Participant

    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: Tommy

    In 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?

    vasilkovsky
    Participant

    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..

    #331934
    lucasfpaixao
    Participant

    UPDATE

    After a lot of time trying to thoubleshoot this problem, I noticed a new error message after hit Update Profile:

    “Invalid ‘name of the field’ Please enter a valid URL”

    So, I went to that field and cleared. Now I can edit any other fields.

    But, the update process is very slow. There is a LOT of delay after hitting the Update Profile button.
    It fells like the database is having some issues I cannot identify.

    What can I do to improve the mySQL database? I have a felling it is very big due past activity and leftovers trying other plugins.

    #331933
    lucasfpaixao
    Participant

    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.

    #331844
    bentamin
    Participant

    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 πŸ™‚

    #331678
    lemiran
    Participant

    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 Pro

    I 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 Roles

    2- 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

    #331495
    harrissa158
    Participant

    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.fr

    #331487
    twig
    Participant

    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

Viewing 25 results - 1 through 25 (of 5,698 total)
Skip to toolbar