Opened 15 years ago
Closed 15 years ago
#3104 closed defect (bug) (fixed)
Inconsistent display of User name
| Reported by: | StevieG | Owned by: | StevieG |
|---|---|---|---|
| Priority: | major | Milestone: | 1.5 |
| Component: | Core | Version: | 1.2.8 |
| Severity: | Keywords: | ||
| Cc: | johnjamesjacoby |
Description
When looking at a members profile, you see the Display name followed by the @user_nicename. The help says this can be used to send messages to the member. However, if this user_nicename is changed to be different from the user login, messaging no longer works. you can see here http://bni-weymouth.org/members/LindaPH/activity/ that I have a member with a LOGIN username of Lindy, she has a DISPLAY name of Linda and I have changed the user_nicename to be LindaPH. Although the help sys that @LindaPH can be used in messaging it can't. To send a message you would still need to use @Lindy as can be verified by the Mentions count (also seen on this page). There needs to be a consistency between the fields used. I did this in order to hide the login usernames for administrators; this workes in that the url uses the user_nicename but the 'mentions' gives the game away!
Change History (6)
#2
@
15 years ago
- Cc added
- Component Messaging → Core
- Keywords User Name messging removed
- Priority normal → major
#3
@
15 years ago
JJJ's said, for now, any place where the login/nicename is explicitly used, should be run through bp_core_get_username(). For example, /bp-default/_inc/ajax.php uses it for bp_dtheme_ajax_messages_autocomplete_results()
#4
@
15 years ago
Oops, I forgot to tag my last commit, r4277, with this ticket, sorry:
Fix at-notifications to work when BP_ENABLE_USERNAME_COMPATIBILITY_MODE is not set and user_nicename != user_login
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This is a bigger problem than just the "at notifications". Some notes:
Do we switch everything over to user_nicename, or change the /members/<>/ URL to use the user_login? Do we want to touch this in 1.3 or leave for a release after that?