[buddypress-trac] [BuddyPress Trac] #5501: Custom xprofile field: URL
buddypress-trac
noreply at wordpress.org
Tue Apr 1 22:05:14 UTC 2014
#5501: Custom xprofile field: URL
-------------------------+------------------
Reporter: sooskriszta | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.1
Component: XProfile | Version:
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+------------------
Comment (by boonebgorges):
Let's concentrate on getting the plain URL field in place first. That's
something that is definitely within the scope of BP core. I have a strong
inclination that the inclusion of specific services should be left to a
plugin - it's not a good use of core time to come up with a list of
services, only to bicker endlessly with users about what we have/have not
included - but in any case, it's something we can consider after we're
done with the base field.
One kind of validation that might be a better candidate for core inclusion
is a sort of regex/search-and-replace URL concatenator. As in, the admin
could enter something like 'https://twitter.com/%%VALUE%%/' into a
"pattern" field, and then we could have some validation that (a) detects
whether the user-provided value is a valid URL, and if not (b) swaps it
into the pattern. Getting the UI and logic for this to be solid would be a
bit of work, but might be general enough to warrant inclusion in BP
itself.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5501#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list