Skip to:
Content
Pages
Categories
Search
Top
Bottom

SQl Question

  • @nightstalker101

    Participant

    As I could see in the Sql Database (tabel: Wp_Xp_ptofile_fields), is there a key named public.

    What is this Key for? I assumed, that it is for the profile field and if it gets shown in the Public Profile view, but it seems not to be like that.

    Is there any way, to make some fields only visible for the profile owner and the admin?

Viewing 6 replies - 1 through 6 (of 6 total)
  • @djpaul

    Keymaster

    At the moment, that key isn’t used.

    @nightstalker101

    Participant

    Okay.Thanks. And there is no ther way, to make fields only viewable for the user?

    @djpaul

    Keymaster

    Please search forum before asking questions; it’s in the FAQ sticky – https://buddypress.org/forums/topic.php?id=2190

    “How to hide selected profile fields”

    :)

    @nightstalker101

    Participant

    hmmmmmmmmm. And whwre do I define, if a field is public or not?

    @nightstalker101

    Participant

    ohh, just found it. But what about the data on the main profile page?

    I want to insert a field, named birthdate, thsi field shall only be visible for the user by itself.

    thanks,

    Lars

    @nightstalker101

    Participant

    The solution from Burt did not work. So I have choosen the solution on the bottom of the page.

    <?php if (!bp_the_profile_group() == “1”) : ?>

    It works, but now I have three groups: the first with none public information. A senond and a third one. The second one gets diplayed. The third one not, why?

    The next question:

    How can I apply the code above to the members loop?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘SQl Question’ is closed to new replies.
Skip to toolbar