Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

#5612 closed enhancement (duplicate)

Let admin decide which xprofile fields link to search

Reported by: sooskriszta Owned by:
Priority: normal Milestone:
Component: Core Version:
Severity: normal Keywords:
Cc: sooskriszta

Description

BuddyPress automatically links all text in user profile fields between commas, e.g. See profile page ​http://csillamvilag.com/modellek/modell/angelaveress/

In some cases this is pretty cool - if I want to find all female models, I can just click on Nő and that leads me to search results page ​http://csillamvilag.com/modellek/modell/?s=Nő

However, there are cases where links are expected to behave differently, e.g. if I see a phone number linked (+3630/450-01-90 on this profile), I expect there to be a tel: link behind it, not a link to search page for that telephone number ​http://csillamvilag.com/modellek/modell/?s=%2B3630%2F450-01-90

The same would be true for emails (as a user, I'd expect mailto:) and URLs.

Further, sometimes, the linking is just weird and annoying, such as (in the same profile) Célom. Just because something is between commas (or is in the beginning of a paragraph and has a comma after it), does not mean it should be automatically searchable.

With this in mind, it seems best that the admin of the site should have control over which fields shall be clickable to a search results page.

To start off, textarea type xprofile fields may be made non-clickable by default.

Change History (2)

#2 @sooskriszta
13 years ago

  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed

Closing in favor of #787

Note: See TracTickets for help on using tickets.