Menu

Privacy (newbie) - editing privacy.php

Help
Anonymous
2003-10-30
2003-10-30
  • Anonymous

    Anonymous - 2003-10-30

    What exactly do I do to "privacy.php" so that the details of the living are masked?

    Also (slightly more sophisticated) - how do I edit privacy.php so that authenticated users can see all details (whereas for casual surfers the details of the living are masked)?

     
    • Arne Eckmann

      Arne Eckmann - 2003-10-30

      Hi Paul

      General information about modules like privacy.php is available here:

      http://phpgedview.sourceforge.net/modules.html

      However, this general information does not go into great details about how to modify the code (and in my opinion it shouldn't go into details about how to change the code).

      To my knowledge the "normal" situation is, that details about living persons are hidden to the casual surfers, but authenticated users can see all information.

      During the setup of gedcom files you have the option to say yes/no to "Hide living people" - saying yes, doesn't hide these people, but it does hide these persons vital data for non-authenticated users. This setting defaults to yes.

      Rather than changing the code in privacy.php, you would change the settings during the setup of gedcoms or via the "Manage Gedcoms" edit functions for the relevant gedcom.

      best regard

      Arne

       
    • John Finlay

      John Finlay - 2003-10-30

      Arne is correct.  The default settings for PhpGedView will do what you want to do with no modifications to the privacy.php module.

      The most common changes that people make to the privacy.php file are to hide living names and use relationship privacy for authenticated users.

      You can hide the names of living people by setting
      $SHOW_LIVING_NAMES = $PRIV_USER;

      You can turn on relationship privacy for logged in users by setting:
      $USE_RELATIONSHIP_PRIVACY = true;

      You can search this forum for more specifics on using the relationship privacy if you are interested.

      The other settings in the privacy file were recently discussed in detail in the Open Discussion forum.

      The default settings will give most people what they need.

      --John

       

Log in to post a comment.