[buddypress-trac] [BuddyPress Trac] #5612: Let admin decide which xprofile fields link to search
buddypress-trac
noreply at wordpress.org
Sat May 3 16:55:48 UTC 2014
#5612: Let admin decide which xprofile fields link to search
-------------------------+-----------------------------
Reporter: sooskriszta | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: normal | Keywords:
-------------------------+-----------------------------
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.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5612>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list