Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Avatar of iamdhunt
    iamdhunt
    Participant

    @iamdhunt

    This post is closed, the project has been claimed.

    Avatar of iamdhunt
    iamdhunt
    Participant

    @iamdhunt

    Never mind I reloaded a backup and it seems to be working again.

    Avatar of iamdhunt
    iamdhunt
    Participant

    @iamdhunt

    Thanks, easy fix. Love the plugin.

    Avatar of iamdhunt
    iamdhunt
    Participant

    @iamdhunt

    I figured this out. I couldn’t find a function to use so I just went into bp-activity-loader.php and changed the ‘default_subnav_slug’ => ‘just-me’, to ‘default_subnav_slug’ => ‘my-stream’,

    I’ll have to make this change every time I update but it’ll have to do for now.

    Avatar of iamdhunt
    iamdhunt
    Participant

    @iamdhunt

    @financetrain Can I ask exactly which files and functions did you need to copy to get it working? Thanks.

    Avatar of iamdhunt
    iamdhunt
    Participant

    @iamdhunt

    Well I’m using a custom activity stream provided by Buddydev that pulls all of a users relevant activity into one convenient feed, similar to Facebook. The problem I’m having is that when a user goes to their profile they have to click on the “My Stream” tab again for their checkin option to show up properly in their post form. Not a huge problem but kind of annoying.

    Now that I think about it more if there was a way I could change the slug of the Personal subnav to something like “/activity/personal” then change the My Stream subnav slug to just “/activity/” I’m sure that’d solve it. Any way of doing this?

    Avatar of iamdhunt
    iamdhunt
    Participant

    @iamdhunt

    Wow I made things a lot harder than they should’ve been lol. All I had to do was replace ”!is_super_admin()” with ”!is_user_logged_in()”. Thanks for pointing me in the right direction.

    Avatar of iamdhunt
    iamdhunt
    Participant

    @iamdhunt

    Ok sorry but I’m not the best programmer. Using their menu as an example, do you mean something like this:

    ”function add_sumtips_admin_bar_link() {
    global $wp_admin_bar;
    if ( !is_super_admin() || !is_admin_bar_showing() )
    return;
    if ( is_user_logged_in() )
    $wp_admin_bar->add_menu( array(
    ‘id’ => ‘sumtips_link’,
    ‘title’ => __( ‘SumTips Menu’),
    ‘href’ => __(‘http://sumtips.com’),
    ) );
    else
    false;
    endif
    }
    add_action(‘admin_bar_menu’, ‘add_sumtips_admin_bar_link’,25);”

    Avatar of iamdhunt
    iamdhunt
    Participant

    @iamdhunt

    Thanks I got the redirect logout to work by using the function from here: http://projectivemotion.com/2011/07/27/wordpress-always-redirect-to-homepage-after-logout/

    Still looking to change the link on the toolbar’s My Account from “Edit Profile” to “Activity”

    Avatar of iamdhunt
    iamdhunt
    Participant

    @iamdhunt

    Thanks but I already understand how to add items to the menu, I’ve already done that. What code do I need to add to hide those menu items from non-logged in users?

    Avatar of iamdhunt
    iamdhunt
    Participant

    @iamdhunt

    Awesome! That did the trick thank you very much.

    Avatar of iamdhunt
    iamdhunt
    Participant

    @iamdhunt

    Thanks. I’ll be looking for it.

    Avatar of iamdhunt
    iamdhunt
    Participant

    @iamdhunt

    Hm, well I switched to the default theme but I still got the same error. It might be a problem with one of my plugins but I’m not sure. I think I’ll just hold off on upgrading for now hopefully they’ll become compatible.

    Avatar of iamdhunt
    iamdhunt
    Participant

    @iamdhunt

    Oh and commenting was working just fine before I updated Buddypress.

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