Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity Feed Missing (Page Content Displayed Instead)


  • stoi2m1
    Participant

    @stoi2m1

    WP 4.9.1
    BP 2.9.2

    I see the page content instead of the Activity Feed. I put some silly comment as a place holder when I first setup the site years ago and this is what I am currently seeing.

    In Settings >> Buddypress >> Pages – My Activity Page is configured for a page named Community.
    I have tried making a new page named Activity and assigning it instead of the Community Page but then all I get is a blank page (content is blank).
    I have both visited and saved permalinks.
    Both the Members and Groups pages are working.

    Any ideas of what could cause the page content to display instead of page content? Seems like some sort of permalink issue to me. Since the Permalink isnt caught by Buddypress and triggering the feed display.

Viewing 2 replies - 1 through 2 (of 2 total)

  • stoi2m1
    Participant

    @stoi2m1

    Super weird. I disabled all of my plugins except Buddypress, Activated the Parent Theme and still had issues. Copied over the BP Default theme and things work.

    I have not changed anything in the parent theme, very odd that it seems to be the issue. Maybe some of this happened when I upgraded to the most recent WP and BP.


    stoi2m1
    Participant

    @stoi2m1

    I found the default theme was also showing issues which I missed.

    I had both Groups and Members as a Child Page to My Activity Page, named Community. This was causing both single members profiles and single groups to not work. Until I find a solution I have made them Main Pages (no parent assigned). Is there a way to set the slug? I found these deprecated constants, is there some new way?

    Deprecated Method in bp-custom.php use:

    define ( 'BP_MEMBERS_SLUG', 'community/groups' );
    define ( 'BP_GROUPS_SLUG', 'community/members' );

    From the following link:

    Changing Internal Configuration Settings

    I also found my other issue in bp-custom.php. Forgot all about that one.

    I created an aggregate feed called “My Feed” to display a more personal feed (which is working just fine). I used it on both the Activity in Profiles and the Main Activity Stream (site wide). I am using the following function to change the default sub nav for activities in profiles (Profile >> Activity >> Default Sub Nav) to “My Feed”. This works for profiles but causes the Site Activity to stop working.

    function gzp_set_default_activity_sub_nav() {
     
        bp_core_new_nav_default (
            array(
                'parent_slug'       => buddypress()->activity->id,
                'subnav_slug'       => 'my-feed',
                'screen_function'   => 'gzp_bp_my_feed_screen_activity'
            )
        );
    }
    add_action( 'bp_setup_nav', 'gzp_set_default_activity_sub_nav', 20 );
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar