Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 1,001 through 1,025 (of 94,559 total)
  • Author
    Search Results
  • #332995
    erisf
    Participant

    Hello, I’d like to customise the buddypress registration, login, etc pages (for instance /register, etc). I can’t find a page with that name in my page list, it isn’t there when editing the theme, and editing the fields under users isn’t enough for me.

    I want to modify the APPEARANCE of the pages, along with the APPEARANCE of all other buddypress pages, like the modify/reset password pages, and everything else that’s needed for user registration.

    Any help?

    #332990
    Manuel Camargo
    Participant

    @shanebp

    This is the advent of the spammers in the buddypress forum?

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

    John
    Participant

    I didn’t realize that I can replicate the buddypress-functions.php file within the template, problem solved.

    Thank you, love it.

    #332982
    eluyawi
    Participant

    Hi Varun, I have checked a problem with your code.

    The BuddyPress menu is composed of two parts, a sub menu and the content of the sub menu (I attach a screenshot to explain it).
    https://postimg.cc/Hcq07cxK

    In this function, I am written in the content part

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

    How can I create a submenu in the SubMenu part of BuddyPress? (In the screenshot it’s vere clear

    #332981
    Anonymous User
    Inactive

    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.

    #332976
    erisf
    Participant

    Hello, I’d like to customise the buddypress registration, login, etc pages (for instance /register, etc). I can’t find a page with that name in my page list, it isn’t there when editing the theme, and editing the fields under users isn’t enough for me.

    I want to modify the APPEARANCE of the pages, along with the APPEARANCE of all other buddypress pages, like the modify/reset password pages, and everything else that’s needed for user registration.

    Any help?

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

    erisf
    Participant

    Hello, I’d like to modify the buddypress registration page (site.url/register). I can’t find a page with that name in my page list, it isn’t there when editing the theme, and editing the fields under users isn’t enough for me.

    I want to modify the APPEARANCE of the page, along with the APPEARANCE of all other buddypress pages, like the modify/reset password pages, and everything else that’s needed for user registration.

    Any help?

    eluyawi
    Participant

    Hi There,

    How can I add the section membership account of Restrict-content-PRO plugin (It’s a shorcode [subscription_details]) as a new field in the Buddypress dashboard?

    #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

    #332953
    riazoo518
    Participant

    Hi,
    Have you tried checking your SMTP settings in BuddyPress directly? Ensure they align with the configuration in WP Mail SMTP plugin. Additionally, verify if your hosting provider has any specific requirements for SMTP setup. You may need to coordinate with them to improve email deliverability. Good luck!

    #332951
    Varun Dubey
    Participant

    Either Ultimate Member or BuddyPress; you can not use both together.

    #332950
    erisf
    Participant

    I know that both allow profile creations, and BuddyPress has more community features. However Ultimate Member does seem to have some pretty great member features, and on top of it the information is presented more clearly than with BuddyPress (I have a better idea of what Ultimate Member can do than with BuddyPress from looking at the website).

    My question is, are these two plugin compatible? Is it possible to use both at the same time without creating conflicts?

    #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

    #332947
    Varun Dubey
    Participant

    🙂 Depending on your website’s plugins, theme, and any custom BuddyPress codes. BuddyX is ready for BPv12+ it does not need BP Classic. All our plugins are also ready for BPv12+.

    Varun Dubey
    Participant

    @thesun2012 bp_legacy_theme_ajax_messages_star_handler is not mandatory; you can also create your custom handler based on it
    for example

    function wbcom_custom_buddypress_ajax_handler() {
        check_ajax_referer('custom-bp-ajax-nonce', 'security');
    
        $displayed_user_id = isset($_POST['displayed_user_id']) && !empty($_POST['displayed_user_id']) 
                             ? (int) sanitize_text_field($_POST['displayed_user_id']) 
                             : get_current_user_id();
    
        $message_id = isset($_POST['message_id']) ? (int) sanitize_text_field($_POST['message_id']) : 0;
        $star_status = isset($_POST['star_status']) ? sanitize_text_field($_POST['star_status']) : '';
        $bulk = isset($_POST['bulk']) && !empty($_POST['bulk']);
    
        if (!bp_is_active('messages', 'star') || empty($message_id) || !is_user_logged_in() || !bp_core_can_edit_settings()) {
            wp_send_json_error(array('message' => 'Invalid request or insufficient permissions.'));
            return;
        }
    
        $result = bp_messages_star_set_action(array(
            'action' => $star_status,
            'message_id' => $message_id,
            'bulk' => $bulk,
            'user_id' => $displayed_user_id
        ));
    
        if ($result) {
            wp_send_json_success();
        } else {
            wp_send_json_error(array('message' => 'Failed to update message status.'));
        }
    }
    
    add_action('wp_ajax_wbcom_custom_buddypress_action', 'wbcom_custom_buddypress_ajax_handler');
    

    AJAX Request Adjustments like this

    jQuery.ajax({
        url: ajaxurl,
        type: 'POST',
        data: {
            'action': 'wbcom_custom_buddypress_action',
            'displayed_user_id': displayedUserId, // Include if available
            'message_id': messageId,
            'star_status': starStatus,
            // Additional data...
        },
        success: function(response) {
            // Handle success
        },
        error: function(error) {
            // Handle error
        }
    });
    

    We can suggest modifying the bp_legacy_theme_ajax_messages_star_handler() function to handle the displayed user ID and use the logged-in user ID as a fallback.

    function bp_legacy_theme_ajax_messages_star_handler() {
        if ( false === bp_is_active( 'messages', 'star' ) || empty( $_POST['message_id'] ) ) {
            return;
        }
    
        // Check nonce.
        check_ajax_referer( 'bp-messages-star-' . (int) $_POST['message_id'], 'nonce' );
    
        // Check capability.
        if ( ! is_user_logged_in() || ! bp_core_can_edit_settings() ) {
            return;
        }
    
        // Get the displayed user ID or fallback to the logged-in user ID.
        $user_id = isset($_POST['displayed_user_id']) && !empty($_POST['displayed_user_id']) 
                   ? (int) $_POST['displayed_user_id'] 
                   : get_current_user_id();
    
        if ( true === bp_messages_star_set_action( array(
            'action'     => $_POST['star_status'],
            'message_id' => (int) $_POST['message_id'],
            'bulk'       => ! empty( $_POST['bulk'] ) ? true : false,
            'user_id'    => $user_id  // Use the determined user ID
         ) ) ) {
            echo '1';
            die();
        }
    
        echo '-1';
        die();
    }
    
    John
    Participant

    The issue I’m facing is related to integrating BuddyPress into my theme. I’ve relocated the entire Messages component to a custom page that isn’t the default BuddyPress page. When users click on the Star and Unstar buttons, the functionality doesn’t work as intended. This is because it is loaded via AJAX using the bp_legacy_theme_ajax_messages_star_handler function, and this function calls bp_messages_star_set_action with the default user ID being the displayed user ID, You know, the bp_displayed_user_id() function doesn’t recognize the displayed user ID when called through AJAX.

    It would be more appropriate to change bp_displayed_user_id() to bp_loggedin_user_id() in this context 🙂

    I acknowledge that I could rewrite the code, but it’s preferable to maintain everything in its default state.

    Thank you.

    John
    Participant

    Hello Team,

    I have explored a minor issue while working with BP, please have a look https://github.com/buddypress/buddypress/blob/8478bd9366c28015b5a2c3d91aef08ce49c32bc3/src/bp-messages/bp-messages-star.php#L249

    I guess it should be the logged-in user ID instead of the displayed user ID, could you solve this please?

    Thanks.

    #332926
    John Simpson
    Participant

    Now updated Buddypress to v12.2 ……..Issue still there.

    #332925
    Anonymous User
    Inactive

    Hi,

    Please update to BuddyPress 12.2.0.

    BuddyPress 12.2.0 Maintenance Release

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

Viewing 25 results - 1,001 through 1,025 (of 94,559 total)
Skip to toolbar