New function define_hidden_fields for buddypress 1.6.4