Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to display BP "Name" in the integrated bbPress forum

  • Avatar of Greg
    Greg
    Participant

    @rebootnow

    I’ve spent the last couple of hours reading posts on this and the bbPress forum, and I’m still not sure how to get display names throughout in a bbPress+WPMU+BP installation. I’m using BBP 1.0.1, WPMU 2.7.1 and BP 1.0.2. They are integrated (shared user tables and cookies, but still two databases).

    I’ve looked at the examples that other folks have posted in the showcase and I see that some integrated forums are using display names, and others are just falling back to the login name in the forum.

    If you currently have display names throughout I’d love to know how you make it happen. I see two possible approaches:

    1. Use the WPMU display name. I think this would be ideal because I can access this in bbPress through bb_get_usermeta(). I don’t know how I would set this display name in the registration process though. I think BP hides the WPMU display name in favor of the Name in wp_bp_xprofile_data.

    2. Use the BP Name. This is supported for registration, but I don’t see a simple way to access this info in bbPress. I think one would either need deep integration, or you would need to write a bbPress plugin to access this field in the db.

    Any pointers would be much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    If you are properly integrated, your BP display name should sync up with bbPress’ post_author() function… you shouldn’t have to do anything… at least that’s the case for me.

    (I’m using deep integration)

    Avatar of Greg
    Greg
    Participant

    @rebootnow

    Ok, this is working for me too. I see that updating the BP “Name” field also results in an update to the “display_name” field in the wp_users table.

    FWIW, I’m not using deep integration.

    Thanks r-a-y.

    BTW, I have some questions regarding the perf impact of deep integration, but I will start a new thread for that.

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

You must be logged in to reply to this topic.