[buddypress-trac] [BuddyPress] #4374: 1.6 RC.1 - profile date fields in members-loop
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Sun Jul 22 14:59:35 UTC 2012
#4374: 1.6 RC.1 - profile date fields in members-loop
--------------------------+-----------------------------
Reporter: shanebp | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Members | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
If you create a profile field and the Type is Date Selector...
bp_the_profile_field_value(), used in bp-default -> profile-loop, shows
and formats the value
bp_member_profile_data( 'field=Date' ), used in bp-default -> members-
loop, does Not show the value
Possible explanation:
"BuddyPress stores the output of the datebox as a string like "2012-07-19
00:00:00". bp_get_member_profile_data() retrieves that from the database
and then passes it to xprofile_format_profile_field(), which passes it to
bp_format_time(), which returns false because the value fails the
is_numeric() check."
Per:
http://stackoverflow.com/questions/11563198/buddypress-custom-profile-
date-field-not-showing-in-loop
I tested this in members-loop and you can see the result here:
http://shanebp.bearcentral.com/members/
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4374>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list