BuddyDev

Search

[Resolved] Personal not linking to personal

  • Participant
    Level: Enlightened
    Posts: 69
    Christopher Niedzwiecki on #6651

    The personal link does not link to ix3gaming.com/activity/personal, it links to ix3gaming.com/activity. Is there a way to fix this?

    http://tinypic.com/view.php?pic=rruwp4&s=9

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #6661

    Hi Chris,
    The link seems perfect. The “personal” is the default landing page for your activity. Until you set some other tab as your default landing, the adminbar link will point to activity.

  • Participant
    Level: Enlightened
    Posts: 69
    Christopher Niedzwiecki on #6663

    Oh, ok. Is there a way to make it link to username/activity/personal? That way users will have a way to see only their posts for whatever reason.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #6676

    Hi Chris,
    It is not suggested. Try putting that in url(after the member profile url) and you will know why.

  • Participant
    Level: Enlightened
    Posts: 69
    Christopher Niedzwiecki on #6715

    Oh, good eye. I know there is a way to see only the stuff you have posted. That’s basically what I want it to link to. As of right now I have a plugin to have the profile set to home page, so getting to the “Facebook like” stream is easy. I want people to have an easy option to see what only their posts are just in case they want to go back and delete something, etc. There was a button on the profile page that said “personal” and it would do this, but I hid it with css for a cleaner look. That’s what I want that “personal” button in the drop down menu to do for me. Any ideas?

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #6716

    Hi Chris,
    Thank you.

    Well, now I understand the reason too. It is because you are using the Facebook like activity stream. I will check and find a way.

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 69
    Christopher Niedzwiecki on #6803

    I would love that 😀

  • Participant
    Level: Enlightened
    Posts: 69
    Christopher Niedzwiecki on #6818

    http://ix3gaming.com/***profile name here***/activity/personal/

    ^
    This will filter out the activity stream to only show your personal posts.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #6820

    Hi Chris,
    Please put this in your bp-custom.php

    
    
    /**
     * Update the url of the "Activity->Personal" link in the adminbar
     */
    function buddydev_update_personal_activity_in_admin_bar() {
    	global $wp_admin_bar;
    
    	if ( ! is_user_logged_in() ) {
    		return ;
    	}
    
    	// Update personal activity Url for the logged in user
    	$wp_admin_bar->add_menu( array(
    		'parent'   => 'my-account-activity',
    		'id'       => 'my-account-activity-personal',
    		'href'      => bp_loggedin_user_domain() . bp_get_activity_slug() . '/personal/',
    	) );
    }
    add_action( 'bp_activity_setup_admin_bar', 'buddydev_update_personal_activity_in_admin_bar', 100 );
    
    

    Please do let me know if that works for you or not?

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 69
    Christopher Niedzwiecki on #6827

    YESSSSSSSSSSSSSSSSSSSSSSSSSS. Thank you :D!

The topic ‘ [Resolved] Personal not linking to personal’ is closed to new replies.

This topic is: resolved