Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 226 through 250 (of 69,209 total)
  • Author
    Search Results
  • #335671
    wpuser
    Participant

    I want to mark this topic as resolved.

    Just for reference:
    The resolution was to enable WordPress vs. Buddypress synchronisation (in the Settings > Buddypress settings).

    #335667
    wpuser
    Participant

    You’ve got mail! πŸ™‚ thanks in advance.

    Yes I am using BuddyX PRo (but again, when switching to any standard theme – the issue is the same)
    And BuddyPress (not BuddyBoss)

    #335666
    GyziieDK
    Participant

    And you use the BuddyX theme with BuddyPress and not the BuddyBoss Platform right?

    You can send me an email here: support@spiritualskill.com

    This reply will be deleted once you reach out, in order to prevent spam mails in the future. πŸ™‚

    #335663
    GyziieDK
    Participant

    I think I understand what your issue if yes, but still sounds wierd to me lol.

    Anyways, you could try add this snippet code into a WPcode PHP snippet and see if it will do the trick for you by setting up default sorting to be by display name.

    // Force BuddyPress member directory to always be sorted by display name
    function custom_buddypress_member_sorting( $args ) {
        // Check if the current page is the members directory
        if ( bp_is_members_directory() ) {
            // Set the 'orderby' to 'display_name' and 'order' to 'ASC'
            $args['orderby'] = 'display_name';
            $args['order'] = 'ASC';  // You can change to 'DESC' for descending order
        }
        
        return $args;
    }
    add_filter( 'bp_after_has_members_parse_args', 'custom_buddypress_member_sorting' );

    Let me know if that might solve your issue. πŸ™‚

    #335662
    wpuser
    Participant

    Hi there,

    I had the issue with posting a reply yesterday too. Weird.
    That is why I split my message in 2 and than I could post it.

    I was able to read your share txt and the next replies and also view that images.

    Anyway… I am willing (if you are willing to put the time in it) to give you access to my staging site, but I rather not post the link in public, to avoid traffic from Google and such to that staging website. But there does not seem to be a way to share the link with you in private. Do you have any suggestions?

    To further explain my situation: I did not make any customizations to my buddypress or xprofile plugin that have anything to do with the profile fields. From the clean install, the “Name” field is already there from the start, when installing the buddypress plugin.

    I am not adding users via the admin section, I am letting them signup via the website register form. So following this process, the situation is as described before, where the “Name” will be filled in by the user as part of the registration process. The Name field is mandatory, set by Buddypress, which I can not influence nor rename.

    I did nothing to influence the Name field, other than translating it like I explained before.
    The Name is operating as a seperate field, that does not seem to link to username by default. And that is also not what I want. Because it would lead to the username being shown twice on a profile page, which is ridicilous of course. Since you can not block or hide the Name field, it will be there. Also, the Name field is always on the register form, and the field is mandatory (which you cannot change), so people CAN and probably will fill in something different than their username. Most likely their first name. Which is what happened on my site anyway, people fill in their regular first name. Only a handfull will choose like a second username/nickname for the field value. Anyway, in 99% process of the time, the Name field is populated with a different value than the username as a result of the website registration process (which is not changed, it is by default like that, since installing buddypress).

    I use the BuddyX theme. But the issue is not related to the theme, because using a default WordPress theme (like twenty two or so), will have the same result.

    So, it poses as a problem, if the usernames show up on the userlist, but the sorting will go on the “Name” field, which is not identical to the username. This will lead to a really undesired situation, where the sorting does not seem to work properly on the frontend, because “invisible” the userlist is sorted on the Name field.

    And also, this is new. Before, this was not the case. It did NOT sort on the “Name” field. And I’m oblivious why it does now, what is the intent by changing this.

    So, to address the situation, and to avoid having duplicate usernames on the profile page, I would rather stick with people using the Name field as their first name or something like that.

    I would like to sort on display name. Is there a way to do that? Do you have a suggestion?

    #335661
    GyziieDK
    Participant

    If you want the “Name” (display name) to always be set by default to “username”, you can add this code into your functions.php (or preferable using the Snippet Code plugin WPCode – with a PHP snippet code).

    This should setup the default display name to always show the “username” when creating new user profiles.

    // Function to set the display name to the username for new users or profile updates
    function bp_sync_display_name_with_username($user_id) {
        // Get the user data
        $user_info = get_userdata($user_id);
        
        if ($user_info) {
            // Get the username
            $username = $user_info->user_login;
    
            // Update display_name to the username
            wp_update_user(array(
                'ID' => $user_id,
                'display_name' => $username
            ));
        }
    }
    
    // Hook the function to user registration and profile update actions
    add_action('user_register', 'bp_sync_display_name_with_username');
    add_action('profile_update', 'bp_sync_display_name_with_username');

    Also, you can add another function to sort by alphabetical by default if this continues to be causing you issues.

    // Function to set default BuddyPress member sorting to alphabetical
    function bp_default_members_sorting_alphabetical($args) {
        // Check if the 'type' is not set, set it to 'alphabetical'
        if (empty($args['type'])) {
            $args['type'] = 'alphabetical';
        }
        return $args;
    }
    
    // Apply the filter to the member query arguments
    add_filter('bp_after_has_members_parse_args', 'bp_default_members_sorting_alphabetical');

    Let me know if that works for you.

    #335650
    GyziieDK
    Participant

    I just wanted to thank @dreampixel for the support they are giving here on the site. It’s very refreshing. Usually no help whatsoever is offered by any of the people behind Buddypress. None.

    Hello @thinlizzie πŸ™‚

    I’m by no means an expert or anything lol, but I’ve been playing around with WordPress and numerous different large setups for the past 15+ years. I normally reply to people if I got the time or ideas on what could be done.

    That is not my experience that there is no support in here. Please remember that BuddyPress is open source and the users in here (mods included) are not obligated to help/offer support all the time. Most people in here have other projects going on and/or might not be able to help. Also, a lot of the time the same issues are highlighted again and again instead of people searching the forums for answers first.

    That being said, I also appreciate when people try to help me troubleshooting, since it can be quite frustrating when things doesn’t work, and you have people depending on it.

    #335647
    locker17
    Participant

    Hello,
    I have a follow up question to this old thread:
    https://buddypress.org/support/topic/how-to-get-notification-count-code/

    chatty24 asked “Could that also happen in real time (without refreshing the page)?”.

    I am having the same question. How can I ajaxify “bp_notifications_get_unread_notification_count( $user_id)”?

    Thanks for any help!

    #335637
    sootsnoot
    Participant

    Yes. I guess my silly little problem is that I don’t know how to edit the main site menu. I’m using the Divi theme, which by default adds the pages I create to the menu. I need to find the setting to manually add items to that menu. Though, IMHO, such an item really belongs in the BuddyPress admin bar dropdown, under the Friends item…

    Thanks for clarifying the actual problem!

    #335634
    thinlizzie
    Participant

    I just wanted to thank @dreampixel for the support they are giving here on the site. It’s very refreshing. Usually no help whatsoever is offered by any of the people behind Buddypress. None.

    #335633
    sootsnoot
    Participant

    Well, yes, it exists in the sense that you can enter the url, and see the desired content. The questioon is how to make the page prominent. If I create a page, then I can put a link on it to go to the /members url. But I wanted to create a page (listed among the pages on my site) that would display that content. I actually tried using the Insert Page plugin, but I couldn’t get it to work for me. Guess I could dig into iframes a bit. It just seems strange that after all these years, BuddyPress doesn’t make it very easy for users to find the other members of a site to whom they could make friends or invite to join a group…

    #335630
    GyziieDK
    Participant

    Also please note that the name field marked in the Users > Profile Fields with “(Primary)” IS the display name itself. This should be the field users use upon registration of their user – and this is also the field the BuddyPress Member Directory uses to sort content Alphabetical.

    #335629
    GyziieDK
    Participant

    Hello again πŸ™‚

    This might start to make sense then!

    First, when you translate something within the code itself (not using a translation plugin and po/mo file) it will for the most part be overridden whenever you update your WordPress / plugins that are translated. So, this might be why it doesn’t work now after the update.

    I personally use a combination of LocoTranslate and TranslatePress. This is because BuddyPress activity is updated the way it is and for that reason LocoTranslate itself is not able to translate the dynamic content (like when activity updates – without the page doing so) – this TranslatePress supports.

    So, for the BuddyPress content that can’t be translated correctly using LocoTranslate, I use the TranslatePress for those. Both plugins are free to use, and it doesn’t require you to purchase any expensive addons.

    It’s important that you pick the right placement for your translation-files (custom, author, system). If they’re not in the right place the translation might not show up on the front-end. Also make sure you setup the settings within the LocoTranslate plugin not to override your translated files upon updating WordPress: Loco Translate > Settings > File system access > Modification of installed files & Editing of POT (template) files must be set to Disallow.

    For the display name, this should be the default value it sorts by. Mine by default sorts by display name. When you go to Users > Profile Fields – you can edit the different settings from within there with the names and what is mandatory/not mandatory.

    For the sorting part (or other features in the future) if it still causes issues, maybe a snippet code using a plugin like WPCode Lite might be a better solution rather than going into the code and edit it from there. In this way it will not get affected in most cases when you update WordPress, plugins and theme.

    Maybe some of this can help you – if not – then feel free to keep me updated. πŸ™‚

    #335626
    wpuser
    Participant

    On second thought… this is within the Buddypress coding, so something that must have changed for WordPress 6.7 is not interacting correclty anymore with Buddypress.

    The “Alphabetical” sorting of the user list is sorting on the “Name” base field of bp_xprofile_data table (field 1). This field I had renamed to “Naam” (which is Dutch for Name). This is hardcoded in the database and not avaibable as translation string. After switching back to “Name”, everything worked again. Before, I was allowed to use switch the name of the field. How do you translate this? I now have used a filter function in my functions.php, but it shouldn’t be necessary.

    Furthermore I discovered the memberlist is sorting on that particular “Name” field, instead of the “display name” I want to use. Any idea’s how to get the userlist to sort on display name instead of “Name” ? Why do we have a mandatory “Name” field anyway?

    pro104
    Participant

    Using WordPress 6.7
    Installed as a root directory
    Wordpress is working fine
    Using BuddyPress 14.2.1
    No other BuddyPress plugins installed
    Using Themify theme Peak, no mods
    No custom functions
    Using bbPress 2.6.11
    Hosted by ‘Omnipresents’ is in association with LiquidNet Ltd.
    Server running Rocky Linux 8
    I have not overloaded any BuddyPress template files
    Template Pack BuddyPress Nouveau

    I am trying to set up a forum. Everything is working so far except for recent post, comments, archives, categories are not appearing. Ive tried looking through the forum and looking around in Buddypress with no luck. Any ideas?

    #335620
    wpuser
    Participant

    I managed to locate the issue. After the wordpress update, it was not allowing my translations for the xprofile fields anymore. For some reason it has to be English now, it is no longer allowing it to be Dutch. I’ll flag this with the WordPress development team.

    I’ll close the topic as the issue is likely not because of Buddypress but because of WordPress.

    How can I resolve./close this topic?

    miednr
    Participant

    Hello,

    I am using WordPress and BuddyPress in latest version – in a multisite installation.

    My problem is: WordPress post updates do not show in activity stream in none of my sites. They even are not visible in activity database in the dashboard. Other status updates do work fine. I surely enabled the option to have WordPress core updates in the settings.

    I tried disabling all other plugins. Issue still persists.

    Does BuddyPress has a problem with multisite? Do you have any idea?

    Thanks!

    #335616
    GyziieDK
    Participant

    Sounds like compatibility issue within the theme then. Have you tried it with a BuddyPress supported theme?

    #335609
    GyziieDK
    Participant

    Please do me a favor, go to your latest buddypress and wordpress version and try to use the userlist/friendlist, I am 1000% sure you are having the same issues.

    Sorry, but works fine for me – even with latest update to BuddyPress Version 14.2.1.

    I even run a pretty complex site with a lot of software that needs to be compatible – including custom code setups and so on. Still works πŸ™‚

    #335608
    GyziieDK
    Participant

    Hello again πŸ™‚

    The user you’re setting up, is this a legit setup with a mail (where you can activate the account)?. If not, then maybe give this a try. Normally users must activate their accounts from a mail they receive upon registration before they’re visible on the directory.

    Also, what settings have you setup under the following:
    Settings > BuddyPress > Options

    This might make it easier for me to see if anything in there is the culprit. πŸ™‚

    #335607
    wpuser
    Participant

    I installed a blank wordpress on a test environment, clean sheet.
    I installed a clean, blank install of buddypress.
    I use the lastest update of twenty seven theme.

    I have only 1 user, which is me (admin) of the test site, and I show up.
    I added a second user, via the admin, that did not show up.
    I added this user as a friend, this user show up in “my friends” but not in userlist.
    Than I did database repair (fix total members) and fix friendship total.
    Than the second user show up.

    But when trying to sort on “Alphabetical”, I get “no members found”

    All my plugins have been de-activated except for Buddypress.

    I tell you, something is wrong. Please believe me.

    This is the screenshot: https://ibb.co/W6drH8p

    I am not using caching of any kind. It is a clean install. No plugins or other things running. Only my theme and buddypress.

    Please do me a favor, go to your latest buddypress and wordpress version and try to use the userlist/friendlist, I am 1000% sure you are having the same issues.

    #335605
    Philippe Roussel
    Participant

    Hi,

    WordPress version: 6.7
    BuddyPress version: 14.2.1
    https://onehomeplanet.com
    The issue still happens with Twenty Twenty-Five theme

    Though BP says that changes are saved, they are only saved under BP Edit tab and in WordPress user profile, but not under BP View tab (which is the content visitors will see…).

    Thanks for your help,

    Philippe

    Upen Singh
    Participant

    Hi
    Verify BuddyPress Compatibility with Your Theme or try to other theme Like BuddyX Free

    #335601
    Upen Singh
    Participant

    Hi,
    This plugin will add an extended feature to BuddyPress. It will use Shortcode for Listing Activity Streams, Members directory, and Groups directory on any post/page within the website.

    Wbcom Designs – Shortcodes & Elementor Widgets For BuddyPress

    Try FREE BuddyPress Theme: BuddyX – Offers unique layouts with clean code and easy-to-customize options, giving you a whole new way to visualize BuddyPress.

    BuddyX

    #335600
    kaseroskabrones
    Participant

    Hi! I want to customize how my buddypress looks like, but I can’t find any plugin. The only one that is available is the buddybuilder for elementor.

    Is there any plugin for spectra or astra themes? Thank you.

Viewing 25 results - 226 through 250 (of 69,209 total)
Skip to toolbar