Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 226 through 250 (of 73,981 total)
  • Author
    Search Results
  • emaralive
    Moderator

    BuddyPress 14.3.3 is available which resolves this topic.

    Edited BuddyPress version to 14.3.3, since v14.3.1 contained a regression.

    emaralive
    Moderator

    BuddyPress 14.3.3 is available which resolves this topic.

    Edited link to reflect the 14.3.3 release.

    #335740
    Mike Witt
    Participant

    I’m using that same code in functions.php and it’s working for me.

    I’m using the BuddyPress Legacy templates.
    So if you’re using BuddyPress Nouveau perhaps there’s a different way to do it?

    I also have the BuddyPress Classic plugin installed, for whatever that’s worth.

    You might ask on the BuddyDev forum. They’re usually good with things like this:
    https://buddydev.com/support/forums/

    unbroken1
    Participant

    On my BuddyPress Members Directory Card, I want to disable the Cover Image, while the Cover Image should appear on the Member’s Single Page.

    I used this Snippet:

    
    // For members :
    add_filter( 'bp_is_profile_cover_image_active', '__return_false' );

    Which I got from here:

    BuddyPress 2.4.0 will introduce Cover Images for members & groups!

    But it didn’t work.

    Anyone know how I can effectively disable the Cover Photo from the Members Directory Card?

    Regards.

    #335728
    stephunique
    Participant

    I also want to edit the registration page and customise the messages on it and the way it looks, so I tried this too. What I did was, I created a child theme in its own separate folder called buddyx-child. Since the steps say to

    `Paste it into your theme folder in wp-content/themes/your-theme/buddypress/members/register.php.

    I created a folder called “buddypress” in the child theme folder, then in that folder, created a folder called “members”, and copied and pasted the “register.php” file there and made my edits there. I typed some test messages using the paragraph HTML tag <p> and the message shows on the registration page, BUT the visual layout of the page changes. I don’t know why that is when it’s supposed to inherit the CSS from the parent theme. If I move the “register.php” file out of the buddypress/members/ directory and put it directly in my “your-theme” (ie my child theme) directory, then it doesn’t work at all and the child theme just inherits the original registration page.

    Anyone with any ideas?

    stephunique
    Participant

    For context, I am not a developer.

    I created a child theme manually for BuddyX and the child theme works. However, the child theme does not have one of those preview picture that shows what the theme looks like in the Appearances -> Themes page and I wanted to add one.

    Version details: BuddyX Version: 4.7.5 with Buddypress Version 14.2.1 and WordPress Version 6.7.1.

    I know that in the buddyx folder in the hosting back end (wp-content -> themes -> buddyx), there is an image file called “screenshot.png”. This is a PNG file and it is what the original theme preview picture is. So I assumed that if I add an image file to my buddyx-child folder, it will also be the preview picture.

    To test this, first I copied that original “screenshot.png” to the child theme folder and purged the cache in my wordpress dashboard and sure enough, it became the preview picture of the child theme.

    Now that I know it works, I downloaded this file, deleted it from the child theme folder, and edited it by opening it in a image editor and adding the word “CHILD” in large letters across the picture, saved it first as “screenshot.jpg” then also “screenshot.png”, with the intention of using that so I can tell the child theme and the parent theme apart visually. When I uploaded either of them (the new jpg and the png, one at a time and deleting the one I don’t need from the folder) the picture nonetheless showed the orignal “screenshot.png” without the word “CHILD” on it.

    As an experiment, I then uploaded a random jpg and renamed it in my hosting back end, to “screenshot.jpg” without changing the extension. When I purged the cache in my wordpress dashboard, the preview picture for the child theme showed this new jpg instead of the old original “screenshot.png”. (Nothing shows if you don’t rename the file to “screenshot”, it must be “screenshot”). So it seems the image can be jpg or png as long as it is called “screenshot”.

    So then I deleted this random jpg, and I tried to upload the new “screenshot.png” with the word “CHILD” on it again, but the same thing happened. This is really strange since I deleted the original “screenshot.png” and cleared my cache but it still seems to remember what it was before.

    What is even stranger is that when I upload ANY jpg file then rename it to “screenshot” and keep the extension as “jpg”, the picture that shows as the preview picture in my wordpress dashboard is the random jpg I uploaded earlier. This happens no matter what jpg file I upload.

    Stranger still: If I upload a jpg file and change the name to “screenshot” as well as change the extension to “.png”, then the image that shows as the preview picture is the original “screenshot.png” from the parent theme. Same if I upload any PNG file.

    Anyone have any ideas?

    stephunique
    Participant

    Hi all
    I have disabled the activity function for my buddypress site, so usually, there is no mention of this feature on the site.

    However, when a person uploads media to a gallery, they see the message “You have 1 video not published to actvity.” (or some other media type). Underneath this is a dropdown menu that has “bulk action” as one of the options, then an “apply” button. This makes it look like you can bulk publish a bunch of media to the activity page, but I’ve disabled this completely, so it looks both confusing and unprofessional.

    Is there a way to get rid of this message?

    #335713
    emaralive
    Moderator

    My apologies for the inconvenience, the BP Team is aware of this issue (see Trac ticket #9247) and the tentative plan is to deploy a minor release (14.3.0) for a fix. Unfortunately, at this moment, I don’t have an ETA.

    emaralive
    Moderator

    Hi,

    My apologies for the inconvenience, the BP Team is aware of this issue (see Trac ticket #9247) and the tentative plan is to deploy a minor release (14.3.0) for a fix. Unfortunately, at this moment, I don’t have an ETA.

    ben
    Participant

    Also running into this. Seems that the use of __ in the constructor the cause.
    wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php:78

    #335708
    stephunique
    Participant

    I figured out my issue with it not displaying and wanted to put my solution here in case others have the same issue.

    I have the Conditional Profile Fields for BuddyPress plugin by BuddyDev activated. For some reason, for this field only, I had to change the visibility condition to “”Show” current field If ” and saved that. It will revert back to “”NA” current field If” but it made the biography field show in the user’s profile when you go to view it as a site visitor.

    Regarding the edits not saving, maybe you need to purge the cache?

    Antipole
    Participant

    Hi… since updating to PHP8.3 I am seeing the warning
    Warning: Attempt to read property "id" on null in /home/[...]/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-template.php on line 558

    Any idea what’s up, please?

    WP 6.7
    BP 14.2.1
    PHP 8.3

    cedric9001
    Participant

    Hi,

    [21-Nov-2024 07:34:39 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the buddypress domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /wp-includes/functions.php on line 6114

    Can you please fix this problem?
    Thank you

    #335693
    agtwork
    Participant

    I’m starting a website that’s dedicated to building a community around tabletop roleplaying games. The intent is to create a full community of people in the state of Arizona where we can become a
    one-stop-shop for every aspect of the hobby.

    Among our primary goals is finding a way to make it easy for people to find each other and
    make games happen. It’s the hobby’s biggest hurdle, and I think it’s one that’s easily addressed with the right tools in place. The idea is to let community members create detailed profiles and post ads for their tabletop games. From there, a matchmaking system sorts games and users and puts them together using an algorithm. I picture something like OKCupid’s matching algorithm—but for TTRPGs and groups of people.

    Based on what I’m reading on your site, BuddyPress offers a lot of the side benefits I’d want included in a tool like this. Obviously you’re not designed to be a matchmaking service, so I’m just here wondering what it would take to build something like this on top of your platform.

    Let me explain the process of what I’m picturing:

    1. Gamemasters (GM) post their game advertisement with full details about it using a form. (game system, style, player preferences, etc.).
    2. Players build profiles specifying their availability, preferred games, playstyle and more through a matching form.
    3. The system compares the game ads with player profiles, generating a weighted score to rank potential matches.
    4. Based on a threshold score, matches are suggested to GMs and players.
    5. Once there’s a match, the player or GM can reach out via the site’s chat tools/Discord {integrated together would be great too).
    6. After chatting, they accept or reject the invite.
    7. When both sides accept, the system fills the next available slot in the GM’s game,
    8. This repeats until all the slots are full or the GM closes the ad.
    9. The system then opens communication between all matched players using the site’s chat.

    We’re already running an analog version of this on Discord with a couple hundred users. It’s been pretty successful considering our small scale and limited capabilities—we’ve helped hundreds of people find games over the last year.

    Now, we want to take it to the next level with a fully integrated website as a hub for everything TTRPG in the state. A store, blog, resource directory, and a ton of other features. This tool will just be a big part of it.

    So, I’m no expert on websites (last one I built was in 2001), so I’m planning to have this site professionally developed. I really don’t know what’s possible these days and it’s intimidating to try and learn it all.

    So with this vision in mind, do you think a tool like BuddyPress can be customized to do something like this?

    #335679
    emaralive
    Moderator

    Hi @miednr,

    I’m not sure why you are having difficulties with a BuddyPress installation on a multisite whereby blog posts are not showing up in the Activity stream when configured to do such.

    At the moment, I’m not able to duplicate your situation because blog posts are showing up in my Activity stream in a multisite installation. As can be seen in the following screenshot:

    Since blog posts work for me and not for you, we need to figure out the difference(s) in our installations and what I have as the basics are (running on a LAN):

    • WordPress 6.7 – multisite with subdirectories
    • BuddyPress 14.2.1 – network activated on secondary site
    • All BuddyPress components activated
    • Default BuddyPress options plus “Post Comments” enabled
    • TwentyEleven theme used on secondary site
    • Pretty permalinks used on secondary site

    Additionally, the installation guide I used is “Case 2” from the following document:

    BuddyPress Activation Guide for WordPress Multisite

    Maybe if we start on some common ground, we should eventually figure out what may be going astray with your installation, well at least that would be the theory.

    smelendez
    Participant

    For sure! Thank you for your reply.

    Select2 offers a customisable selection box with support for search, tagging, remote datasets, infinite scrolling and many other widely used options. You can see some examples of how it works here in their documentation: Select2 Documentation

    The reason for using Select2 is to turn multi-selection options into tags, i.e. instead of having a list with all the options and do Ctrl+Click to select multiple options, I will have a search bar to filter options by typing and when selecting them, they will be added as tags. Here you can see an example: Select2 example

    I am using the BuddyPress Xprofile Custom Field Types plugin as it enables direct integration with Select2, but this is optional, as the Select2 documentation explains how to implement a multi-select field and make it compatible with Select2.

    In any case, I have tried both ways and neither worked for me. The result should be similar to the one shown in my previous reply but I have the problem I showed in previous screenshots.

    #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!

Viewing 25 results - 226 through 250 (of 73,981 total)
Skip to toolbar