PGV Variables

From PGVWiki
Revision as of 12:52, 10 January 2008 by Nathanhaigh (talk | contribs) (Developers Guide:PGV Variables moved to PGV Variables: removing non-registered namespace)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Privacy Variables

These variables are set from Admin -> Manage Gedcoms -> Edit Privacy and are stored in index/my.ged_priv.php.

$PRIV_HIDE - Global constant privacy level to hide the item to all users including the admin

$PRIV_NONE - Global constant privacy level that only allows admin users to access the marked    
             information.

$PRIV_PUBLIC - Global constant privacy level that allows non-authenticated public visitors to view the           
               marked information.

$PRIV_USER - Global constant privacy level that only allows authenticated users to access the marked 
              information.

$MAX_RELATION_PATH_LENGTH - This setting is the maximum path length to allow users to view.  The path 
             length is defined as the number of steps it takes to get from 1 individual to another.  
             The default value is 3, which would allow someone to access up to their second cousins.