Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

Last modified 3 years ago

#1135 closed defect (bug) (fixed)

Dash instead of Dot in Member-URLs in Member Widget

Reported by: owrede's profile owrede Owned by:
Milestone: 1.1.1 Priority: critical
Severity: Version:
Component: Keywords: member, url, widget, members, url, template, templates
Cc: owrede@…

Description

Dots in member IDs (e.g. "o.wrede") which we happen to have due to our Accounts coming from an LDAP server, seem to be translated to dashes in URL to the member pages (e.g. "o-wrede").

As a consequence the member profile pages are not found via links in the widget.

Change History (6)

#1 @owrede
15 years ago

  • Keywords members template templates added

The problem seems to be more serious'''

Obviously much ALL links in to the member-Profiles show this behavior. Users can't get to their profiles and can't edit or navigate them.

Other usernames (e.g. in the lists under /members/ or the authors pulldown menu of the BP admin bar) omit the dot completly without replacing it with a dash -- creating the same non-working URLs.

#2 @apeatling
15 years ago

Do the URL's work if you manually type them in with the dots?

#3 @owrede
15 years ago

Yes, they do work if I type them manually.

Submitting a form (e.g. editing the profile) does not work as the action-URL points to a non-existent method.

#4 @owrede
15 years ago

Here is an example:

That is the profile URL: http://campusphere.de/members/karin.haake/
On the homepage this user is linked with http://campusphere.de/members/karin-haake/

Sometimes the dot disappears without being converted to a dash: The member list http://campusphere.de/members lists users like http://campusphere.de/members/sebastiankamp/ who has the user ID "sebastian.kamp" and is available at http://campusphere.de/members/sebastian.kamp/

#5 @owrede
15 years ago

Is there potentially a hint on a workaround? The basic functionality on member profiles is broken - rendering the whole community somewhat useless (people constantly get redirected to the homepage without know why!)

#6 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Yes, the trunk now includes a fix. Add

define( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE', true );

to your wp-config.php. This should allow dots in username links.

Fixed in r2035.

Note: See TracTickets for help on using tickets.