Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 25 results - 1 through 25 (of 838 total)
  • Author
    Search Results
  • franaaa
    Participant

    Hello, I can’t see the content of the Members and Activity Feeds pages. My user has the Administrator role and I’ve set it to an Administrator profile. However, other users with the Customer role can see these pages.

    The Administrator user published a post with an image and a link to a Vimeo video. The post appeared to have been published correctly, but when the page was reloaded, the Activity Feeds content was no longer visible.

    The day before, we were posting, commenting, etc., and everything went smoothly. All the clients were visible on the Members page; administrators aren’t visible on this page because we’ve hidden them in the profile settings. No plugin has been updated. Users with the Customer role can see the content of these pages.

    Any ideas?

    #337969
    Kir 2012
    Participant

    Hi thanks so much for your reply, I have tried the code in both functions and bp custom, I was hoping that it would affect what is shown in the browser tab.

    When on the user profile page, although I have changed all other instances to username throughout the site, the ‘full-name’ still appears in the browser tab / when one hovers a browser tab.

    For example, if one has a username that’s related to a business, eg ‘TopTableFoods’, it isn’t relevant to see the name of the person who opened the account anywhere on the site, also the business would likely prefer not, so I would like to remove the full-name from appearing in the browser tab and anywhere else. The Activity stream, urls and page titles already use only the username, thanks to the plugin ‘username only’. But I noticed the full name still appears in the browser tab.

    Thanks again

    capexpe
    Participant

    WP: 6.7.1
    BP: 14.3.1
    BPGE: 3.7.0
    Theme : BuddyBoss with a custom child theme

    Before version 3.7.0 of the buddypress-groups-extras plugin, I could reorder the group tabs, even the Home/Activity. I used this to put Pages on top (above Activity) to ensure it was the landing page for the group.
    Activity is now hard coded as the first tab in core/templates.php of BPGE as explained in Emaralive’s response to my previous request https://buddypress.org/support/topic/activity-tab-cannot-be-moved-in-manage-page-general-settings-anymore/

    How could I change the default group landing pages to Pages instead of Activity?

    emaralive
    Moderator

    Thanks for the screenshots, they do help. The page shown (General Settings) looks very similar to a page that is provided by the BuddyPress Groups Extras (BPGE) plugin, see the following screenshot:

    Truncated screenshot of BPGE plugin - General settings page

    As indicated in the screenshot, the Home or, in your case, the
    Activities tab is fixed in place by the code:

    
    if ( $nav['slug'] === 'home' ) {
    	$disabled = 'ui-state-disabled';
    }

    The above snippet can be found here and just indicates that the Home tab is disabled from being sortable. The following is what the element (li) has as classname (default ui-state-disabled) for a non sortable tab of which the only one is the Home tab.

    
    <li id="position_686f6d65" class="default ui-state-disabled">
         <strong>Home</strong>
    </li>

    While a sortable tab has default ui-sortable-handle as a classname.

    <li id="position_6d656d62657273" class="default ui-sortable-handle" style="">
          <strong>Members <span>1</span></strong>
    </li>

    The BPGE plugin author claims this change was due to:

    Group's "Activity"/"Home" navigation link is hard coded in BuddyPress to always be the first one, so disable its reordering.

    However, when I rollback from v3.7.0 to v3.6.10, the Home tab is now sortable and can be moved. So the reason for the change is not entirely true.

    Moving along, since the General Settings page from the BPGE plugin is similar to the page from your screenshots, we may be able to infer that there was a fork of some the code (the pages portion) from the BPGE plugin and was included in the BuddyBoss theme which AFAIK is a commercial (paid) theme, meaning I can’t verify the code within this theme due the status of free vs paid. If this is the case, then your resolve will have to come from the BuddyBoss developers. However, if the code that supports manage Page general setting resides elsewhere, e.g., custom code or 3rd party plugin, then the resolve is the responsibility of those who authored the code.

    As an aside, as it relates to the BPGE plugin, there is an appearance of wonkiness with the reordering of group tabs which appears to be a factor that caused the change to make the Home tab not sortable, however, I’m not sure if BuddyPress is causing the wonkiness,

    Having stated all of the above, it seems to me, the reason that you want the Pages tab to be the first tab is because you want that to be the landing page. Would this be a correct assumption? If so, there may be the possibility of changing the landing page to Pages, regardless of the tab order, which will depend on similar the code is similar enough to the BPGE plugin.

    jenniferwatson
    Participant

    Hi,

    I am facing an issue with the media upload option in BuddyPress on my Community Guidelines page. When I try to upload a media file:
    The “Choose File” option appears, and the file successfully uploads in the interface.
    However, the file suddenly disappears, and I get a red error message saying, “Please choose some content to post.”

    Steps I’ve Taken to Fix It:

      Tried using custom code to resolve the issue—no success.
      Cleared cache from the hosting panel and WordPress dashboard.
      Checked for plugin conflicts by disabling all other plugins, but the issue still persists.
      Tested on different themes—the issue remains.

    Moreover strange thing is, Media upload works fine if I go to My Profile → Media and post on my feed.
    The issue only happens inside Groups—media upload is not working on group posts.
    I have also reviewed some BuddyPress articles where users reported the same issue, but I didn’t find a resolution.
    i.e, https://buddypress.org/support/topic/cant-upload-media-from-sitewide-activity-stream/

    As I am handling a community website, I urgently need this feature to work.
    Please provide guidance on how to fix this issue.

    My Site’s URL: edit: link removed
    Thank you!

    capexpe
    Participant

    WP: 6.7.1
    BP: 14.3.1
    Theme : BuddyBoss with a custom child theme

    Since we update to 14.3 we cannot change the Activity tab order in the manage Page general setting anymore

    When we create a group, the default page is Activity.
    Previously it was possible to change it to any other tab in Manage Page General Setting, but not anymore.
    While I can change the place of the other tabs (Pages; Members, etc.) I cannot move the Activity any more, i.e. I cannot grab the Activity button while I can still grab and move the others.

    If I edit an old group where I changed the tab default to something else than Activity, I can still change the other tabs but I cannot grab the Activity and therefore I cannot change its order.

    Could someone help me on where to look at ? I’m clueless at this point.

    I tried on Safari Google Chrome, Firefox and observe the same behaviour.

    Thanks for your help

    Dominique

    teslavolt
    Participant

    I have a custom template page that I’ve added specific bp-activities and its comments (pulled some code from the activity-loop).

    In Buddypress v11.4.3, everything was working fine, the activity displays and comments + reply functionality works – click on a reply and the .ac-form moves to selected reply/comment and it nests it as expected.

    Since Buddypress 12, replies no longer work. I think it’s because the Buddypress scripts no longer load on NON-buddypress pages. I tried enqueueing Buddypress scripts myself using a function:

     function load_bp_activity_scripts(){
        wp_register_script("bpnouveau", "/wp-content/plugins/buddypress/bp-templates/bp-nouveau/js/buddypress-nouveau.js");
        wp_register_script("bpactivity", "/wp-content/plugins/buddypress/bp-templates/bp-nouveau/js/buddypress-activity.js");
        wp_register_script("bpactivitypost", "/wp-content/plugins/buddypress/bp-templates/bp-nouveau/js/buddypress-activity-post-form.min.js");
        wp_register_script("bpmentions", "/wp-content/plugins/buddypress/bp-activity/js/mentions.min.js");
        wp_register_script("corecaret", "/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.caret.min.js");
        wp_register_script("coreatwho", "/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.atwho.min.js");
        wp_enqueue_script("bpnouveau");
        wp_enqueue_script("bpactivity");
        wp_enqueue_script("bpactivitypost");
        wp_enqueue_script("bpmentions");
        wp_enqueue_script("corecaret");
        wp_enqueue_script("coreatwho");
    }
    add_action("load_bp_activity", "load_bp_activity_scripts");
    function load_bp_activity(){ do_action( 'load_bp_activity' );}

    but just loading the scripts is not enough. When I replaced buddypress-activity.js with my own version to debug, I noticed that BP_Nouveau returns as ‘undefined’ and so none of the script functionality would run.

    I’m probably missing something really simple but how can I load Buddypress core scripts or styles in my own custom wordpress template?

    #335629
    GyziieDK
    Participant

    Hello again 🙂

    This might start to make sense then!

    First, when you translate something within the code itself (not using a translation plugin and po/mo file) it will for the most part be overridden whenever you update your WordPress / plugins that are translated. So, this might be why it doesn’t work now after the update.

    I personally use a combination of LocoTranslate and TranslatePress. This is because BuddyPress activity is updated the way it is and for that reason LocoTranslate itself is not able to translate the dynamic content (like when activity updates – without the page doing so) – this TranslatePress supports.

    So, for the BuddyPress content that can’t be translated correctly using LocoTranslate, I use the TranslatePress for those. Both plugins are free to use, and it doesn’t require you to purchase any expensive addons.

    It’s important that you pick the right placement for your translation-files (custom, author, system). If they’re not in the right place the translation might not show up on the front-end. Also make sure you setup the settings within the LocoTranslate plugin not to override your translated files upon updating WordPress: Loco Translate > Settings > File system access > Modification of installed files & Editing of POT (template) files must be set to Disallow.

    For the display name, this should be the default value it sorts by. Mine by default sorts by display name. When you go to Users > Profile Fields – you can edit the different settings from within there with the names and what is mandatory/not mandatory.

    For the sorting part (or other features in the future) if it still causes issues, maybe a snippet code using a plugin like WPCode Lite might be a better solution rather than going into the code and edit it from there. In this way it will not get affected in most cases when you update WordPress, plugins and theme.

    Maybe some of this can help you – if not – then feel free to keep me updated. 🙂

    #335628
    sootsnoot
    Participant

    WP 6.6.2, BP 14.2.1, Divi theme.

    I added a bunch of WordPress users to my site from a csv file using the Import and export users and customers plugin. Worked well. But those users couldn’t figure out how to make friend requests, since they couldn’t “see” the other users that they could ask. After some fumbling through this forum and googling, I came across the “/members” slug. I seemed like exactly what I needed, a list of members with a button to send a friend request to each one. The only problem was that it didn’t show all the users. More ressearch found this post from 10 years ago. Seems the issue was/is that it only shows those users who have had some BuddyPress activity recorded. But since these were mostly new users, most had no activity. So I wrote a little bp-custom.php file containing:

    function make_all_users_active() {
        $users = get_users();
        // repete_log(print_r($users, true), __FILE__, __LINE__);
        foreach($users as $user) {
            if (strlen(bp_get_user_last_activity($user->ID)) == 0) {
                // repete_log(sprintf("bp_update_user_last_activity(%s)", $user->ID), __FILE__, __LINE__);
                echo $user->ID . "<br>";
                bp_update_user_last_activity($user->ID);
            }
        }
    }
    add_action ('wp_loaded', 'make_all_users_active');
    

    This solved the problem of not showing all the other BuddyPress members, but as far as I can tell, I’ve now got to tell all the users that if they’re interested in making friend connections, they have to go to the address bar, and type /members right after the domain name. That seems ridiculous! I guess I could add a page containing a link to that slug that they could click, but it would be nicer if I could make a page they could find as one of the site’s pages that would display the information from that slug, without having to click a link. Better still would be to be able to customize the BuddyPress drop-down menu to add an item for “All Members” that would display the slug’s contents…

    #335601
    Upen Singh
    Participant

    Hi,
    This plugin will add an extended feature to BuddyPress. It will use Shortcode for Listing Activity Streams, Members directory, and Groups directory on any post/page within the website.

    Wbcom Designs – Shortcodes & Elementor Widgets For BuddyPress

    Try FREE BuddyPress Theme: BuddyX – Offers unique layouts with clean code and easy-to-customize options, giving you a whole new way to visualize BuddyPress.

    BuddyX

    #335172
    Beardy
    Participant

    Hi

    Is it possible to add the Activity Feed in a custom location?

    I find the Activity page quite restrictive and would like to add a feed to a custom page via a shortcode.

    I can gt the feed to load like this – however it seems to be missing styling and when clicking comment it redirects me.

    Is there a better way to do this?

    
    function custom_shortcode_activityfeed() {
        ob_start();
        if ( function_exists( 'bp_has_activities' ) ) {
            bp_get_template_part( 'activity/activity-loop' );
        }
        $output .= ob_get_clean();
        return $output;
    }
    add_shortcode( 'custom_activityfeed', 'custom_shortcode_activityfeed' );
    
    Kokiri
    Participant

    Hi everyone,

    I’m working on customizing my BuddyPress site and would like to change the text that says “posted an update in the group” on the activity page. Specifically, I want to replace the word “group” with “Teams.”

    Could someone guide me on which file I need to edit to make this change? Any tips on best practices for modifying this would also be appreciated to ensure I don’t break any future updates.

    Thanks in advance!

    Best,

    #335023
    experthzone
    Participant

    Building a site with BuddyPress and the Divi Theme is definitely doable, but there are some compatibility considerations to keep in mind. The Divi Theme Builder is highly versatile, but its compatibility with BuddyPress depends on how BuddyPress structures its pages.

    Key Points:

    Post Type Compatibility: As the Elegant Themes team mentioned, if BuddyPress uses the default WordPress post type for its pages, you should be able to edit them using the Divi Builder without any issues. BuddyPress typically generates pages using custom post types for specific content like user profiles, activity feeds, etc.

    Custom Templates: You might need to create custom templates for BuddyPress pages. Divi allows for a lot of customization, so you can design layouts that suit your needs. However, the integration may require some manual tweaking to ensure everything displays correctly.

    Third-Party Plugins: There are third-party plugins that help bridge the gap between BuddyPress and Divi, making it easier to customize BuddyPress pages with the Divi Builder. You might want to explore these if you encounter limitations.

    Testing: It would be a good idea to set up a test environment where you can experiment with how BuddyPress and Divi work together, especially when it comes to customizing profile pages and other BuddyPress-specific content.

    If anyone in the community has experience with this setup, it would be great to hear your thoughts and any challenges you encountered!

    #334731

    In reply to: disable rss

    Thanks Venutius, I spent some time using your code along with ChatGPT and this seems to have worked for me, all the feeds are gone….maybe this will help someone else!

    function disable_all_rss_feeds() {
        // Disable all WordPress feeds
        function disable_all_feeds() {
            wp_die(__('No feed available, please visit the <a href="'. get_bloginfo('url') .'">homepage</a>!'));
        }
    
        add_action('do_feed', 'disable_all_feeds', 1);
        add_action('do_feed_rdf', 'disable_all_feeds', 1);
        add_action('do_feed_rss', 'disable_all_feeds', 1);
        add_action('do_feed_rss2', 'disable_all_feeds', 1);
        add_action('do_feed_atom', 'disable_all_feeds', 1);
        add_action('do_feed_rss2_comments', 'disable_all_feeds', 1);
        add_action('do_feed_atom_comments', 'disable_all_feeds', 1);
    
        // Remove RSS feed links from the header
        remove_action('wp_head', 'feed_links', 2);
        remove_action('wp_head', 'feed_links_extra', 3);
    
        // Disable BuddyPress feeds
        remove_action('bp_activity_feed', 'bp_activity_action_sitewide_feed');
        remove_action('bp_activity_sitewide_feed', 'bp_activity_action_sitewide_feed');
        remove_action('bp_member_activity_feed', 'bp_activity_action_sitewide_feed');
        remove_action('bp_group_activity_feed', 'bp_activity_action_sitewide_feed');
        remove_action('bp_member_feed', 'bp_dtheme_activity_feed');
        remove_action('bp_group_feed', 'bp_dtheme_group_activity_feed');
    
        // BuddyPress Nouveau template pack feed removals
        remove_action('bp_nouveau_group_header_meta', 'bp_nouveau_group_meta', 50);
        remove_action('bp_nouveau_group_header_meta', 'bp_nouveau_group_meta', 50);
        remove_action('bp_nouveau_action_activity_content', 'bp_nouveau_activity_feed', 5);
    
        // Disable BuddyPress members feeds
        remove_action('bp_members_directory_members_feed', 'bp_members_feed');
    
        // Disable BuddyPress groups feeds
        remove_action('bp_groups_directory_groups_feed', 'bp_groups_feed');
        remove_action('bp_group_activity_feed', 'bp_group_activity_custom_feed');
    
        // Disable BuddyPress blogs feeds
        remove_action('bp_blogs_directory_blogs_feed', 'bp_blogs_feed');
        remove_action('bp_blog_comments_feed', 'bp_blog_comments_custom_feed');
    
        // Disable BuddyPress forums feeds
        remove_action('bp_forums_directory_topics_feed', 'bp_forums_feed');
        remove_action('bp_forums_topic_feed', 'bp_forum_topic_custom_feed');
    }
    add_action('bp_init', 'disable_all_rss_feeds', 1);
    
    // Disable BuddyPress Nouveau feeds
    function disable_buddypress_nouveau_feeds() {
        remove_action('bp_nouveau_activity_feed', 'bp_nouveau_activity_feed');
        remove_action('bp_nouveau_group_feed', 'bp_nouveau_group_feed');
    }
    add_action('bp_init', 'disable_buddypress_nouveau_feeds', 1);
    
    // Disable pingbacks and trackbacks for privacy
    add_filter('xmlrpc_methods', function($methods) {
        unset($methods['pingback.ping']);
        return $methods;
    });
    
    add_filter('wp_headers', function($headers) {
        unset($headers['X-Pingback']);
        return $headers;
    });
    
    add_filter('pings_open', '__return_false', 10, 2);
    
    // Remove RSS feed div by ID and class using jQuery
    function remove_rss_feed_div() {
        if (is_buddypress()) {
            ?>
            <script type="text/javascript">
            jQuery(document).ready(function($) {
                $('#activity-rss-feed.feed').remove();
            });
            </script>
            <?php
        }
    }
    add_action('wp_footer', 'remove_rss_feed_div');
    
    add_filter( 'bp_rest_api_is_available', '__return_false' );
    #333980
    gishw
    Participant

    I have created a solution for this and this works. but like count only changes when pages are refresh. any solution for that?
    // CODE TO GET LIKES COUNT

    ## create a table wp_likes

    function custom_activity_content_below( $activity_id ) {
    // echo bp_activity_id();

    global $wpdb;

    // Query to count the number of favorites for a specific activity
    $favorite_count = $wpdb->get_var( $wpdb->prepare(

    SELECT COUNT(*)
    FROM {$wpdb->prefix}likes
    WHERE activity_id = %d
    “,
    bp_get_activity_id()
    ) );

    echo ‘<div class=”like_count” style=”margin-top: 10px; color: black;”>’.$favorite_count .’ Likes</div>’;
    }

    add_action( ‘bp_activity_entry_meta’, ‘custom_activity_content_below’,10,1 );

    function get_activity_favorite_count( $activity_id ) {
    global $wpdb;

    // Query to count the number of favorites for a specific activity
    $favorite_count = $wpdb->get_var( $wpdb->prepare(

    SELECT COUNT(*)
    FROM {$wpdb->prefix}bp_activity_user_favorite
    WHERE activity_id = %d
    “,
    $activity_id
    ) );

    return $favorite_count;
    }

    function save_activity_like_to_table($activity_id) {

    global $wpdb;

    // Get current user ID
    $user_id = get_current_user_id();

    // Table name
    $table_name = $wpdb->prefix . ‘likes’;

    // Insert data into the custom table
    $wpdb->insert(
    $table_name,
    array(
    ‘activity_id’ => $activity_id,
    ‘user_id’ => $user_id,
    ‘created_at’ => current_time( ‘mysql’ ),
    ),
    array(
    ‘%d’,
    ‘%d’,
    ‘%s’,
    )
    );
    }

    add_action( ‘bp_activity_add_user_favorite’, ‘save_activity_like_to_table’, 10, 1 );

    function delete_activity_like_from_table($activity_id) {
    global $wpdb;

    // Get current user ID
    $user_id = get_current_user_id();

    // Table name
    $table_name = $wpdb->prefix . ‘likes’;

    // Delete data from the custom table
    $wpdb->delete(
    $table_name,
    array(
    ‘activity_id’ => $activity_id,
    ‘user_id’ => $user_id,
    ),
    array(
    ‘%d’,
    ‘%d’,
    )
    );
    }

    add_action( ‘bp_activity_remove_user_favorite’, ‘delete_activity_like_from_table’, 10, 1 );

    #333900
    angelinajaade
    Participant

    I have the WordPress Creator Plan.

    In left side menu under ‘Users‘ there is ‘Member Types‘.

    Clicking on ‘Member Types’ opens this (screenshot) page and this is my setup with created Member Types: Screenshot .

    The plugins I have active are:
    – (BuddyDev) BP Auto Login on Activation
    – Activity Pub
    – Akismet
    – BP Auto Group Join
    – BP MPO Activity Filter
    – BP Profile as Homepage
    – BuddyPress
    – BuddyPress Username Changer
    – BuddyPress Xprofile Custom Field Types
    – Crowdsignal Forms
    – Crownsignal Polls & Ratings
    – Gutenberg
    – Imsanity
    – Jetpack
    – Jetpack Boost
    – Kirki Customizer Framework
    – Leira Letter Avatar
    – Link Page to Groups
    – Page Optimize
    – rtMedia for WordPress
    – WordPress.com Editing Toolkit
    – WP Headers And Footers WP User Login Notifier
    – Yoast SEO
    – Youzify

    I have disabled Youzify and BuddyPress Xprofile Custom Field Types to see if they made the Member Types possible to create but no.

    Thank you for your patience.

    #333629

    Topic: custome query

    in group forum Installing BuddyPress
    priyam1234
    Participant

    i want to get only 2 comments , on load of activity page . wich i really get using my code
    “add_filter(‘bp_use_legacy_activity_query’, function ($value, $method, $args) {
    if ($method == “BP_Activity_Activity::get_activity_comments”) {
    return true;
    }
    }, 10, 3);

    add_filter( ‘bp_activity_comments_user_join_filter’, function( $value, $activity_id, $left, $right, $spam = ‘ham_only’ ) {
    // Modify the SQL query to fetch only two comments
    global $wpdb, $bp;
    $bp = buddypress();

    $xprofile_active = function_exists(‘bp_is_active’) && bp_is_active( ‘xprofile’ );

    // Initialize fullname related variables
    $fullname_select = $fullname_from = $fullname_where = ”;

    // Select the user’s fullname with the query if XProfile is active and user has filled the field.
    if ( $xprofile_active ) {
    if ( bp_has_profile() ) {
    // Get the field value if user has filled it.
    $field_id = 1; // Modify this according to your field ID.
    $field_value = bp_get_profile_field_data( ‘field=’ . $field_id );
    if ( !empty( $field_value ) ) {
    $fullname_select = “, pd.value as user_fullname”;
    $fullname_from = “, {$bp->profile->table_name_data} pd “;
    $fullname_where = “AND pd.user_id = a.user_id AND pd.field_id = $field_id”;
    }
    }
    }

    // Don’t retrieve activity comments marked as spam.
    if ( ‘ham_only’ == $spam ) {
    $spam_sql = ‘AND a.is_spam = 0’;
    } elseif ( ‘spam_only’ == $spam ) {
    $spam_sql = ‘AND a.is_spam = 1’;
    } else {
    $spam_sql = ”;
    }

    // Modify the SQL query to fetch only two comments
    $sql = $wpdb->prepare( “SELECT a.*, u.user_email, u.user_nicename, u.user_login, u.display_name{$fullname_select}
    FROM {$bp->activity->table_name} a, {$wpdb->users} u{$fullname_from}
    WHERE u.ID = a.user_id {$fullname_where}
    AND a.type = ‘activity_comment’ {$spam_sql}
    AND a.item_id = %d
    AND a.mptt_left > %d
    AND a.mptt_left < %d
    ORDER BY a.date_recorded ASC
    LIMIT 2″,
    $activity_id, $left, $right );

    return $sql;
    }, 10, 5 );”

    but it give me also count 2 , can i get original count.

    means , any activity has 10 comment then it display only 2 but give count 10

    #333447
    lostinpress
    Participant

    There can be a few reasons why comments aren’t showing up in your activity stream. Here’s how to troubleshoot the issue:

    Check Settings:
    Platform Settings: Verify that comments are enabled for the activity stream and for the specific content type (e.g., blog posts, forum discussions) you’re looking at. This might be in your platform’s administration panel.
    Comment Moderation: Is comment moderation enabled? Comments might be waiting for approval before showing up.

    Content vs. Stream:
    Comment Location: Were the comments made directly on the post or within the activity stream itself? Some platforms only show comments made on the original post in the activity stream.

    Technical Issues:
    Cache: Clear your browser cache and reload the page. Outdated cached data might hide comments.
    Plugins/Themes: If you’re using a custom theme or plugins related to activity streams or comments, try temporarily deactivating them to see if there’s a conflict.

    Platform Specifics:
    For example, BuddyPress (a popular social networking plugin for WordPress) has settings related to where comments appear in the activity stream. Look for documentation specific to your platform.

    #333426

    In reply to: URL issues

    fatdogstudios
    Participant

    I have a similar issue. After plugin updates, the activity page url often stops working.

    To get around it I have to add “-3” to the end of the activity page url, and then create a redirect as we have urls going to the activity page in our menu. It works for a while, but eventually stops working. When this happens, I change the url back by removing the “-3” and remove the redirect.

    I need to change the members url as well by adding “-3” to the end of it, or removing it depending on which url is working.

    This typically only happens after running plugin updates. This last time a plugin auto updated and we lost our urls. wpmudev. I’ve turned off auto updates so I can keep an eye on things, but it would be good to know what’s causing this.

    I have the latest version, and BP classic, also the latest version. WP and everything else is kept up to date.

    Thanks

    1. Which version of WordPress are you running? latest

    2. Did you install WordPress as a directory or subdomain install? installed at /

    3. If a directory install, is it in root or in a subdirectory? root

    4. Did you upgrade from a previous version of WordPress? If so, from which version? always up to date.

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. yes

    6. Which version of BP are you running? 12.3.0

    7. Did you upgraded from a previous version of BP? If so, from which version? yes. using BP for over 5 years. kept up to date weekly.

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? too many to list…

    9. Are you using a standard WordPress theme or customized theme? custom

    10. Which theme do you use ? Thrive

    11. Have you modified the core files in any way? no

    12. Do you have any custom functions in bp-custom.php? no

    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? not running bbPress

    14. Please provide a list of any errors in your server’s log files. https://codex.wordpress.org/Debugging_in_WordPress autoindex error happened around the time a plugin auto updated, which I suspect caused the url change. The plugin was wmpu dev, but other updates cause this as well. error references public_html/.well-known/. not sure if this is related.

    15. Which company provides your hosting? liquidweb

    16. Is your server running Windows, or if Linux; Apache, nginx or something else? alma linux

    17. Which BP Theme are you using?

    18. Have you overloaded any BuddyPress template files. no

    19. Any other site customisations that might have a bearing on the issue? Not that I know of.

    20. What BP Template Pack is activated in your installation? You will see that under Dashboard > Settings > BuddyPress – Options page. New Template/Nouveau Template

    testovac
    Participant

    i Have this link now: https://domain.com/member/johndoe/activity/512/
    but need this: https://domain.com/512/

    how i can do that by some php snippet? pls help

    Something like this? but its bad code i mean

    function custom_activity_link($activity_id = false) {
        global $bp;
        if (!$activity_id) {
            $activity_id = bp_get_activity_id();
        }
        return home_url('/' . $activity_id . '/');
    }
    
    function change_buddypress_activity_permalink() {
        global $bp;
        $bp->activity->root_slug = 'activity';
        add_rewrite_rule('^([0-9]+)/?$', 'index.php?pagename=activity&p=$matches[1]', 'top');
    }
    
    add_action('bp_init', 'change_buddypress_activity_permalink', 2);
    add_filter('bp_get_activity_thread_permalink', 'custom_activity_link', 10, 2);
    mervyntsao
    Participant

    I have installed the buddypress plugin on my site. But there is no way to edit the generated page https://ohwhat.com/activity/ and https://ohwhat.com/members/ and others. Those two URLs are not listed in my WordPress “Page” dashboard.

    agajania
    Participant

    According to the following document

    https://github.com/imath/buddypress/blob/master/docs/user/administration/settings/urls.md

    “Every BP Component using a directory gets an accordion panel to let you customize its title and permalink as well as potential single item screen URLs when supported (eg: Members and Groups).”

    However, on my BuddyPress Settings->URLs screen, I see accordion panels for Members and Activity Streams. I do not see an accordion panel for User Groups, even though it is enabled in the Components screen.

    I see the following message in the Network Dashboard and the Main Site Dashboard:

    A BuddyPress page has been added for the following active BuddyPress Components which did not have associated BuddyPress Pages yet: Groups. You may need to refresh your permalink settings.

    #333132
    Varun Dubey
    Participant

    @locker17, there is no option to edit BuddyPress Directory pages with Elementor like members Groups, Activity, or Registration.
    For the login & 404 page, you can create a template for it, as it can be a regular page with an Elementor widget on it.

    For registration pages, that’s template driven, and you need to override the template to make those changes, or you can also use some 3rd party plugins like Gravity Forms and WP Forms with their user registration addon to create custom registration forms.

    #333054
    AWOL
    Participant

    Hi @imath,
    I don’t know if my issue is related to this release, as I haven’t been checking for a couple of weeks, but none of the Buddypress pages are loading – all I get is “Loading the xxx updates. Please wait.” – this is for Activity, Group Activity, Groups, Profile Activity, Notifications, Friends, Groups etc etc. No errors in server logs or debug log. However, if I change from Nouveau to Legacy they are fine, so obviously something is amiss with Nouveau, rather than it being a plugin or WP theme – can you suggest where I need to look to fix this? I have already tried deactivating and reactivating, turning off plugins and changing themes.I have also reuploaded the bp-nouveau folder/files from a new download of the plugin but still the same. I really need some help as my site is unusable and switching to legacy loses many of my style and functional customisations.

    #332871
    investbuddy123
    Participant

    Hi, I got some error about the BP Classic. Before the bp’s updates, my activity page is working without activate BP Classis plugin. For now, I need to activate the BP classic plugin to work my activity page. However, I cannot customize my site now when I activate my BP Classic plugin.

    May I know how to solve the problem?

    This is how my activity page without activate BP Classic looks like: https://ctrlv.link/rSS8

    Activity URL: https://myinvestbuddies.com/feeds/

Viewing 25 results - 1 through 25 (of 838 total)
Skip to toolbar