Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 25 results - 26 through 50 (of 747 total)
  • Author
    Search Results
  • #332269

    In reply to: BuddyPress 12.0.0

    erotmil
    Participant

    Mathieu, thanks for the comments , I can see there are many effected by the upgrade, I hope its not overwhelming for you. I don’t write php, but of course can copy and paste. I am not missing any buttons, the buttons just don’t work , they still show, they are edit , delete, created I think with forminator. Since there is a functions.php page in my child theme I tried pasting the add_filter code you posted, with BP 12 it didn’t help. I pasted it in the top section “function my theme area, I posted the functions php code in a gist here

    I am looking to see how to share a screenshot of the offending page ,.
    Hey also I noticed in the buddypress settings page there is a tab marked “Pages” that is new, I have no idea if I am supposed to set those drop downs to pages, but after touching it now I see a message in red “The following active BuddyPress Components do not have associated BuddyPress Pages: Members, Activity, Groups, Activate, Register.” The guy that wrote these custom code child theme pages died about two years ago, I’ve been maintaining this website and really hope I can keep this working , updates can whack it out , but usually it still functions after the update , not this time

    #331880
    teeboy4real
    Participant

    I had the option Allow activity stream commenting on posts and comments disabled I also have some code in custom.php file. I am not sure if it could have any effect

    /* Disable comment for all activity but still enable @mention autosuggestion. */
    function disable_activity_comments($can_comment, $activity) {
        // Disable comments
        $can_comment = false;
        return $can_comment;
    }
    add_filter('bp_activity_can_comment', 'disable_activity_comments', 10, 2);
    
    /* Hide comment from activity page */ 
    add_action( 'bp_after_has_activities_parse_args', function ( $r ) {
        if ( bp_is_activity_directory() || bp_is_single_activity() ) {
            $r['display_comments'] = false;
        }
        return $r;
    } );
    
    // Exclude activity updates from subscribers who are not logged in on the activity directory page.
    function hide_new_member_activities_from_unlogged_users( $args ) {
        if ( ! is_user_logged_in() ) {
            $args['action'] = array(
                'activity_comment',
                'activity_update',
                'last_activity',
                'new_avatar',
                'new_blog_comment',
                'new_blog_post',
    			'new_classified',
                'updated_profile'
            );
        }
        return $args;
    }
    add_filter( 'bp_after_has_activities_parse_args', 'hide_new_member_activities_from_unlogged_users' );
    
    #331715
    AWOL
    Participant

    @imath,
    Thank you for your response and apologies for my tardiness – I had no idea that the Discussion settings had any impact on Buddypress Activity but you are correct, this was what was causing the issue. Is this documented anywhere in the Buddypress docs/codex? I made the mistake of assuming that Buddypress activity was a separate entity to the blog posts and comments but obviously it isn’t, so do all the other Discussion settings impact it as well? I can obviously test myself but if there is any resource on this that would be very useful.

    Regarding the BP Classic issue, thank you, although I have now made a significant design change and workaround so I don’t think it will impact me any more, and that also applies to the issue I reported with the nav menu highlighting, although that will impact others. Basically I have created a custom Members directory page on a WP page so that when that is a sub menu item of Activity any visit to a Profile page does not highlight the Activity menu item as was happening with the standard Member directory. Also from my testing I have not encountered any issues that will require BP Classic to be activated, and if I do I will probably devise another workaround.

    Good luck with preparing to launch the release of BP 12!

    #331590
    AWOL
    Participant

    Hi @imath,
    I have set up a second staging site to test because of the issues I was having with my first one, to see if any are replicated; the good news is that the Reply button on activity comments is visible on this new stage, so it must be some weird anomaly with the first one which I doubt I will ever be able to figure out, much like my missing post that showed in detail the problem there.

    However there is one issue that is still apparent, which is that, in Blocksy I have it set so that the main site menu highlights whichever page you are currently on (a fairly common feature on most sites), and if you are on a page that is a dropdown menu item, it highlights the parent menu item that it drops down from, as well as itself when the dropdown is visible. Unfortunately it seems that the new BP doesn’t play well with this setup (as I tried to explain earlier in this thread), so I had parent menu links to Activity (with Members and Groups as child menu items) and Profile (with several other child menu items such as Friends etc); when I visit the Profile page, the Profile parent item is not highlighted, but Activity is, and when I visit a child menu item of profile, both Profile and Activity are highlighted. If I move the Members child item to be a parent item, this is the one highlighted instead of Activity.
    I looked more deeply, and discovered that in my setup, Activity, Members and Groups all have distinct page id numbers when you examine the html body class, while all pages connected to the Profile and associated links have the same page id as Members (logical as they are sub pages of Members in the BP urls), and individual groups have the same page id as Groups etc. Is there any way to have Profile separated from Members so that it has its own page id and distinct url? I think this is probably where my menu issue stems from, and I would assume this would be the case for others as well. There doesn’t seem to be any way (yet?) to create my own Profile pages using blocks which might be another way around this, or even a custom Members page (the blocks currently available don’t have an option to show an alphabetical or sortable list/grid). I’m sure I’m not alone in wanting a main menu link to the registered users individual pages, a dashboard, and having the menu show them where they are.

    #331442
    david00116
    Participant

    Secondly, I found that it wasn’t possible to add a main menu link for the currently logged-in user that remains visible at all times. Although I created a custom link, it only appeared in the menu when viewing specific sections (such as Profile, Activity, etc).

    Thirdly, I encountered difficulties in adding a sidebar to any of the Buddypress pages, despite my default Blocksy setting for each page to have one. Upon investigation, I discovered that in the Customizer, Buddypress pages were being counted as Blog Posts. Intuitively, I would have expected this setting to be configured in the Buddypress-specific sections. As it stands, without extensive CSS modifications, this means Blog Pages and Buddypress pages will always have to share the same layout.

    I’m curious if you’re considering incorporating enhancements or additional features in the Customizer at some point. In my experience, I’ve needed to make a significant number of CSS adjustments to align Buddypress with my desired color scheme and preferences in previous versions. It would be immensely helpful if at least some of this could be achieved through Customizer settings or a dedicated settings page within the plugin. Historically, Buddypress hasn’t adhered to my theme defaults, but I’m uncertain if this is specific to the theme I use or if it’s a widespread experience.

    jubalince
    Participant

    When I click the timestamp of a post, I am taken to the correct page:

    Example: https://myurl.com/members/username/activity/72/

    However, the page shows ALL of that users updates, not just the single post. This happens for group posts as well.

    Any ideas what may be causing this? I have tested everything I can think of (disabled all plugins, reactivated only buddypress, removed all custom CSS, etc.) and the problem persists.

    #330857
    Venutius
    Moderator

    Hi there,

    One possibility is to customize the landing page for visitors who are not logged in to your BuddyPress site, you have a few options. One option is to use a plugin like BuddyPress Redirect to Home Page, which lets you set any page as the home page for non-logged-in users. Another option is to use some code snippets in your functions.php file or a custom plugin, which can check the user’s login status and redirect them accordingly. For example, you can use something like this:

    function bp_redirect_non_logged_in_users() {
    if ( ! is_user_logged_in() && bp_is_component_front_page( ‘activity’ ) ) {
    wp_redirect( home_url( ‘/welcome/’ ) ); // change this to your desired page
    exit();
    }
    }
    add_action( ‘template_redirect’, ‘bp_redirect_non_logged_in_users’ );

    This code will redirect non-logged-in users who try to access the activity page to a welcome page instead. You can modify this code to suit your needs and preferences. You’d need to find the equivalent for the Jumble page in question.

    #330816
    AWOL
    Participant

    Hi @imath,
    I don’t know if one of the below might be related to what @vapvarun posted, but in my early testing of 12.0.0-beta1 (with latest WP and using Blocksy theme and Nouveau) there are a few things cropping up; firstly I don’t seem able to customise the css by duplicating Nouveau’s css in my Blocksy child theme folder, either inside a buddypress folder or just in the child theme folder, and can only achieve changes in my child theme’s style.css (I suspect this is unrelated to the new Buddypress but I haven’t yet tried it with Legacy); secondly, it doesn’t seem possible to add a main menu link to the currently logged in user that is visible at all times – I have created a custom link but it only appears in the menu when viewing the various sections (i.e. Profile, Activity etc); thirdly, I was struggling to add a sidebar to any of the BP pages, even though my default Blocksy setting is for each page to have one, and discovered that (in Blocksy at least) in Customizer it is counting BP pages as Blog Posts, whereas intuitively I would have thought this should be set in the BP specific sections, and without extensive css work means that Blog Pages and BP pages will always have to be the same. Are you considering adding/improving what can be done in the Customizer at some point? I have found I have to make an awful lot of CSS edits anyway to get BP to match my colour scheme and preferences in previous versions of BP and it would be a huge boon if at least some of this can be achieved with the Customizer settings (or a settings page in the plugin). BP has never followed my theme defaults, but I don’t know if that is because of the theme (and the two standard BP templates) I use or if it is like this for everyone.

    gilldart
    Participant

    Hi,

    I have a Custom Post Type ‘golfs’ created with CPT UI.
    I try to get the golfs comments (activated) in the Activites feed of BuddyPress without success…

    I put the code i found here ( https://codex.buddypress.org/plugindev/post-types-activities/ ) in my bp-custom.php file :

    function customize_page_tracking_args() {
        // Check if the Activity component is active before using it.
        if ( ! bp_is_active( 'activity' ) ) {
            return;
        }
     
        // Don't forget to add the 'buddypress-activity' support!
        add_post_type_support( 'golfs', 'buddypress-activity' );
     
        /**
         * Also don't forget to allow comments from the WordPress Edit Page screen
         * see this screencap https://cldup.com/nsl4TxBV_j.png
         */
     
        bp_activity_set_post_type_tracking_args( 'golfs', array(
            'action_id'                         => 'new_blog_page',
            'bp_activity_admin_filter'          => __( 'Published a new page', 'custom-textdomain' ),
            'bp_activity_front_filter'          => __( 'Page', 'custom-textdomain' ),
            'bp_activity_new_post'              => __( '%1$s posted a new <a href="%2$s">page</a>', 'custom-textdomain' ),
            'bp_activity_new_post_ms'           => __( '%1$s posted a new <a href="%2$s">page</a>, on the site %3$s', 'custom-textdomain' ),
            'contexts'                          => array( 'activity', 'member' ),
            'comment_action_id'                 => 'new_blog_page_comment',
            'bp_activity_comments_admin_filter' => __( 'Commented a page', 'custom-textdomain' ),
            'bp_activity_comments_front_filter' => __( 'Pages Comments', 'custom-textdomain' ),
            'bp_activity_new_comment'           => __( '%1$s commented on the <a href="%2$s">page</a>', 'custom-textdomain' ),
            'bp_activity_new_comment_ms'        => __( '%1$s commented on the <a href="%2$s">page</a>, on the site %3$s', 'custom-textdomain' ),
            'position'                          => 100,
        ) );
    }
    add_action( 'bp_init', 'customize_page_tracking_args' );

    New golfs are displayed in the activities feed but not the new comment.

    Can anybody tell me what’s wrong ?

    WP 6.2.2
    BuddyPress 11.2.0
    PHP 7.4

    Thank’s in advance
    Gil

    Venutius
    Moderator

    Hi Naomi,

    For the menu item, one option is to create a custom menu option and just insert the URL for the activity page.

    For your newsletter sign up, don’t think I can help you as it’s the way it’s been implemented, it’s inserted a third column, making this wider is going to make one of the other columns narrower, which is not desirable. Maybe ask the plugin developer to change it?

    #328379
    semih2400
    Participant

    Hi, I have similar problem. I want to use my own activity loop on different page. This page is template for my custom post type. I created it php that named as ‘single-{mytype}.php’. I can use my own activity loop inside of this page but there is some wird behaviours. For example comment, favourite or delete buttons not seem properly also I think ajax/js doesnt work properly.
    I have used like this:

      <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=new_quote' ) ) : ?>
        <?php while ( bp_activities() ) : bp_the_activity(); ?>
     
    	<?php bp_get_template_part( 'activity/entry' ); ?>
    				
        <?php endwhile; ?>
    <?php endif; ?>
    #328341
    eldamania
    Participant

    I have these errors in my site.

    Fatal error: Uncaught ArgumentCountError: 3 arguments are required, 2 given in /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php:230 Stack trace: #0 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php(230): sprintf(‘%1$s ha escrito…’, ‘apply_filters(‘__construct(Array) #9 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/activity-loop.php(17): bp_has_activities(”) #10 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/template.php(785): require(‘/customers/5/b/…’) #11
    /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template(‘/customers/5/b/…’, false, Array) #12 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(67): bp_locate_template(Array, true, false, Array) #13 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.php(241): bp_get_template_part(‘activity/activi…’) #14 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/template.php(785): require(‘/customers/5/b/…’) #15
    /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template(‘/customers/5/b/…’, false, Array) #16 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(67): bp_locate_template(Array, true, false, Array) #17 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(407): bp_get_template_part(‘activity/index’, NULL, Array) #18 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-theme-compat.php(118): bp_buffer_template_part(‘activity/index’, NULL, false) #19
    /customers/5/b/d/eldamania.com/httpd.www/wp-includes/class-wp-hook.php(308): BP_Activity_Theme_Compat->directory_content(”) #20 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/plugin.php(205): WP_Hook->apply_filters(”, Array) #21 /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-core/bp-core-theme-compatibility.php(767): apply_filters(‘bp_replace_the_…’, ”) #22 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/class-wp-hook.php(308): bp_replace_the_content(”) #23 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/plugin.php(205): WP_Hook->apply_filters(”, Array) #24 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/post-template.php(255): apply_filters(‘the_content’, ”) #25 /customers/5/b/d/eldamania.com/httpd.www/wp-content/themes/twentyfourteen/content-page.php(20): the_content() #26 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/template.php(785): require(‘/customers/5/b/…’) #27 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/template.php(718): load_template(‘/customers/5/b/…’, false, Array) #28 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #29 /customers/5/b/d/eldamania.com/httpd.www/wp-content/themes/twentyfourteen/page.php(33): get_template_part(‘content’, ‘page’) #30 /customers/5/b/d/eldamania.com/httpd.www/wp-includes/template-loader.php(106): include(‘/customers/5/b/…’) #31 /customers/5/b/d/eldamania.com/httpd.www/wp-blog-header.php(19): require_once(‘/customers/5/b/…’) #32 /customers/5/b/d/eldamania.com/httpd.www/index.php(17): require(‘/customers/5/b/…’) #33 {main} thrown in /customers/5/b/d/eldamania.com/httpd.www/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php on line 230

    #328155
    wackao
    Participant

    Heads up ! BP is currently not compatible with PHP 8.2

    Deprecated: Creation of dynamic property BP_Members_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Members_Component::$table_name_invitations is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Members_Component::$table_name_last_activity is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Members_Component::$table_name_optouts is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Members_Component::$table_name_signups is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Members_Component::$nav is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php on line 213
    
    Deprecated: Creation of dynamic property BP_Members_Component::$invitations is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php on line 232
    
    Deprecated: Creation of dynamic property BP_XProfile_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_data is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_groups is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_fields is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_XProfile_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Activity_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Activity_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Activity_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Friends_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Friends_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Friends_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Groups_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Groups_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Groups_Component::$table_name_members is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Groups_Component::$table_name_groupmeta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Messages_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_notices is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_messages is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_recipients is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Messages_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Notifications_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Notifications_Component::$table_name is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Notifications_Component::$table_name_meta is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 718
    
    Deprecated: Creation of dynamic property BP_Settings_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Course_Component::$directory_title is deprecated in wp-content/plugins/buddypress/bp-core/classes/class-bp-component.php on line 299
    
    Deprecated: Creation of dynamic property BP_Activity_Component::$actions is deprecated in wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php on line 350
    
    Deprecated: Creation of dynamic property MemberTypes_Custom_Field::$bp_get_member_type_tax_name is deprecated in wp-content/plugins/vibebp/includes/class.membertypes.from.fields.php on line 29
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$capability is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 109
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$user_profile is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 115
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$current_user_id is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 118
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$user_id is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 121
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$is_self_profile is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 124
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$screen_id is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 127
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$stats_metabox is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 130
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$edit_profile_args is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 133
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$edit_profile_url is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 134
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$edit_url is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 135
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$users_page is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 138
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$signups_page is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 139
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$users_url is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 140
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$users_screen is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 141
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$members_invites_page is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 143
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$subsite_activated is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 146
    
    Deprecated: Creation of dynamic property BP_Members_Admin::$tools_parent is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 160
    
    Deprecated: Creation of dynamic property BP_Members_Component::$admin is deprecated in wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php on line 78
    
    Deprecated: Creation of dynamic property BP_XProfile_Component::$admin is deprecated in wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-user-admin.php on line 38
    #328018
    luixv
    Participant

    I am using the following:
    WP Version: 6.1.1
    Permalink: /%postname%/
    Active Theme: BuddyX 4.4.5
    Platform: Windows
    Browser Name Chrome
    PHP Version: 8.0.7
    MySQL Version: 5.5.5
    The plugins I have are these:

    Activity Plus Reloaded for BuddyPress 1.0.8
    Akismet Anti-Spam 5.0.2
    BP Friends Suggestions Widget 1.1.0
    BP Profile Search 5.4.7
    BuddyPress 11.0.0
    BuddyPress Activity ShortCode 1.1.8
    BuddyPress Extended Friendship Request 1.2.1
    BuddyPress Global Search 1.2.1
    BuddyPress Login Redirect to Profile 1.2.3
    BuddyPress Profile Completion 1.0.8
    BuddyPress Simple Terms And Conditions 1.3
    BuddyPress Xprofile Custom Field Types 1.2.5
    Classic Editor 1.6.2
    Classic Widgets 0.3
    Colorlib Login Customizer 1.3.1
    CookieYes | GDPR Cookie Consent 3.0.8
    Custom Font Uploader 2.0.0
    Duplicator 1.5.1
    Easy Registration Forms 2.1.1
    Force Login 5.6.3
    GEO my WP 3.7.2.1
    Kirki Customizer Framework 4.0.24
    Quick and Easy FAQs 1.3.6
    Shared Counts 1.4.1
    Verified Member for BuddyPress 1.2.6
    Wbcom Designs – BuddyPress Member Reviews 2.8.3
    WordPress Username Availability Checker 1.1.8

    I have configured a new Register page using ERForms. I’ve created just a wordpress page which has only a shortcode to the ERform.
    I’ve set it at buddypress settings-> Pages -> register. Buddypress is redirecting to the wordpress regitration page instead of my page.
    I’ve also changed the redirection at buddypress setting to whatever page (for example my FAQ page) and always redirects to the wordpress registration page.

    I’ve tried also deactivating all plugin but buddypress and ERforms and no, buddypress is always redriecting to the standard wordpress registration page instead of what I am setting.

    Any hint / idea what to cope this problem?

    Thnks in advance

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

    lighthousejack
    Participant

    Comments on activity item of custom post type in feed appear blank (empty body) but appear correctly in the single post page and tracking otherwise works as expected.

    I’ve got feed blog posts & comments enabled on BP back-end. Cannot figure out where the problem seems to be.

    Any king of help would be appreciated.

    #326827
    dektech2018
    Participant

    Fix: Deactivate the plugin, install “My Custom Functions” and paste this code into the PHP Inserter in the Dashboard settings menu.

    //Hide for non-logged-in users (public visitors)
    function bp_logged_out_page_template_redirect() {
    if( ! is_user_logged_in() && (is_page( ‘members’ )|| is_page( ‘activity’ ) || bp_is_user()) ) {
    wp_redirect( home_url( ‘/register/’ ) );
    exit();
    }
    } add_action( ‘template_redirect’, ‘bp_logged_out_page_template_redirect’ );

    #324671
    t.schwarz
    Participant

    Hi,

    I’m trying to show a part of the activtiy feed (entries categorized as “tips” with feed meta category) on a different page than the standard activity page. Using the activity loop in a custom page template it’s easy to display the restricted activities on a standard WP page.

    However, as the standard WordPress page is not a registered BuddyPress page none of the Buddypress CSS classes and Javascript is loaded, which means that the custom loop looks pretty bad and is largely non-functional.

    So far I’ve come up with two ideas about how to solve this:

    1) using different feed templates on the standard activity feed page and indicate which one to use by adding a variable in the URL – this approach runs into problems because the standard feed is loaded by Admin-Ajax and there’s no apparent way to add an additional URL induced context variable to the ajax query – or is there?

    2) turning the standard WordPress page into a BuddyPress page (so the activity JS and CSS is loaded). I’ve been thinking about actually comparing loaded scripts and manually enqueuing them for the new page-template, but I wonder if there is not a much simpler solution.

    I’ve tried ideas like this “prehistoric” one, but they don’t appear to work anymore – https://buddypress.org/support/topic/make-your-own-custom-buddypress-page/page/2/

    Is there a modern equivalent to this?

    Should I maybe approach this completely differently?

    Thanks for any help!

    teslavolt
    Participant

    Wordpress v5.9
    Buddypress V10
    Theme – Nouveau enabled

    I’m trying to put the contents of a single activity onto a custom wordpress template page.
    e.g. https://www.mysite.com/members/myusername/activity/2/

    I looked at the \buddypress\bp-templates\bp-nouveau\buddypress\activity\activity-loop and \activity\single\home for code to put in my custom template:

    
    <div class="entry-content" id="start-a-project">
        <div id="buddypress" class="buddypress-wrap twentysixteen bp-dir-hori-nav">
            
            <?php $prj_activity_args = array("include"=> 2 );  // only pull activity id=2 from WP_BP_ACTIVITY ?> 
            <div class="activity" data-bp-single="2"> <!--hardcoding for testing-->
            <?php 
            if ( bp_has_activities( $prj_activity_args ) ) : ?>
                <?php if ( empty( $_POST['page'] ) || 1 === (int) $_POST['page'] ) : ?>
                    <ul id="activity-stream" class="activity-list item-list bp-list" data-bp-list="activity">
                        <ul class="activity-list item-list bp-list">
                <?php endif; ?>
                <?php
                    while ( bp_activities() ) :
                        bp_the_activity();
                ?>
                    <?php bp_get_template_part( 'activity/entry' );?>
                <?php endwhile; ?>
                <?php if ( empty( $_POST['page'] ) || 1 === (int) $_POST['page'] ) : ?>
                        </ul> <!-- .activity-list -->
                    </ul> <!-- #activity-stream -->
                <?php endif; ?>
            <?php else : ?>
                <?php //bp_nouveau_user_feedback( 'activity-loop-none' ); ?>
            <?php endif; ?>
            <?php// bp_nouveau_after_loop(); ?>
    
            </div>
        </div>
    

    I only want to pull one activity – so I passed array(“include”=> 2 ) to bp_has_activities() ; However, when the page is loaded, the <ul id=”activity-stream”> loads ALL the activities.

    Could someone help me figure out why this is happening? I switched to the legacy theme and the code works fine. I think it’s something to do with the data-bp-list=”activity” that is causing all the activities to get loaded.

    cheekeat
    Participant

    Hi!

    I am trying to create a shortcode to place the activity loop in a new page, so I can customize and highlight some activities. To start, I inserted the standard loop inside a shortcode function (code as below). But the standard loop failed to show. Just to ensure that my shortcode is ok, I just inserted a “testing 123” text to check.

    FYI, I am using BuddyX theme (WordPress version 5.8.3). I test the code below in functions.php before place it into Code Snippets plugin. Currently, the code is still inside functions.php.

    I placed the shortcode ([mkp_activity]) in a page (link to the page as below). I also try to place the shortcode in widget area. But the loop just did not appear.

    Test Page

    function mkp_bp_activity_shortcode() {
    
    $message = 'testing 123';
    return $message;
    
    if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) :
        while ( bp_activities() ) : bp_the_activity();
    
            locate_template( array( 'activity/entry.php' ), true, false );
    
        endwhile;
    endif;
    
    }
    add_shortcode('mkp_activity', 'mkp_bp_activity_shortcode');

    I am new to this. I am not sure if I am doing this completely wrong. Appreciate any advice. Thanks!

    Regards,
    CK

    #322849
    djsteveb
    Participant

    when filling out register form it just refreshes the page – seems to fail with no error message I can see.
    How would I find out what is happening in the browser and on the server to debug?

    tried with turning off plugins and back to default theme,
    also did the list of things to check from here:
    (
    – check the WordPress settings allows account to be created (Anyone can register checkbox needs to be active) See: wordpress.org/support/article/settings-general-screen/#membership
    – check your permalink settings are using one of the pretty permalink options (not plain), see this documentation page wordpress.org/support/article/using-permalinks/#mod_rewrite-pretty-permalinks
    – check the activate and register actions are associated with a public WordPress page. You can find some inputs about it from this documentation page : codex.buddypress.org/getting-started/configure-components/#settings-buddypress-pages

    NB: the registration and activation pages are only displayed to users who are not logged in,
    )

    site is https://www.chatyolo.com/register/ – it’s kind of NSFW

    1. Which version of WordPress are you running?
    5.8.3
    2. Did you install WordPress as a directory or subdomain install?
    main directory
    6. Which version of BP are you running?
    9.2
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    301 Redirects, All in One SEO, AdRotate, Error Log Monitor, Forminator Pro,
    Slide Anything – Responsive Content / HTML Slider and Carousel, Wise Chat Pro, Wordfence Security,
    WP Activity Log, Smush Pro, Query Monitor,
    9. Are you using a standard WordPress theme or customized theme?
    tried both -happens with 2021 theme, zakra, and astra

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    2.6.9 – it’s turned off through and still issue

    20. What BP Template Pack is activated in your installation? You will see that under Dashboard > Settings > BuddyPress – Options page.
    was on legacy, switched to neavox

    Tried with firefox and chrome and different computers..
    had a few other profile fields – then removed them from the base signup and it still fails –

    Help greatly appreciated

    deswegen
    Participant

    Greetings,

    I have a CPT “events” that I want to display on the activity feed. I stumbled upon this page: https://codex.buddypress.org/plugindev/post-types-activities/ which tells you how to implement it.
    I have added
    add_post_type_support( 'page', 'buddypress-activity' );
    to the custom-bp.php which works and indeed shows a post once I add a new event.

    However, the message it shows is a bit generic (Name wrote a new item) which I would like to change (including featured image).

    In the above-mentioned link it does explain how to do this (changing the text) but for some reason, I can’t make it work. I added the following code as mentioned to my custom-bp.php but it just does not change the message:

    function customize_page_tracking_args() {
        // Check if the Activity component is active before using it.
        if ( ! bp_is_active( 'activity' ) ) {
            return;
        }
     
        bp_activity_set_post_type_tracking_args( 'events', array(
            'component_id'             => buddypress()->blogs->id,
            'action_id'                => 'new_blog_page',
            'bp_activity_admin_filter' => __( 'Published a new page', 'custom-domain' ),
            'bp_activity_front_filter' => __( 'Events', 'custom-domain' ),
            'contexts'                 => array( 'activity', 'member' ),
            'activity_comment'         => true,
            'bp_activity_new_post'     => __( '%1$s posted a new <a href="%2$s">event</a>', 'custom-textdomain' ),
            'bp_activity_new_post_ms'  => __( '%1$s posted a new <a href="%2$s">event</a>, on the site %3$s', 'custom-textdomain' ),
            'position'                 => 100,
        ) );
    }
    add_action( 'bp_init', 'customize_page_tracking_args' );

    Also, in the best case I would like to add the featured image to it which is clickable (exactly how it does it for a normal blog entry).

    Can somebody tell me what I do wrong?

    promtedcoin64
    Participant

    Hello, I have created a custom notification for when a Moderator or Admin comments in a Buddypress Group.
    It does two things:
    1. it creates a notification and
    2. sends out an email to the members.

    The email works fine with wp_mail() and the notification is also created fine in most cases, EXCEPT for when the last thing we do in the caption box is copy-paste text. In these scenarios the notification is created for the user (they see a +1), but clicking on the notification gives a “page not found” error.

    One of my last tests proved that I can in fact copy-paste content with no character limit in the caption box. But I must make sure I type with my keyboard something before Posting the Update IF I want the notification to save properly in the DB.

    I wonder if this is a bug and/or If anyone has experienced a similar problem when copying text into a form.

    Best regards,
    Pablo

    Functions and Hooks used:
    bp_notifications_add_notification
    bp_activity_add
    bp_notifications_get_notifications_for_user
    bp_notifications_get_registered_components
    wp_mail

    strudi1986
    Participant

    Hello!

    Im working for 2 days now to solve my problem, but i dont know how anymore. My Problem is, that i dont know how to activate the Stream Sidebars. On my live page, i cant show the sidebars on the activity site, if i open the activity stream site what is linked in the buddypress options, the sidebars are visible, but there is still my old webdesign and there is missing all of the extensions from the youzify plugin. that are 2 different versions of activity, why? on live page there is a completley different activity page.

    I am using the Hueman Pro Theme, but i tried also some other themes too. still the same problem.

    for some reason i cant customize or link the working activity stream with youzify and the live page. And i also dont have the wall sidebar widget?!

    Here are 2 images with working and non working stream and sidebars.

    Working Stream with Sidebars, but ol webdesign

    Livepage with no working sidebars and activity stream

    Hope anyone can help?! Im pretty bored at the moment. 🙂

    Sorry for my bad english and thank you 🙂

    webcarabao
    Participant

    Hi All,

    Is there a way to override the rendered image for the avatar photo on the What’s New form in the Activity page?
    I have applied the necessary custom values mentioned here – https://codex.buddypress.org/themes/guides/customizing-buddypress-avatars/
    But that does not seem to apply to the What’s New avatar.

    I am using the “Nouveau” template and I look as its files and I cannot see anything to directly override the whats-new-avatar size.

    I have set in my bp-custom.php the sizes to be 150, but the whats-new-avatar image being used still sticks to 50 and thus it becomes blurry.

    I hope somebody can help me on this.

    Thank you!

Viewing 25 results - 26 through 50 (of 747 total)
Skip to toolbar