Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • asoldier
    Participant

    @asoldier

    Discovered a conflict with WP User Management Plus. It does not like the latest version of Buddypress.


    asoldier
    Participant

    @asoldier

    I might have done that wrong, but I did this, and it did not help. I even tried beta 2 and it didn’t help. http://www.gameragereviews.net <


    asoldier
    Participant

    @asoldier

    I also found `user_id );

    if ( !empty( $user->roles ) && is_array( $user->roles ) ) {
    foreach ( $user->roles as $role )
    echo “display_name}’ />”;
    }?>`

    but it doesn’t want to work in the profile


    asoldier
    Participant

    @asoldier

    Now I’m trying to take
    `function pc_get_userrole ($user_id) {

    $user = new WP_User($user_id);

    $userclean = $user->roles[0];

    return $userclean;

    }`

    and
    `echo pc_get_userrole(bp_current_user_id()); `

    and I want to add some custom CSS based on the role.

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar