Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to get profile field that are set to friend views only?

Viewing 6 replies - 1 through 6 (of 6 total)

  • danbpfr
    Participant

    @chouf1

    @omgbud,

    probably one or both of these tables

    _xprofile_fields
    _xprofile_meta


    omgbud
    Participant

    @omgbud

    Hi Chouf1,

    search many times there on all xprofile, couldn’t find any clue about the privacy settings for each user.


    danbpfr
    Participant

    @chouf1

    wp_usermeta

    wp_options


    omgbud
    Participant

    @omgbud

    @Chouf1 thank you I found the data in wp-usermeta, now I have problem retrieving it, not usual data..

    in meta_key: bp_xprofile_visibility_levels

    in meta_value:
    `a:53:{i:1;s:6:”public”;i:2;s:7:”friends”;}`

    53 is userid
    1,7 is the field number
    6,7 is the visibility_levels

    So how can I retrieve the data (public or friend) if I want field no.7 from this useid 53.


    danbpfr
    Participant

    @chouf1

    Sorry, i’m not a mysql teacher 😉

    If you’re super-admin you can adjust any profile of any of your user, so far i know.
    So what do you exactly want to do with friends privacy settings ?


    omgbud
    Participant

    @omgbud

    Oh is ok 🙂 thanks for help anyway, I just want to check whether the profile has any privacy setting and than display a lock pic to show other this is a private profile.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to get profile field that are set to friend views only?’ is closed to new replies.
Skip to toolbar