Created new BP Xprofile field, not saving upon submit
-
So I created a new BP xprofile field called Height (from
/buddypress/bp-xprofile/classes/
) based on the the Date Box field (class-bp-xprofile-field-type-datebox.php
– my code is here)Essentially I just replaced every instance of day/month with feet/inches, then made sure to include the filepath in two other places: 1)
bp-xprofile-functions.php
underfunction bp_xprofile_get_field_types() {...}
, and 2)bp-xprofile-classes.php
.I got the field to appear on my user profile but when the user tries changing the fields and saving, it doesn’t save. Is there something I am missing in my files, or does anyone know why this is and how to fix it?
- You must be logged in to reply to this topic.