Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 25 results - 26 through 50 (of 837 total)
  • Author
    Search Results
  • #332532
    philsalt123
    Participant

    Certainly! If you’re looking to optimize member profiles on a BuddyPress-powered website for search engines (SEO), you might want to consider the following response:

    Hello there,

    Optimizing member profiles on BuddyPress for SEO is a crucial step to enhance visibility on search engines. Here are some tips to ensure your member profiles are search engine friendly:

    Complete and Relevant Profile Information:
    Encourage members to fill out their profiles thoroughly. Include key information, such as a brief bio, interests, and any relevant links. Search engines often prioritize pages with comprehensive content.

    SEO-Friendly Usernames and Display Names:
    Suggest to members that they choose usernames and display names that are relevant to their identity or interests. This can contribute to better search engine visibility.

    Enable SEO-friendly Permalinks:
    Check your BuddyPress settings and ensure that your permalinks are set up in a way that includes relevant keywords. This helps search engines understand the content of the profile pages.

    Utilize BuddyPress Custom Fields:
    BuddyPress allows you to add custom fields to member profiles. Use these fields to gather additional information that might be relevant for search engine optimization. This could include skills, locations, or any other pertinent details.

    Encourage User-Generated Content:
    User-generated content, such as forum posts or activity updates, can contribute to the overall SEO of the website. Encourage members to engage with the community and share valuable content.

    Implement OpenGraph and Twitter Card Tags:
    Add OpenGraph and Twitter Card meta tags to member profile pages. This enhances how the profile appears when shared on social media platforms, indirectly impacting SEO.

    Mobile Optimization:
    Ensure that member profiles are optimized for mobile devices. Google considers mobile-friendliness as a ranking factor, and a responsive design is crucial for SEO.

    Regularly Update BuddyPress:
    Keep your BuddyPress installation up-to-date. Updates often include improvements and bug fixes that can indirectly impact SEO.

    Remember, SEO is an ongoing process, and monitoring analytics can provide insights into what is working and what can be improved.

    #332486
    Mathieu Viet
    Moderator

    So you’re using BP version 12.0 on a regular site (not a multisite config), you activated, then deactivated BP Classic because it was no more needed. And now when you go into the URLs tab of the BuddyPress settings and tries to customize slugs, it adds a -2 suffix.

    Is it happening when these slugs are default BuddyPress ones only (eg: activity, members) or is it happening even with these slugs: ‘activites’, ‘membres’ for example?

    If it’s only happening with BuddyPress default slugs: check there are no regular WordPress pages using the BP slugs.

    Then try to use the Reset Slugs BuddyPress tools from the WP Admin tools menu.

    If it didn’t fixed the issue, try to temporarily add this code to the functions.php of your active theme:
    remove_filter( 'wp_unique_post_slug', 'bp_core_set_unique_directory_page_slug', 10, 6 );

    Go to the URLs tab of the BuddyPress settings and try to customize slugs again.

    Then remove the custom code you added to the functions.php of your active theme.

    #332381

    In reply to: Help with labels

    Mathieu Viet
    Moderator

    Hi @shemakeswebsites,

    12.0.0 brings URL slugs customization, that’s a big improvement to have meaningful URLs for non English communities.

    These communities are using different words for things like Activity, groups etc.. They can do so thanks to the l10n feature of WordPress. So a good way to reach your goal is to use a custom translation file. And I believe it’s the best way to do so, because the page title or labels won’t be enough to really reword all places where we use groups.

    You can try to put your custom translation file into wp-content/languages/buddypress/buddypress-xx_XX.mo replacing the xx_XX with your locale maybe it’s even working with en_US.

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

    #328457
    semih2400
    Participant

    Hello, I have this code snippet on my custom page.

    <div id="buddypress" class="buddypress-wrap buddyx bp-dir-hori-nav alignwide">
      <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=new_quote' ) ) : ?>
        <div id="activity-stream" class="activity" data-bp-list="activity" >
            <?php bp_get_template_part( 'activity/activity-loop' ); ?>
        </div>
    <?php endif; ?>

    I want to display activity loop. Actually it is ok but activity meta class does not exist. it seem as <div class=" -meta action"> it should be <div class=" activity-meta action">
    If I remove data-bp-list=”activity” on activity-stream div css will be fine it will be activity-meta but click not work. If i use data-bp-list=”activity” click works but css does not work because of -meta (it should be activity-meta)
    Can you help me?

    #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’ );

    hausmanconsulting
    Participant

    Using Youzify with a private BuddyPress site (i.e., everyone is a “member” and there is no public access), there is a profile privacy section at the bottom of the new post area on the activity feed that defaults to “Public”. On private communities this is likely to cause a fair amount of confusion because users will obviously not want anything they post to be truly “Public”, and there’s no need to force them to select “Members” before they post since it’s a private community.

    In Youzify, the list of privacy options is called with apply_filters and a function name “youzify_wall_activity_privacy_option”. So in your bp_custom.php you can add something like this, where I moved the “Members” option to the top and commented out the public option:

    add_filter('youzify_wall_activity_privacy_options', 'youzify_change_public_option' );
    function youzify_change_public_option( $options ) {
    
    	$options = array(
    
    		//'public' => array( 'title' => __( 'Public', 'youzify' ), 'icon' => 'fas fa-globe-asia' ),
    
    		'members' => array( 'title' => __( 'Members', 'youzify' ), 'icon' => 'fas fa-users' ),
    		
    		'onlyme' => array( 'title' => __( 'Only Me', 'youzify' ), 'icon' => 'fas fa-lock' ),
    
    		'friends' => array( 'title' => __( 'My Friends', 'youzify' ), 'icon' => 'fas fa-user-friends' ),
    		
    
    	);
    	
    	return $options;
    
    }

    The keys “public”.”onlyme”, “friends”, and “members” are hard coded into the privacy code so probably best not to change those. The default icon is still the globe when the page is first loaded with the members section at the top of the list, but I think that can be changed in a stylesheet or possibly a theme file override.

    The reason I didn’t just rename “Public” and remove the members option is because if the community ever goes public, we don’t want those posts that were destined for the private community to be shown. This way they are still tagged as “members”.

    #324939
    Socalmedia
    Participant

    How can I customise individual buddypress pages with the Divi Builder?

    I have already tried with the plugin “buddypress shortcodes”.

    However, I notice that the automatically created Buddypress page “activity” has more content than my individual page and the shortcode [activity-listing].

    Why is the whole page not displayed?

    Is there no clever solution for Buddypress with shortcodes?

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

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