[buddypress-trac] [BuddyPress] #3573: BP 1.5 - Auto Complete of to: field when sending private message
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Tue Sep 13 00:16:08 UTC 2011
#3573: BP 1.5 - Auto Complete of to: field when sending private message
--------------------------+------------------------------
Reporter: simon_said | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Messaging | Version: 1.5
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+------------------------------
Changes (by boonebgorges):
* keywords: needs-testing => dev-feedback
Comment:
The problem arises when the username has periods in it. By default,
BuddyPress uses user_nicename (rather than user_login) when referencing
users. WordPress does not allow periods in the user_nicename column.
The immediate answer is to put the following in your wp-config.php file,
which will solve the problem:
{{{
define( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE', true );
}}}
Devs - we could also be a bit more generous in some of our core functions,
and be a bit more generous about the distinction between username
compatibility mode on and off. See 3573.01.diff for an example of what I
mean. FWIW I think that we probably should implement something like
3573.01.diff in any case, since at the moment bp_core_get_userid() is not
compatible with _USERNAME_COMPATIBILITY_MODE.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3573#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list