Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] BP 1.6 admin bar menu and profile editing

  • @shanebp

    Moderator

    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)
  • @ubernaut

    Participant

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

    @shanebp

    Moderator

    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 ?

    @ubernaut

    Participant

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

    @shanebp

    Moderator

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

    @ubernaut

    Participant

    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?

    @shanebp

    Moderator

    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 );`

    @ubernaut

    Participant

    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.

    @shanebp

    Moderator

    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 ?

    @ubernaut

    Participant

    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.

    @mercime

    Participant

    @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 https://wordpress.org/extend/plugins/buddy-bbpress-support-topic/

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] BP 1.6 admin bar menu and profile editing’ is closed to new replies.
Skip to toolbar