Skip to:
Content
Pages
Categories
Search
Top
Bottom

last_updated field in extended profiles


  • cwjordan
    Participant

    @cwjordan

    I am interested in being able to query when certain fields, but not others, in the extended profiles were updated. For example I would have an address field, and I’d be interested if that had been updated recently, but would not care about how recently other fields had been changed.

    I noticed that there is already a “last_updated” column in the wp_bp_xprofile_fields table, so I thought I would just need to query that. However when I test how that behaves by clicking on “edit my profile” it looks like if I change one field in the extended profile the “last_updated” field is updated on all the fields for that user, even the ones I did not change. Does anyone have any idea why that is, or thoughts on a better way to go about doing what I want to do?

    This is on buddypress 1.8.1 (installed from Commons in a Box 1.0.5.1).

Viewing 1 replies (of 1 total)

  • cwjordan
    Participant

    @cwjordan

    I looked into this further, and looks like the “last_updated” field for just the profile fields in the same group gets updated. The “last_updated” field for profile fields in other groups doesn’t get touched. So I should be able to do what I need as long as I create a separate group for each type of information I want to track the update time on separately.

Viewing 1 replies (of 1 total)
  • The topic ‘last_updated field in extended profiles’ is closed to new replies.
Skip to toolbar