Skip to:
Content
Pages
Categories
Search
Top
Bottom

item-header-content

  • @whiskyharry

    Participant

    Hi,
    I have a very strange Problem!
    In the <div id=”item-header-content”> section there Should be a <h2 class=”user-nicename”></h2> entry with @whiskyharry, for example.
    In my installation, I’m missing this since today.

    What did I do?
    I’ve installed two plugins “BP Display Name” and “Buddypress Usernames Only”

    Why did I do that?
    In the registration process, there are some fields to be filled out and they are organized in two columns:
    Username, Emailaddress and Password ( I think these are for WP ) and another Name ( I think this is the nickname for Buddypress )

    I entered the following:
    username “Snowwhite”
    name “Sleeping Beauty”

    In the tables, I found the entries as follows:
    wp_xy_users:
    user_login: Snowwhite
    user_nicename: snowwhite
    display_name: Sleeping Beauty

    wp_xy_usermeta:
    first_name: Sleeping
    last_name: Beauty
    nickname: Sleeping Beauty

    wp_xy_bp_xprofile_data:
    field_id 1: Sleeping Beauty

    Then I log-in:
    URL: snowwhite
    Login-Widget: Sleeping Beauty
    Header: Snowwhite
    Breadcrumb: Snowwhite
    in the Profile Name field: Sleeping Beauty

    Then I Change my Name (expected: I change the nickname) to “Tarzan”
    URL: snowwhite
    Login-Widget: Sleeping Beauty
    Header: Snowwhite
    Breadcrumb: Snowwhite
    in the Profile Name field: Sleeping Beauty

    When I log in and change my Profile-Name to “Tarzan”, I find the following:
    URL: snowwhite
    Login-Widget: Tarzan (that should be the Username?)
    Header: Tarzan
    Breadcrumb: Tarzan
    in the Profile Name field: Tarzan

    wp_xy_users:
    user_login: Snowwhite
    user_nicename: snowwhite
    display_name: Tarzan

    wp_xy_usermeta:
    first_name: Tarzan
    last_name:
    nickname: Tarzan

    wp_xy_bp_xprofile_data:
    field_id 1: Tarzan

    So, with changing the nickname, I changed first_name, last_name, nickname and the LOGIN_NAME

    So I ask me some questions:
    1. Is this the correct behavor?
    2. What do I really change?
    3. Where is my “item-header-content” ?

    Can anybody hep me? I’m very confused 🙁

Viewing 1 replies (of 1 total)
  • @whiskyharry

    Participant

    thx to all for your efforts!

    it seems that activity has to be activated to show the member title correctly.

    complete nonsens, but there must be some logic in these stupid lines of code in the member-header:

    <?php if ( bp_is_active( ‘activity’ ) && bp_activity_do_mentions() ) : ?>
    <h2 class=”user-nicename”>@<?php bp_displayed_user_mentionname(); ?></h2>
    <?php endif; ?>

    🙁

Viewing 1 replies (of 1 total)
  • The topic ‘item-header-content’ is closed to new replies.
Skip to toolbar