Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] BP 1.6 admin bar menu and profile editing

  • Avatar of shanebp
    shanebp
    Moderator

    @shanebp

    In BP 1.6, as an admin, the links for editing a member’s profile have been moved to the admin_bar_menu and the links for ‘Public Edit Change Avatar’ no longer appear, correct ?

    Is there a way to make those links reappear for admins ?
    A client wants the top admin bar disabled – easy to do – but they also want to be able to edit profiles the ‘old’ way, iow. we need those links.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Avatar of @ubernaut
    Ben Hansen
    Participant

    @ubernaut

    something must be wrong with your setup or theme the “old way” still exists.

    Avatar of shanebp
    shanebp
    Moderator

    @shanebp

    BP 1.6.3, WP 3.5, no other plugins, default BP theme – iow. a basic install.

    Anyone else have this issue or any suggestions ?

    Avatar of @ubernaut
    Ben Hansen
    Participant

    @ubernaut

    sorry i’m not sure maybe someone else has a better answer but maybe try re-installing buddypress?

    Avatar of shanebp
    shanebp
    Moderator

    @shanebp

    I’m seeing this issue on 5 different installs on 3 different servers – 3 custom themed, 2 not.

    Avatar of @ubernaut
    Ben Hansen
    Participant

    @ubernaut

    so you’re saying that when you visit the profile tab of your own member page you are not seeing the change avatar sub tab on any of your installs? is this something which just happened? do you see the other sub tabs (public and edit)? are all these servers using the same hosting?

    Avatar of shanebp
    shanebp
    Moderator

    @shanebp

    No – visiting other member profiles as an admin.

    Maybe there is an easier way, but this works:

    `function profile_admin_check ($my_profile) {
    if ( current_user_can(‘add_users’) )
    $my_profile = true;

    return $my_profile;
    }
    add_filter( ‘bp_is_my_profile’, ‘profile_admin_check’, 10,1 );`

    Avatar of @ubernaut
    Ben Hansen
    Participant

    @ubernaut

    ah gotcha, well what i do is have a plugin that allows me to switch into other users temporarily for that kind of thing but maybe your way is simpler so…

    if you’re interested in my method the plugin is called user switching and on a member profile page there will be a button to switch into them then normally you’d use the admin bar to switch back but if you are getting rid of that there should also be a switch back link added by the plugin to the footer as well.

    Avatar of shanebp
    shanebp
    Moderator

    @shanebp

    Yes, I’ve seen that plugin before.
    I believe the filter above accomplishes the same thing, in this case much simpler.

    btw – [embarrassed] how do you mark a thread here as resolved ?

    Avatar of @ubernaut
    Ben Hansen
    Participant

    @ubernaut

    i think only mods can do that. maybe you can if you can edit the thread title [Resolved] in front of the existing title is i believe the accepted format for that.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @shanebp @ubernaut if you’re the original poster, you can “edit” your topic and just add [Resolved] before your topic title, which I’ll do now for this topic. There’s a cool new plugin by imath which makes it much easier to mark a topic as resolved in your own installations http://wordpress.org/extend/plugins/buddy-bbpress-support-topic/

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

You must be logged in to reply to this topic.