Jump to content
TNG Community

See only data of one tree if you are not a registererd user


Fred Baltus

Recommended Posts

Hi,

I'm not sure if this is the right place, but .... Is it possible that none registered users see only a specific tree? For example a tree with no data about living persons?

Thanks,
Fred

Link to comment
Share on other sites

Michel KIRSCH

Hi Fred,

i did it.

Have a little demo tree.

User can log in as user with password user (it's explained on home page)

This user can only see that tree via Admin/users....

 

Link to comment
Share on other sites

Hi Michel, So you make a dummy user with a tree connected with doesn't hold names of living people. It's easy that way. I was thinking of forwarding to another database.

Thanks, Fred

p.s. my french is not so good. By the way: Near Maastricht there are also people with the last name Kirsch ;)

Link to comment
Share on other sites

Michel KIRSCH

Yes. A demo tree with a dummy user.

My ancestros are coming from Prussia...

Link to comment
Share on other sites

Hi Michel. I made a dummy tree imported a gedcom and let TNG calculate the Living flag. But if i create a user, which may see that dummy tree then he can see all the data. I can, of course make my own queries, but that's not the option i prefer.  I don't want to install TNG twice, so the best option is to include another config file with a few other settings, such as requirelogin=0 and maybe an other database. So i must parse some parameters from the index.php file to tng_begin.php and begin.php, because in the last one config.php is named, but maybe i can overwrite some settings in customconfig.php.

 

Thanks,
Fred

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...