Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 451 through 475 (of 69,209 total)
  • Author
    Search Results
  • sam0090
    Participant

    You can use the BuddyPress Anonymous Plugin to allow users to select different avatars and nicknames for public groups, ensuring anonymity. This plugin lets users upload new avatars or choose from a provided list, and set a unique nickname for group participation.

    #334559
    WPabmm
    Participant

    Thank you , that worked for removing @username from the profile page.

    However, @username is still visible within the member’s posts (witin the user’s info box).


    @username
    is also visible within the url of the members profile.

    I just find buddypress disclosing members’ @username to be bad practice from a security point of view and denies members’ proper anonymity.

    #334553
    Mohammad Imran
    Participant

    @aboutm2 please paste this code snippet and check it as per your requirement.

    
    // Hide user name from BuddyPress profile
    function hide_user_name_from_profile() {
        if ( bp_is_active('xprofile') ) {
           ?>
    		<style>
    			.user-nicename{
    				display:none;
    			}
    		</style>
    	<?php
        }
    }
    add_action( 'wp', 'hide_user_name_from_profile');
    
    barricade
    Participant

    Hi guys,

    I’m new to using BuddyPress and have set up a course on my website using learnDash.

    When I go to Member Profile, the courses section just shows all the courses in a list format. I want to change the design to display them as Cards. Can you guide me through how to do this?

    Please assist.

    #334537

    In reply to: BuddyPress Emails

    Renato Alves
    Moderator

    Only if you want to. But it all depends where you have BuddyPress hosted. If you can get notifications when resetting a password, you can get send/recieve emails from BuddyPress too.

    #334536
    Renato Alves
    Moderator

    @hoopkonsulting As the error suggests, you are not sending a required field as part of the signup payload.

    See the documentation.

    #334534
    Koka boka
    Participant

    Hello @imath, I have reviewed everything once again and concluded that the problem was with the BuddyPress Default Data plugin that I use to add demo content. As you mentioned earlier, if you create a group manually, the join and leave buttons in that group work correctly. Meanwhile, groups created using the BuddyPress Default Data plugin give an error – “Error joining this group.” Also, I reverted to version 12.5.1, where all groups can be joined and left without problems. Therefore, I conclude that the BuddyPress Default Data plugin is not compatible with the latest version.

    #334532
    Mathieu Viet
    Moderator

    I also tested with Playground and it’s behaving as expected for me: clicking on the join button from the groups directory is adding the member to the group.

    Here’s the link to test:
    https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/buddypress/buddypress/master/tests/blueprints/14-0-0-RC1.json

    #334531
    Mathieu Viet
    Moderator

    Hi @koka777

    Thanks for your feedback. I just tested and wasn’t able to reproduce.

    Theme: Twenty Twenty-Four
    BP Template pack: Nouveau & Legacy (tested with both template packs)
    No other plugins than BuddyPress
    No custom code into wp-content/mu-plugins or wp-content/plugins/bp-custom.php

    I created a public group being logged as an Admin.
    I created a subscriber, logged in as this subscriber, went to the Groups directory, clicked on the join button.
    Result: the join button turned into a leave button and I was successfully added as a member of the group.
    I created a group being a subscriber, logged out then logged in as an Admin. I was also able to join a group from the Groups directory.

    Can you explain just like I did above, the steps you are doing to get the “Error joining this group.” message?

    Please make sure to deactivate any plugins, custom code, and activate a WordPress default theme like Twenty Twenty-Four.

    #334530
    Koka boka
    Participant

    Hello, thank you for your work. I just started testing BuddyPress 14.0.0-RC1 To immediately clarify and rule out any issues related to my theme, I checked everything again using the Twenty Twenty-Four theme with all third-party plugins disabled. In fact, in version 14.0.0-RC1, it is impossible to join groups from the group listing page; an error occurs – “Error joining this group.” From the group page, pressing the join button elicits no response.

    locker17
    Participant

    This used to work but not anymore. Now it throws errors/warnings.

    Suppressing rich text on xprofile text area

    Use wp bio field instead, its coming without the editor.

    #334502
    Mathieu Viet
    Moderator

    Hi @wackao

    Not yet, this is something we plan to work on: https://buddypress.trac.wordpress.org/ticket/1058

    kukiko
    Participant

    WP 6.5.5
    Buddypress 12.5.1

    If I go to this page: https://snvt.nl/professioneel-vertaler-of-tolk-inhuren/
    And I do a search.

    Then I put for instance a first name and a second name of an existing member in the search area, it will give no results.

    If I search for ‘Margriet’, I will get 1 result
    If I search for ‘Hunter’, I will get 1 result too.
    If I search for ‘Margriet Hunter’, I will get no results.

    What can I do to make the search Margriet OR Hunter?

    Thank you
    Saludo
    Rianne

    #334488
    locker17
    Participant

    Anybody able to come up with a solution for this?

    The 8 year old solution of danpb in this post to remove the rich text editor throws errors:
    https://buddypress.org/support/topic/suppressing-rich-text-on-xprofile-text-area/#post-247640

    Can you dev guys fix this in your next update? Otherwise using this field opens the profile page for site crashers.

    #334487
    wackao
    Participant

    This is an app on buddypress you can try : https://wpappointify.com/tutorly/playground/app/

    locker17
    Participant

    I need to limit the entry of characters in a multiline textarea at the user profile settings (frontend). There are several questions about this in this forum with no real solution. Most of them are several years old.

    As far as I see is buddypress using the tinyMCe editor together with this field.
    On the tinyMCe blog they provide a solution to “How to limit characters and set a maxlength with TinyMCE”

    How can I use that in buddypress? I would need to use the wordcount plugin and edit the tini.init script.
    If I can’t implement that in buddypress is there any other solution for this issue?

    #334477
    darylozzz12
    Participant

    We have a site that have BuddyPress and we installed the BP Classic plugin to keep the changes we had to our site after the version 12 update. On each of our Members pages, there is a Profile option and on that Profile option it is linked to /profile, but if you click on it, it will redirect back to that current member page. Same goes to Profile > View, it also have /profile/public link but it will also redirect to the current page when clicked.

    This is a concern for us since we have Ahrefs audit on our sites and they highlighted this issue every time. Do we have an option to change it or maybe remove the links?

    Mohammad Imran
    Participant

    @shubhuofficial The settings tab is also not visible if the user is viewing another user’s profile. This is the default functionality in BuddyPress.
    https://prnt.sc/UKnd4pO7_sjY

    #334458

    In reply to: Custom Development

    MattDotNet
    Participant

    Nothing has changed. This is the code I’ve tried to use.

    function my_custom_buddypress_function() {
        var_dump(__FUNCTION__);
        if ( ! function_exists('xprofile_get_field_data') ) {
            echo '<pre>BuddyPress xprofile component has not been loaded yet.</pre>';
        } else {
            echo '<pre>';
            var_dump(xprofile_get_field_data('Targa', wp_get_current_user()->ID));
            echo '</pre>';
        }
        exit;
    }
    
    add_action('bp_init', 'my_custom_buddypress_function', 20);

    And this is the output I received:

    string(29) “my_custom_buddypress_function”
    BuddyPress xprofile component has not been loaded yet.

    BuddyPress 12.5.0 is installed and active.

    #334456
    Abhishek Saini
    Participant

    @Kokiri
    Please change this function name “custom_bp_avatar_activity” and keep it unique and please remember this also that this will create a new activity So, you will get two activity for single profile uploads.

    // Add action to show new avatar in activity stream
    function bp_generate_custom_avatar_activity($user_id, $args) {
    // Get the user data
    $user = get_userdata($user_id);
    $user_link = bp_core_get_userlink($user_id);
    
    // Create the activity entry
    bp_activity_add(array(
    ‘user_id’ => $user_id,
    ‘action’ => sprintf(__(‘ % s has updated their avatar newly.’, ‘buddypress’), $user_link),
    ‘component’ => ‘profile’,
    ‘type’ => ‘new_avatar’,
    ‘item_id’ => $user_id,
    ));
    }
    add_action(‘bp_members_avatar_uploaded’, ‘bp_generate_custom_avatar_activity’, 10, 2);
    
    #334450
    Upen Singh
    Participant
    #334448

    In reply to: Custom Development

    Varun Dubey
    Participant

    First, ensure that BuddyPress is loaded and initialized before your plugin tries to call its functions. Since BuddyPress hooks its initialization to WordPress bp_init action, which typically fires on wp or init at a priority of 10, you should ensure your hook runs after this or directly on bp_init with a lower priority (higher number).

    You can try to debug like this.

    function my_custom_buddypress_function() {
        if ( ! function_exists('xprofile_get_field_data') ) {
            error_log('BuddyPress xprofile component has not been loaded yet.');
        } else {
            // Your code here
        }
    }
    
    add_action('bp_init', 'my_custom_buddypress_function', 20);
    #334447

    In reply to: Custom Development

    MattDotNet
    Participant

    It keeps throwing the same error: The function does not exist. I’m already developing a plugin and I’m inside a init callback.

    Hasn’t BP been auto-loaded yet at this stage?

    I also tried to recursively auto-load every single file contained in the buddypress/ folder. But this is not enough as I encounter other dependency errors. Therefore there must be a function/method/class to invoke in order to properly set up the system.

    #334446

    In reply to: Custom Development

    Varun Dubey
    Participant

    Ensure the BuddyPress plugin is active and add custom code in child theme functions.php or a custom plugin or using the code snippet plugin. xprofile_get_field_data is a valid function https://hooks.wbcomdesigns.com/reference/functions/xprofile_get_field_data/

    #334443

    In reply to: Custom Development

    MattDotNet
    Participant

    Thanks for your reply. The problem is that I’m getting the following error message:

    Fatal error: Uncaught Error: Call to undefined function xprofile_get_field_data()

    I’ve also tried to use the following code to auto-load the BuddyPress dependencies:
    require_once WP_PLUGIN_DIR . '/buddypress/bp-loader.php';

    What’s the correct way to auto-boot BuddyPress?

Viewing 25 results - 451 through 475 (of 69,209 total)
Skip to toolbar