[buddypress-trac] [BuddyPress Trac] #5495: Calculated custom fields
buddypress-trac
noreply at wordpress.org
Sun Mar 30 18:31:57 UTC 2014
#5495: Calculated custom fields
-------------------------+----------------------
Reporter: sooskriszta | Owner: djpaul
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: XProfile | Version:
Severity: normal | Resolution: wontfix
Keywords: |
-------------------------+----------------------
Changes (by boonebgorges):
* status: assigned => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
This would be fairly easy to do for specific cases now that we have a
proper technique for registering xprofile field types. Your birthdate-to-
age converter is a great example of a field type that could be registered
with just a couple lines of code. Your other examples are great ideas too,
at least for specific kinds of sites.
However, building a general tool for this purpose is almost impossible.
What would the UI look like? There are many different kinds of
calculations/modifications that could be relevant:
- date calculations
- arithmetic calculations
- distance calculations
- specific kinds of URL concatenation (eg, a twitter handle -> twitter
URL)
- conversion into links
etc etc
If there are specific cases where a specific field type would be useful to
large numbers of sites - such as a "URL" type that validates URLs and then
converts them into links (useful for arguably any BP site) - let's open
separate tickets for them. But building a general tool for creating these
"calculated" fields in some sort of UI seems well beyond what BP can or
should do. Tentatively closing as wontfix for that reason.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5495#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list