Buddypress usernames get '-2' appeneded when editting profile
-
I was wondering if anyone could help with my problem in Buddypress.
When a user with a special character in their username edits their profile ‘-2’ is appended to their ‘user_nicename’ meaning that after a few edits their profile url can look like this
`/members/nicename-2-2-2-2-2/`
I have reset the ‘user_nicename’ field for affected users in the database and deleted the extra ‘-2s’ but it just starts again. I have also tried adding
`define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );`
and also changing this to
`define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, false );`
in bp-custom.php and this makes no difference. I have just installed Buddypress and some users pre-existed with special characters in their username. I did find people with a similar problem on buddypress support (ticket/2642) however it is old and outdated and does not help me.
Thanks
Wordpress Version 3.5 / BuddyPress Version 1.6.2 /My Site
- The topic ‘Buddypress usernames get '-2' appeneded when editting profile’ is closed to new replies.