Skip to:
Content
Pages
Categories
Search
Top
Bottom

merge friends Acrivity And Personal Activity in one page

  • @abu_eldahab

    Member

    Hello,

    I’m New with Buddypress i want to merge friends Acrivity And Personal Activity in one page

    first i removed the subnav “friends” and “personal” with this function
    function bp_merge_friends_personal()
    {
    global $bp;
    bp_core_remove_subnav_item($bp->activity->slug, ‘friends’);
    bp_core_remove_subnav_item($bp->activity->slug, ‘just-me’);

    }

    and every thing worked fine

    i add new Sub Nav called ” wall “with this code
    function bp_Add_Wall ()
    {
    global $bp;
    $activity_link = $user_domain . $bp->activity->slug . ‘/’;
    bp_core_new_subnav_item( array( ‘name’ => __( ‘Wall’ ), ‘slug’ => ‘wall’, ‘parent_url’ => $activity_link, ‘parent_slug’ => $bp->activity->slug, ‘screen_function’ => ‘bp_activity_wall’, ‘position’ => 10, ) );

    }

    every thing worked fine i should write code for bp_activity_wall function to display the user activity and his friends in the same page like “Facebook”

    when i clicked to the Wall link it return me to the man page

    my questions is

    how to add new template or page to that display these activities

    or if there another solution to merge friends activity and personal activity in the same page

    Regards

Viewing 11 replies - 1 through 11 (of 11 total)
  • @abu_eldahab

    Member

    Hello

    I found The solution i need to add screen function to work as controller and print the content throw it

    and this is the code for doing that

    add_action( ‘bp_template_title’, ‘bp_wall_screen_one_title’ );
    add_action( ‘bp_template_content’, ‘bp_wall_screen_one_content’ );
    bp_core_load_template( apply_filters( ‘bp_core_template_plugin’, ‘members/single/plugins’ ) );

    function bp_wall_screen_one_title()
    {
    _e( ‘wall’, ‘acticity’ );
    }

    /*
    * This function to Add content to our page
    */
    function bp_wall_screen_one_content() {
    do_action( ‘bp_wall_screen_one_content’ );
    bp_core_load_template( apply_filters( ‘bp_activity_template_my_activity’, ‘members/single/home’ ) );

    }
    Regards
    Ahmed

    @jeanpauling

    Participant

    Hi !

    Your idea is great.
    Where do you write all those codes ? into functions.php ?
    Moreover, I would like to merge all “personal”, “friends”,”groups” and “mentions” in one ? using your method, would it be possible ?
    Thanks to help me.

    I’m using wordpress 3.0 , buddypress 1.2.5 , and bp-default theme

    @ourfusion

    Participant

    Ya, it would be really great to know exactly where to put this code! Exactly what I’m looking for, Thank you!

    @virtualityreiki

    Member

    Has anyone figured this one out? I tried putting the code into custom.php and functions.php… but nothing happened. I second the idea above to merge all the personal, friends, groups and mentions into one as well… people are so used to the way fb works, it would be nice to do that for them :)

    @austinfav

    Member

    I would assume it goes in the bp-custom.php file located in your plugins directory. However when i loaded it there I got all types of errors. The code given above is more of a reference then anything else i suppose, as there are a load of misspellings.

    @candy2012

    Member

    if you put it in bp-custom crashes the site, if you try it in functions does not produce any changes.
    so no merge whatsoever unfortunately :-(

    Would be great if this would be doable somehow

    @pinhit

    Member

    yeh crashed my site too :(

    BP PLEASE CREATE A PLUGIN FOR THIS FUNCTION, IT’S THE HOLY GRAIL OF ALL ACTIVITY MODS!!!

    @pinhit

    Member

    to reiterate what @VirtualityStudio said, ” people are so used to the way fb works, it would be nice to do that for them “

    here here !!!

    Don’t get me wrong, BP/WP is a great platform, and we don’t really need millions of fb clones, but the functionality of fb’s activity feeds must surely be an ‘industry standard’ that most sites strive for nowadays.

    Buddypress in my opinion was created not only to provide us with the tools to create our own social networks, but also to strive to be more than just a ‘blog orientated’ social engine.

    Unfortunately the structure for having the ‘site-wide’ feed pulling in profile feed posts may prove to be counter productive in the long run unless more emphasis is placed on the way these items are controlled. Otherwise everyones personal conversations are the but of all gossip for all and sundry to see, a bit like washing your laundry in public lol

    Privacy control too in my humble opinion is ‘up there’ in the priorities list of BP enhancement, I admire the work that contributors have put into some of the plugins in the past but they cannot be relied on to keep up BP updates and really need to become a BP standard protocol no? anyway thats another subject ;)

    @candy2012

    Member

    Thanks for confirming the ímportance of this topic. I really cannot understand why BP does not even seem to want to look into it.

    I would be happy even with a core / bp-custom hack, not necessary a plugin.
    SOMETHING to help solve it!

    And no matter how much I looked and tried to get this done, nothing worked so far!

    BP Team , PLEASE HELP US solve this!

    Thanks!

    @kirancaret

    Participant

    @candy2012, @pinhit , @VirtualityStudio , @abu_eldahab Did you find any plugin or solution to combine everything into one stream..

    Thanks

    @godavid33

    Participant

    Buddypress Wall sort of works, but it is riddled with bugs and the developer seems to be mia. That is to say, I don’t mean to knock the plugin; it is a good plugin but needs some bug fixes is all.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘merge friends Acrivity And Personal Activity in one page’ is closed to new replies.
Skip to toolbar