Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 351 through 375 (of 22,660 total)
  • Author
    Search Results
  • #333110

    In reply to: Help with labels

    shemakeswebsites
    Participant

    HI Varun,

    Thank you for your response but it didn’t work. 🙁

    This is what I tried to use:

    /**
     * Translates specific strings in BuddyPress to new values.
     * This function hooks into the 'gettext' filter provided by WordPress, allowing for the modification
     * of text before it is displayed or used on the site. It specifically targets text within the 'buddypress' domain,
     * making it suitable for customizing or translating BuddyPress strings without altering language files.
     *
     * @param string $translated_text The text after being translated.
     * @param string $text The text before being translated.
     * @param string $domain The domain of the text being translated. This function specifically targets 'buddypress'.
     * @return string The modified or translated text.
     */
    add_filter( 'gettext', 'wbcom_translate_buddypress_strings', 20, 3 );
    
    function wbcom_translate_buddypress_strings( $translated_text, $text, $domain ) {
        // Target only BuddyPress strings to avoid affecting other texts.
        if ( 'buddypress' === $domain ) {
            switch ( $translated_text ) {
                // Example: Translate "Friends" to "Connections".
                case 'Groups':
                    $translated_text = 'Packs';
                    break;
    
                // Add more strings to translate as needed, following the pattern above.
            }
        }
    
        return $translated_text;
    }
    #333107

    In reply to: Help with labels

    Varun Dubey
    Participant

    You can use the WordPress gettext filter.

    This filter allows you to intercept and modify text before it’s displayed on the page. Here’s an example of how you can use it to change a specific string in BuddyPress:

    /**
     * Translates specific strings in BuddyPress to new values.
     * This function hooks into the 'gettext' filter provided by WordPress, allowing for the modification
     * of text before it is displayed or used on the site. It specifically targets text within the 'buddypress' domain,
     * making it suitable for customizing or translating BuddyPress strings without altering language files.
     *
     * @param string $translated_text The text after being translated.
     * @param string $text The text before being translated.
     * @param string $domain The domain of the text being translated. This function specifically targets 'buddypress'.
     * @return string The modified or translated text.
     */
    add_filter( 'gettext', 'wbcom_translate_buddypress_strings', 20, 3 );
    
    function wbcom_translate_buddypress_strings( $translated_text, $text, $domain ) {
        // Target only BuddyPress strings to avoid affecting other texts.
        if ( 'buddypress' === $domain ) {
            switch ( $translated_text ) {
                // Example: Translate "Friends" to "Connections".
                case 'Friends':
                    $translated_text = 'Connections';
                    break;
    
                // Add more strings to translate as needed, following the pattern above.
            }
        }
    
        return $translated_text;
    }

    Inside the switch statement, you can add cases for each specific string you wish to translate or modify. Replace ‘Friends’ with the BuddyPress string you want to change, and ‘Connections’ with the desired new text.

    locker17
    Participant

    Hey, since version 12 BP pages are not accessible through WordPress pages foulder.
    Does anyone know how I am able to load them with the Elementor editor after this change?

    #333073
    Ed Beck
    Participant

    I’d like to throw into the mix ActivityPub. With WordPress being able to support ActivityPub through the ActivityPlug Plugin from Automattic it would be interesting to understand how BuddyPress could interact with other servers and communities built on Mastodon and other ActivityPub compliant servers.

    It would be interesting to see a home feed and have the ability to follow others on different servers.

    #333045
    Mathieu Viet
    Moderator

    Hi @gomle

    Thanks a lot for your feedback. About Notifications, I believe using the Notification Web API can improve your “pulling the user to the site” need.

    Hi @oumz99

    I agree we should look into import/export. To comply with GDPR, users can export the data they created on the site from their profile settings. But a more global tool would be great to easily develop BuddyPress themes or move community generated content to another site.
    See & contribute to it there: https://buddypress.trac.wordpress.org/ticket/1058

    Hi @bclaim

    So do I! I totally agree with you. We need to rethink the Private Messages component/feature with the goal:
    1. to make it a chat like system for member(s) to member(s) discussions as well as between group members discussions. What are channels in Slack could be groups in BuddyPress Private Messages. I’m looking carefully to the Block Editor live collaboration system as it may help us to reach this goal.
    2. to move the Community wide notice feature outside of it.


    @priyam1234

    It should be the case. So it’s not an evolution to me but more a bug. I’ll look into it.

    @everyone:
    I’ll make sure to talk about it with other members of the BP Core Developers team during our next development meeting.

    Here’s my 2 main wishes for 14.0.0:
    – Review our different registration flows and allow Administrators to easily disable these BuddyPress registration flows.
    – Build new BP Blocks along with a new BP Blocks only Theme to start using the WP Site Editor to customize our community area.

    pxmedia
    Participant

    Dear Team,

    I trust this message finds you well. I am encountering a compatibility issue between BuddyPress and my website, particularly on pages built using Divi (Ally theme). While other sections of the website function smoothly, the BuddyPress-integrated pages are experiencing disruptions, notably at the URL: https://kiero.tempurl.host/activity/.

    Here are the relevant details:

    WordPress Version: 6.4.2
    BuddyPress Version: 12.2.0
    Paid Memberships Pro – bbPress Add On Version: 1.7.4
    RegistrationMagic Version: 5.2.5.9
    WooCommerce Version: 8.5.2
    Divi – Ally Child ThemeVersion: 1.5

    I’ve tried troubleshooting independently, but the issue persists. It’s imperative to resolve this promptly to ensure seamless user interactions and community features.

    Your expertise in addressing this specific compatibility issue between BuddyPress and Divi (Ally theme) would be greatly appreciated. Any guidance, updates, or troubleshooting steps you can provide are invaluable.

    Thank you sincerely for your swift attention and assistance.

    Best regards,

    pxmedia
    Participant

    Dear Team,

    I trust this message finds you well. I am encountering a compatibility issue between BuddyPress and my website, particularly on pages built using Divi (Ally theme). While other sections of the website function smoothly, the BuddyPress-integrated pages are experiencing disruptions, notably at the URL: https://kiero.tempurl.host/activity/.

    Here are the relevant details:

    • WordPress Version: 6.4.2
    • BuddyPress Version: 12.2.0
    • Paid Memberships Pro – bbPress Add On Version: 1.7.4
    • RegistrationMagic Version: 5.2.5.9
    • WooCommerce Version: 8.5.2

    I’ve tried troubleshooting independently, but the issue persists. It’s imperative to resolve this promptly to ensure seamless user interactions and community features.

    Your expertise in addressing this specific compatibility issue between BuddyPress and Divi (Ally theme) would be greatly appreciated. Any guidance, updates, or troubleshooting steps you can provide are invaluable.

    Thank you sincerely for your swift attention and assistance.

    Best regards,

    #333034
    arielcrawford
    Participant

    Thanks for the response! I installed classic but no change.
    No change when I de-activate the ‘Buddy Press for Learndash’ by BuddyBoss plugin. (https://wordpress.org/plugins/buddypress-learndash/)
    I checked with LearnDash and this is still the plugin they advise to use – even though it hasn’t been updated in 4 years. We may just abandon the functionality – it doesn’t offer much value to us if it’s not connected to the online course. I suspect the BuddyBoss plugin is the issue.

    #333026
    Varun Dubey
    Participant

    @rodrigolzd, try this: https://wordpress.org/plugins/bp-activity-filter. You can disable a certain type of activity posting. This feature will only be effective on new activities, and will not remove existing ones. For example, when someone adds you as a friend or registers on the community.

    yatesa01
    Participant

    There seems to be a bug in the expected behaviour of the sorting of friendship lists and friendship request lists. When a user visits their friendship list or request list, even though the drop down sort menu shows that it is set to “alphabetical” the actual sorting is “last active.”

    To switch it to “Alphabetical” the user must first change it to “last active” before changing it back to “alphabetical.” But this is only a temporary fix–after a reload of the page, it goes back to sorting to “last active” regardless of what the drop down menu says it is doing.

    I don’t know if this has been an issue for a while, or if I’m just noticing it. I have BuddyPress 12.2.0 installed on WordPress 6.4.2, along with the BuddyPress Classic plugin activated. I am using BuddyPress Nouveau with the Astra theme.

    Today while trying to solve a different issue, I used the BuddyPress tools, “Repair total members count.” and “Repair member “last activity” data” which then reset everyone last activity status to “Not Recently Active.” I thought everything was fine, but then within an hour or two we started getting reports from our members about them not being able to see their friends list or find friendship requests.

    As I said, it is possible that this has been the case for a while, but since it was a newer install, everyone who was requesting or accepting friendship connections was by definition recently active. Now that their last active status has been reset, though, it has become quite apparent and is causing a great deal of confusion as people try to find their friends or can’t figure out why they aren’t seeing their friendship requests.

    rodrigolzd
    Participant

    Is there a way to set the activity feed page to show only up to so many word and thumbnais? right now everything i post is shown 100%, the stream is messy.

    TIA,

    Latest version of wordpress and buddypress, using generatepress as a theme.

    #333016
    Varun Dubey
    Participant

    @jerrythemouse https://wordpress.org/plugins/mailpoet-paid-memberships-pro-add-on works fine with Mailpoet 3.

    There is no specific limitation from Paid Membership Pro I have seen upto so far where it limits you to fetch registered user email and sync it to any 3rd party integration.

    #333008
    Varun Dubey
    Participant
    #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.

    #332985
    Gomle
    Participant

    I am glad to hear that a v.14 is planned!
    For 10 years I’ve tried to build something with buddypress, but I have never been able to launch a completed project, as I haven’t had the skills to make it as functional as it needed to be.

    I am one of those guys that have used wordpress + various other members plugin + freelancer to make what I want.

    Every community is different – so is the ones I’ve tried to make, and more often than not I haven’t needed 60% of the functionality coming out of the box in buddypress. But there are always something missing, at least for what I wanted to use Buddypress for.

    In version 14 I hope to see more functionality (presented in a clear way for the users) towards user-interacting: Easy to use notification system for 100% of interactions between users.

    All notifications is so, so important – as this is the way to bring members back. “Lila has sent you a message, click here to see”, “You got a new friend request”, “Someone replied to your topic”.. This brings people back, helping to grow the community!

    So: Live popups and emails + bell notifications for:
    Private messages, new bbpress replies / new topics, bbpress mentions, commenting, like buttons, added, follows, friend requests, accepted friend request, rejected friend requests, rating of content, e.g posts, forum posts etc.

    And the entire notification system must be easy to use for both members and the admins!
    Not all admins have coding skills. We just need an easy way to implement a bell in the header, which nicely presents new notifications. Small things like that is what I’ve been looking for.

    And I have often found that 50% of it is working as I hoped, but then the other 50% is just not there. Forcing me to go to Freelancer, and from the developers over there, getting told: “You don’t need such a heavy tool like buddypress to accomplish this. Let me fix it for you just using wordpress and UsersWP”.

    #332981
    Mathieu Viet
    Moderator

    Hi @arielcrawford

    Sorry to read about your issue. When you say you updated, if the BuddyPress version you were using before the update was < 12.0, then have you tried to install and activate BP Classic?

    BP Classic

    Have you tried to deactivate the Learndash integration you mentioned to see if these profile pages were back once done ?

    If none of the above worked, can you try to add define( 'BP_LOAD_DEPRECATED', true ); into your WP-config.php file to see if some of your plugins are still using deprecated functions (we only load back to 2 previous versions of BuddyPress otherwise).

    Best to be sure to narrow the possible causes is to deactivate every plugin but BuddyPress and to activate a WP bundled theme and then reactivate everything one by one to see what plugin/theme is conflicting with BuddyPress.

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

    #332972
    Varun Dubey
    Participant

    @eluyawi

    You can use the following code snippet to create a new tab to display at BuddyPress Profile.

    // Function to add a custom tab for Membership Details in the BuddyPress profile
    function wbcom_rcp_buddypress_add_membership_tab() {
        global $bp;
    
        // Define a new navigation item for the BuddyPress profile menu
        bp_core_new_nav_item(array(
            'name' => __('Membership', 'textdomain'), // The name of the tab
            'slug' => 'membership', // The slug for the tab, used in the URL
            'screen_function' => 'wbcom_rcp_buddypress_membership_screen', // The function that will load when the tab is clicked
            'position' => 50, // Position of the tab in the profile navigation
            'parent_url' => bp_loggedin_user_domain() . '/membership/', // The parent URL for this sub-navigation
            'parent_slug' => $bp->profile->slug, // The slug of the parent navigation item
            'default_subnav_slug' => 'membership' // Default sub-navigation slug
        ));
    }
    
    // Function to handle the display of the Membership Details tab content
    function wbcom_rcp_buddypress_membership_screen() {
        // Add the title and content to the Membership tab using actions
        add_action('bp_template_title', 'wbcom_rcp_buddypress_membership_screen_title');
        add_action('bp_template_content', 'wbcom_rcp_buddypress_membership_screen_content');
        // Load the BuddyPress plugin template for displaying the tab content
        bp_core_load_template(apply_filters('bp_core_template_plugin', 'members/single/plugins'));
    }
    
    // Function to set the title of the Membership Details tab
    function wbcom_rcp_buddypress_membership_screen_title() {
        echo 'Membership Details'; // Title displayed on the Membership tab
    }
    
    // Function to display the content of the Membership Details tab
    function wbcom_rcp_buddypress_membership_screen_content() {
        // Use the shortcode [subscription_details] to display membership information
        echo do_shortcode('[subscription_details]');
    }
    
    // Hook the function to add the Membership tab into the BuddyPress setup navigation action
    add_action('bp_setup_nav', 'wbcom_rcp_buddypress_add_membership_tab');
    

    You can use a plugin to add code snippets to your WordPress website using a plugin like “Code Snippets.” This plugin allows you to add custom PHP code snippets to your site without editing your theme’s functions.php file.

    #332971

    In reply to: Profile picture issue

    Varun Dubey
    Participant

    @fourbfb you can try to debug with the following steps.

    1- Temporarily deactivate other plugins to rule out conflicts, as another plugin might interfere with BuddyPress’s upload functionality.
    2- Switch to a default WordPress theme like Twenty Twenty to check if the issue is theme-related.
    3- Verify PHP settings such as upload_max_filesize and post_max_size are adequate in your php.ini file.
    4- Use the browser’s developer console (F12) to check for JavaScript errors that might block the upload process.
    5- Ensure that the profile photo and group icon uploads are enabled in BuddyPress settings.

    #332955
    eluyawi
    Participant

    Hi there,
    I have installed BuddyPress and have been testing it, and I have an error.

    When I edit my Name and save the changes. At the moment the changes do not appear, but I have checked in the Users section of WordPress that they have been saved.

    How can I make the changes appear once you hit the save button? can you help me?

    Thans

    #332948
    martenw
    Participant

    Warning in BP 12.2.0

    [25-Jan-2024 02:32:13 UTC] PHP Warning: Attempt to read property “activity” on null in /var/www/eufort-sokolniki/wordpress/current/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 643
    [25-Jan-2024 02:32:13 UTC] PHP Warning: Attempt to read property “id” on null in /var/www/eufort-sokolniki/wordpress/current/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 643

    #332919
    John Simpson
    Participant

    Wordpress v6.4.2
    Buddypress v12.1.1
    BP Classic v1.2.0

    Page Builder by SiteOrigin
    Theme SiteOrigin Corp

    #332917
    teslavolt
    Participant

    Hi @imath,

    I have a similar / related issue. I’m using Restrict Content Pro’s registration page with the latest Buddypress version (12.1.1) on a staging site and my registration page broke. It told me “Member registration is currently not allowed”, even if I disable the buddypress plugin.

    I tried the gist you posted https://gist.github.com/imath/c5c34feb5d3c9b3070f7a11bc339f103 in my child theme’s functions.php but the registration page still does not work. Any ideas?

    *Update* – I read through the earlier post and found the first workaround – going to Buddypress Settings -> URLs, but did not see any option to change the register slug. I had to briefly turn on wordpress general settings “Anyone can register” so that more options would appear in “URLs”. I was able to set the slug to something else like ‘sign-in’ and that seemed to allow my RCP registration to function again.

    Just to check, I disabled “Anyone can register”. Seems like the BP slug change stuck and my RCP registration is operational.

    #332904
    hossin0241
    Participant

    @imath
    Thanks for your help
    That note was very helpful.

    According to the image below, the Date Selector field is related to choosing the date of birth and…

    1

    Screenshot 2024 01 22 221904

    This is the part I was looking for, which is apparently not compatible with WordPress’ core historiography system and cannot be used with Shamsi date in Persian language (after using the Shamsi-Jalali plugin).

Viewing 25 results - 351 through 375 (of 22,660 total)
Skip to toolbar