Menu

privacy on a special event

Help
gnopple
2004-04-27
2004-04-28
  • gnopple

    gnopple - 2004-04-27

    i would like to restrein the accessibility to the event EVEN. i try to do it with the privacy setting but it dont work throuht the web interface.
    does any have a clue ?
    thanks

     
    • John Finlay

      John Finlay - 2004-04-28

      The privacy for EVEN tags is a special case handled seperately.  But you have to edit the privacy file by hand.

      An EVEN tag has a TYPE tag.  You use the value of the TYPE tag as the item to suppress in the privacy file.

      So for example if you had a special "Degree" event.  The gedcom record would look like this:
      1 EVEN
      2 TYPE Degree
      2 DATE 10 Mar 1900

      To hide this fact you would edit the gedcom privacy file in ./index/gedcom.ged_priv.php and add a line to the $global_facts or the $person_facts arrays.  Adding to the $global_facts will hide the fact for all individuals.  Adding it to the $person_facts will only hide it for a specific individual.  There are examples in this file of how you add items to these arrays. 

      I'll give you an example of how you would hide the above "Degree" event in the $global_facts.  You would edit the file and add the line:
      $global_facts["Degree"]["show"] = $PRIV_USER;

      --John

       

Log in to post a comment.