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)
  • Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    @omgbud,

    probably one or both of these tables

    _xprofile_fields
    _xprofile_meta

    Avatar of omgbud
    omgbud
    Participant

    @omgbud

    Hi Chouf1,

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

    Avatar of danbpfr
    danbpfr
    Participant

    @chouf1

    wp_usermeta

    wp_options

    Avatar of omgbud
    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.

    Avatar of danbpfr
    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 ?

    Avatar of omgbud
    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)

You must be logged in to reply to this topic.