Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 1,351 through 1,375 (of 69,120 total)
  • Author
    Search Results
  • #328008
    bobby929
    Participant

    I am seeing the same, plus a similar message. Please advise – thank you!

    Warning: array_filter() expects parameter 1 to be array, bool given in /home/chicagoeft/public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 3580

    Warning: array_filter() expects parameter 1 to be array, bool given in /home/chicagoeft/public_html/wp-content/plugins/buddypress/bp-messages/bp-messages-template.php on line 1577

    #328004
    fantamily
    Participant

    Error After Installing BuddyPress Update 11.0.0

    Hi, after installing update buddypress 11.0.0 I have an error in the first view of users: “Warning: array_filter() expects parameter 1 to be array, bool given in /home/customer/www/staging43.fantamily.it/public_html/wp-content/plugins/buddypress/bp-messages/bp-messages-template.php on line 1577″…
    Is it possible to fix the problem? Thank you all

    #327987
    scottmotion
    Participant
    inderatech
    Participant

    I have a wp site with buddypress registration, and on the registration page the form has the ‘Account Details’ section, with the username, email, password & confirm password. Then it also has the buddypress profile section, with the fields name, birthday, etc etc. I don’t want the persons Name to be visible to the public. I can manage all the other profile fields visibility except for the default Name field and it is driving me crazy! Not sure if anyone has has this problem. please let me know.

    #327985
    scottmotion
    Participant

    I haven’t used BuddyBuilder but after looking at their offering I would guess that you are correct that this plugin is the culprit. It looks like they provide some other templating system to replace some of the standard BuddyPress pages and provide an entire authentication process. I think the first course of action should be to work with them to fix the problem. I mean they offer this entire solution so I’m assuming it does work! Also, did you try disabling this plugin?

    Anyway, when I go to Settings>BuddyPress>Pages, I have these 4:
    Activate, Activity, Members, & Register.

    There may be more or less depending on features you’ve enabled. Activate, Activity, and Members are all blank pages, while Register uses the shortcode ‘[bbp-register]‘ (its actually a bbPress page). You should be able to at least create these 3 blank pages and assign them on that settings page.

    Here’s another post about missing pages: https://buddypress.org/support/topic/how-to-create-login-and-register-pages/

    Moderator shanebp says “BP does not handle a login page.” Here again I have a page with a bbPress shortcode ‘[bbp-login]‘. So basically it looks like login and registration need to be handled by some other plugin or theme.

    There are hooks that can be used to modify these pages, but full control over content and styling would probably require a theme, plugin, or custom page templates. I tried Elementor with BuddyPress but quickly found that Elementor was making the process too complicated. TBH I think Elementor gets in they way more than it helps. I ended up using Blocksy and Stackable.

    #327974
    philippklaschka
    Participant

    Hi Team,

    Im running buddypress with a few addons and I think one of them broke it so that the standard pages, which I had modified are now gone and I cannot for the life of me restore them. Even did a backup to localhost, exported them and tried importing them, but they come in empty.

    I am running Buddypress, Buddybuilder (I think this broke the pages as the plugin only half works), Gamipress & Geodirectory & Buddycommerce integration, buddypress featured members.

    Anyway, how do I get those standard pages back? and better, how can I edit them to make them look nicer with elementor?

    #327965
    Mathieu Viet
    Moderator

    Hi @philippklaschka

    Thanks for your report, this issue seems to be caused by this plugin https://github.com/projectestac/wordpress-invite-anyone/ It hooks to bp_core_install_emails to run the function ass_install_emails that does not exist see: https://github.com/projectestac/wordpress-invite-anyone/blob/master/by-email/by-email.php#L1710

    I advise you to deactivate this plugin, update BuddyPress and then reactivate this plugin once done. The bp_core_install_emails hook is only fired by BuddyPress when you install/upgrade and use the tool to reinstall emails, so it should be ok. But I strongly advise you to contact the plugin author so that he fixes this issue.

    Hi @netmanuth

    Thanks for your report, I’ll check BuddyX, but I doubt issue is with this theme.

    #327964
    philippklaschka
    Participant

    tried 3 times to update and every time it blows up my backend with this fatal error. Have to roll back all plugins via database and reactivate all just to roll back this patch.
    Can someone decipher whats going on here?

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “ass_install_emails” not found or invalid function name in /homepages/17/d4296816486/htdocs/wordpress/wp-includes/class-wp-hook.php:308 Stack trace: #0 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #1 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #2 /homepages/17/d4296816486/htdocs/wordpress/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-schema.php(555): do_action(‘bp_core_install…’) #3 /homepages/17/d4296816486/htdocs/wordpress/wp-content/plugins/buddypress/bp-core/bp-core-update.php(770): bp_core_install_emails() #4 /homepages/17/d4296816486/htdocs/wordpress/wp-content/plugins/buddypress/bp-core/bp-core-update.php(291): bp_update_to_11_0() #5 /homepages/17/d4296816486/htdocs/wordpress/wp-content/plugins/buddypress/bp-core/bp-core-update.php(159): bp_version_updater() #6 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/class-wp-hook.php(308): bp_setup_updater(”) #7 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #8 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /homepages/17/d4296816486/htdocs/wordpress/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-actions.php(120): do_action(‘bp_admin_init’) #10 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/class-wp-hook.php(308): bp_admin_init(”) #11 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #12 /homepages/17/d4296816486/htdocs/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #13 /homepages/17/d4296816486/htdocs/wordpress/wp-admin/admin.php(175): do_action(‘admin_init’) #14 /homepages/17/d4296816486/htdocs/wordpress/wp-admin/plugins.php(10): require_once(‘/homepages/17/d…’) #15 {main} thrown in /homepages/17/d4296816486/htdocs/wordpress/wp-includes/class-wp-hook.php on line 308

    inderatech
    Participant

    On the registration page for my wp site, the registration form has the ‘Account Details’ section, with the username, email, password & confirm password. Then it also has the buddypress profile section, with the fields name, birthday, etc etc.

    I don’t want the persons name to be visible to the public, I want it to only be visible to the admins. I tried to go into Users->Profile Fields and change the ‘Name’, but it doesn’t give any options as I guess that’s the base / built in field? Not sure how to fix this, but it is super annoying!

    Could someone share advice on how to fix?

    #327950
    Lars Henriksen
    Participant

    Thanks for your answer, @fawp.

    I do have account settings component enabled, and I also checked in the Twenty twenty two theme, and I don’t see the possibility to change email in the Buddypress settings.

    #327948
    fawp
    Participant

    @adjunkten

    Hi Lars,

    I can’t speak for the BuddyX theme but, in general, in BuddyPress settings, if you have the ‘Account Settings’ component enabled, your users should be able to change their email address directly within their BuddyPress profile (BuddyPress profile, Settings tab, General sub tab).

    Lars Henriksen
    Participant

    Hello

    I use the BuddyX theme, and hide the WordPress menu for my users.

    Is there any way to let users change email via the Buddypress user menu?

    Thanks,
    Lars

    #327937
    wackao
    Participant

    Try using invite code plugin for buddypress.

    #327935
    wackao
    Participant

    Is the user addition not working in WP admin as well ? check if there is any possible javascript error on wp admin page.

    WPLMS has its own good interface for adding users in groups via rest API.

    re-save the WP admin – Settings – BuddyPress – Components, so that groups tables and folder structure is installed and setup.

    #327934

    In reply to: problems a comment

    wackao
    Participant

    Please share more details on this.
    Also, re-save components in WP admin-settings-buddypress – components , doing this would setup any missing tables and folder structure.

    #327926
    wackao
    Participant

    The scanner is scanning a url so it does not mean the package is corrupted it could very well mean the site may have some malware.

    Try testing on http://virustotal.com/ , download the plugin from wp.org/plugins/buddypress and it comes out clean.

    #327925
    wackao
    Participant

    Obviously any API will not and should not return full data. There is a limit on how much data can be fetched.

    By default buddypress would return 20 units then you need change the page.

    So the next API goes like this :

    https://mysite.com/wp-json/buddypress/v1/activity?user_id=1&page=2

    #327924
    wackao
    Participant

    By default there is no shop tab under BuddyPress profile. So if you are using some plugin this could be an issue stemming from the plugin

    CGC studio
    Participant

    WordPress v 6.1.1
    BuddyPress v 11.0.0

    Theme Onecommunity (latest version 3.7.8) (https://themeforest.net/item/onecommunity-buddypress-theme/3713046?gclid=CjwKCAiAqt-dBhBcEiwATw-ggL19B1O2bH4PjCwmpFyse_KZ7o4KEGnurStZcFrqDBd1d-3rDApwZxoC22cQAvD_BwE)
    My frontend test Site: https://staging-rezodenthodenthcom-staging.kinsta.cloud/

    Hi there!

    1/ After updating my hosted site from php 7.4 to 8.0 (Kinsta hosting), buddypress causes the following critical syntax error !

    2023/01/06 13:48:41 [error] 43493#43493: *668 FastCGI sent in stderr: “PHP message: PHP Parse error: syntax error, unexpected token “;”, expecting “)” in /www/rezodenthodenthcom_528 /public/wp-content/themes/onecommunity/buddypress/groups/single/group-header.php on line 29

    The site (front and backend) is still visible but the groups are not displayed anymore in groups single page
    Could you please be kind enough to help solving this first problem?

    2/ I usually use a child theme with two small custom codes that worked fine in php 7.4 but with php 8.0, I have a new FTAL error. So it appears that this function somehow is not working correctly with the child theme enabled: call_user_func_array()
    From that stack trace in the Fatal error, it is referencing BuddyPress with it:
    #2 /www/rezodenthodenthcom_528/public/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(407): do_action(‘bp_widgets_init’)

    As far as I know, our custom codes were very limited in 2 templates :

    Template 1: group-sidebar.php  :
    WE CHANGED THIS CODE:
    $group_id = bp_get_current_group_id();
    echo do_shortcode( ‘[rtmedia_gallery context=”group” per_page=”6″ context_id=”5″ context_id=”‘ . $group_id . ‘”]’ );
    BY THAT ONE:
    if ( bp_group_is_visible() ) :
    $group_id = bp_get_current_group_id();
    echo do_shortcode( ‘[rtmedia_gallery context=”group” per_page=”6″ context_id=”5″ context_id=”‘ . $group_id . ‘”]’ );
    endif;

    Template 2: group-sidebar.php (for customiszation image ads in widget column) with this code:
    <div class=”bp-sidebar-details”>
    <div class=”bp-sidebar-details-category first”><?php _e(‘Advertisement’, ‘onecommunity’); ?></div>
    <div class=”col-1-ads”>
    [widget id=”media_gallery-3″]
    </div>

    I don’t understand what could interfere in php 8.0 environment!
    What do you think about it? and could you help me to solve this second issue?

    Thank you for your appreciated help ; )

    C. GARCIA

    #327920
    The Network Manager
    Participant

    Hey there Viet, appreciate your work with BuddyPress. Just wanted to let you and your team know that there may be some concerns with the latest version 11. I attempted to updated three times today and it brought my site down each time. I did three times because I wanted to be absolutely certain that the update was the cause of the site crashing.
    IT may be some sort of conflict with my these as the error message pointed to a javascript page associated with my theme.
    I currently use version, 10.6.0 and that works fine for me.
    So you all are aware.
    Next time I will catalog the error info for sharing with you all, this time I was preoccupied with bringing the website back to full functionality.
    Thanks.

    ashankrao
    Participant

    Hello,
    I am having an issue with my website. when a user is logged in and uses add to cart button, it should get to the Cart page but the problem is that when logged in user click add to cart and then view the cart then it redirects to the shop tab under BuddyPress profile. is there any way through which this issue can be sorted and redirection can be restricted?
    Hopping for a solution super soon
    thank you

    MikeAlan
    Participant

    I have a problem and I cant find the solution, please can somebody help.

    I’m building a school alumni website mainly for logged in members in a temporary construction folder.

    Why when clicking on ‘My groups’ in ‘Groups’, does the link not go to ‘https://elmfieldschoolalumni.uk/build/members/admin/groups/my-groups/’?

    When I can copy and paste the Link address into the address bar, it then brings up the Buddypress primary nav menu as the ‘My groups’ button should.

    I have tried various tests including deactivating all plugins apart from Buddypress and tried other themes but all to no avail. BP and WP are running the most recent versions.
    The site has temporary testing data installed.

    Feel free to login to help resolve the issue. The page in question is: ‘https://elmfieldschoolalumni.uk/build/groups/’. Username: guest and password: @#Silent#@

    Thank you

    #327881
    mwatkins197
    Participant

    Hi, I have set up buddy press on a newly installed website, however I am encountering the following error (see below) after I create group after filling in the name and description and pressing create group and continue. Can anyone help. Thanks

    Notice: Function WP_Object_Cache::delete was called incorrectly. Cache key must be integer or non-empty string, NULL given. Please see Debugging in WordPress for more information. (This message was added in version 6.1.0.) in /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-includes/functions.php on line 5835

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-includes/functions.php:5835) in /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-content/plugins/buddypress/bp-groups/actions/create.php on line 171

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-includes/functions.php:5835) in /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-content/plugins/buddypress/bp-groups/actions/create.php on line 172

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-includes/functions.php:5835) in /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-includes/pluggable.php on line 1416

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-includes/functions.php:5835) in /homepages/42/d941307253/htdocs/clickandbuilds/imaginarhub/wp-includes/pluggable.php on line 1419

    boxhamster
    Participant

     Hi,

    WordPress: 6.1.1
    BuddyPress: 10.6.0

     I wanted to inform you of the warning I just got on
     https://scanner.pcrisk.com/ in regards to BP. I’m aware this might just be
     a false positive. In that case, please ignore, but is this something other people also get or something up with my particular setup?

     /wp-content/plugins/buddypress/bp-core/js/vendor/jquery-
     cookie.min.js?ver=10.6.0
     Severity: Potentially Suspicious
     Reason: Detected potentially suspicious initialization of function pointer
     to JavaScript method String.replace Ccode E __tmpvar1170183340 =
     String.replace; Ccode/ E
     Details: Detected potentially suspicious content.
     Offset: 264
     Threat dump: View code (see below)
     File size[byte]: 1229
     File type: ASCII
     MD5: AD70A8BA0464EF7223BA502399938847
     Scan duration[sec]: 0.045

     The following code was shown under “View code”:
     [[==e.indexOf(‘”‘)%26%26(e=e.slice(1,-1).replace(/\\”/g,'”‘).replace(/\\\\/g,”\\”));try{return
     e=decodeURIComponent(e.replace(n,”
     “)),x.json?JSON.parse(e):e}catch(e){}}(e);return”function”==typeof
     o?o(e):e}var x=d.cookie=function(e,o,n){var i,t;if(void 0!==o%26%26″f]]

    Pynet
    Participant

    Hello,
    I am trying to create my own notification, but it is not working.
    The notification should not be for the author of the post, but for whoever is assigned as client “_sliced_client”, which is stored in the postmeta table in the database and returns the client id.
    Wordpress version: 6.1.1
    BuddyPress version: 10.6.0

    <?php 
    // this is to add a fake component to BuddyPress. A registered component is needed to add notifications
    function custom_filter_notifications_get_registered_components( $component_names = array() ) {
        // Force $component_names to be an array
        if ( ! is_array( $component_names ) ) {
            $component_names = array();
        }
        // Add 'custom' component to registered components array
        array_push( $component_names, 'propre' );
        // Return component's with 'custom' appended
        return $component_names;
    }
    add_filter( 'bp_notifications_get_registered_components', 'custom_filter_notifications_get_registered_components' );
    // this gets the saved item id, compiles some data and then displays the notification
    function custom_format_buddypress_notifications(  $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
        // New custom notifications
        if ( 'propre_action' === $action ) {
    
            $post = get_post( $item_id );
    		//
            $custom_title = $post->post_author . ' add a quote for you' . get_the_title( $item_id );
            $custom_link  = get_permalink( $post );
            $custom_text = $post->post_author . ' add a quote for you ' . get_the_title( $item_id );
            // WordPress Toolbar
            if ( 'string' === $format ) {
                $return = apply_filters( 'propre_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link );
            // Deprecated BuddyBar
            } else {
                $return = apply_filters( 'propre_filter', array(
                    'text' => $custom_text,
                    'link' => $custom_link
                ), $custom_link, (int) $total_items, $custom_text, $custom_title );
            }
            return $return;
        }
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 10, 5 );
    
    // this hooks to post creation and saves the post id
    function bp_custom_add_notification( $post_id, $post ) {
        if ( $post->post_type == 'sliced_quote' ) {
            $post = get_post( $post_id );
    		$client_id= get_post_meta($post_id, '_sliced_client');
            $author_id = $post->post_author;
            bp_notifications_add_notification( array(
                'user_id'           => $client_id,
                'item_id'           => $post_id,
                'component_name'    => 'propre',
                'component_action'  => 'propre_action',
                'date_notified'     => bp_core_current_time(),
                'is_new'            => 1,
            ) );
        }   
    }
    add_action( 'wp_insert_post', 'bp_custom_add_notification', 99, 2 );

    Any ideas?
    Thank you very much!
    Regards and happy new year!

Viewing 25 results - 1,351 through 1,375 (of 69,120 total)
Skip to toolbar