This Help forum is for issues relates to the latest release (1.7.10/11/12). For issues related to development versions please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."

TOPIC: [SOLVED] Some source citations not showing

Some source citations not showing 2 months 3 weeks ago #1

  • Bluenoser
  • Bluenoser's Avatar
  • Offline
  • New
  • Posts: 6
I am a longtime user of PhpGedView, who only switched to webtrees 1.7.12 a few days ago, after my web hosting company allowed me to use PHP Version 7.2.15 instead of an ancient version.

This is probably a newbie question, but how do I configure the site to show source citations for all records that have them, to users who have not logged into the site? The sources show correctly when users are signed in. Attached are two screenshots of what I mean, one when signed in and the other when signed out.

Here is the link to that page

www.neilsponagle.ca/genealogy/individual...238&ged=filtered.ged
Attachments:
The administrator has disabled public write access.

Some source citations not showing 2 months 3 weeks ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11054
Hi Bluenoser - and welcome to webtrees!

This is down to privacy rules - which are similar to (but not exactly the same as) those in PGV.

Privacy (and hence visibility) is calculated at 3 levels.

Firstly, each record can have a "Privacy restriction". (e.g. "show to members", "show to visitors", etc.)
If you add one of these, then it takes priority - and no other calculations are made.

Secondly, if a record does not have an explicit privacy restriction, then webtrees looks for "default privacy restrictions", which can be added to types of record or types of fact/event. You set these in the privacy section of the control panel (manage family trees, privacy). By default, sources have a default privacy restriction "show to members". If you replace it with one that says "sources: show to visitors", then all your sources become public.

Thirdly, if there is no explicit privacy restriction, and no default privacy restriction, then webtrees calculates privacy based on the rules for living/dead individuals. For each source, webtrees would check all of the individuals llinked to the source, and if any of these are living/private, then the source is hidden. Only if all linked records are visible, then the source would be visible.

This third level can be slow. If a source is linked to 1000 individuals (perhaps a census), then webtrees must calculate the privacy of all those 1000 individuals. This can take some time - especially if you also use features such as relationship privacy.

You can use a mixture of these rules. For example, you might have sources set to be private by default (level 2), but add a level 1 rule for specific sources (e.g. censuses). Most people have a mix of public and private sources in their tree, so this configuration makes it easy to keep some private while making others public.

I hope that explains things.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Some source citations not showing 2 months 3 weeks ago #3

  • Bluenoser
  • Bluenoser's Avatar
  • Offline
  • New
  • Posts: 6
Thanks very much Greg.

I thought I had already opened up the privacy restrictions on sources to "Show to visitors" using what I think is your level two. Attached is a screenshot of the Privacy restrictions. I assume the rule for sources should override any level three, default privacy calculations for sources. Also, there should not be any level one restrictions on any of the records, as far as I know.

What am I still missing?
Attachments:
The administrator has disabled public write access.

Some source citations not showing 2 months 3 weeks ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11054
It's not clear from the screendumps whether you are using source records or inline sources.

The privacy functions only apply to source records and links to source records. e.g.

1 BIRT
2 SOUR @S1@

They don't work with inline data, e.g.

1 BIRT
2 SOUR Birth certificate
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Some source citations not showing 2 months 3 weeks ago #5

  • Bluenoser
  • Bluenoser's Avatar
  • Offline
  • New
  • Posts: 6
Raw GEDCOM for the birth record:

1 BIRT
2 DATE 01 FEB 1834
2 SOUR @S27@

For the marriage record:

1 MARR
2 DATE 24 FEB 1861
2 PLAC Isaacs Harbour, Guysborough Co., Nova Scotia, CAN
2 SOUR @S1@
2 NOTE See birth record for Alfred L. Sponagle.

For the death record:

1 DEAT
2 DATE 19 MAR 1916
2 SOUR @S3@
The administrator has disabled public write access.

Some source citations not showing 2 months 3 weeks ago #6

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11054
Well, I tried this on the demo server - and it works as expected.

From the GEDCOM snippet you posted, we can see that it is displaying one of the three sources (S27) - but not the other two (S1 and S3).

It's difficult to guess what difference there might be between these three sources.

Is there any significant difference to them?
Do they have a RESN record?
Do they all show up on the sources list?
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Some source citations not showing 2 months 3 weeks ago #7

  • Bluenoser
  • Bluenoser's Avatar
  • Offline
  • New
  • Posts: 6
To me, it seems like webtrees is applying the level three privacy processing to the sources, even though there is a level two rule that should have prevented that from happening.

The one source in my example that does show correctly references no living individuals. On the other hand, the two sources that do not show when users are signed out, do reference living persons.

There are no RESN records.
Last Edit: 2 months 3 weeks ago by Bluenoser.
The administrator has disabled public write access.

Some source citations not showing 2 months 3 weeks ago #8

  • Bluenoser
  • Bluenoser's Avatar
  • Offline
  • New
  • Posts: 6
Is there any way to go back to the way that PhpGedView handled these sources (S1 and S3)?

It would show the sources without the living individuals and say that some number of records were hidden.
The administrator has disabled public write access.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Some source citations not showing 2 months 3 weeks ago #9

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11054
I have just set up two trees on the demo server.

They both have the same GEDCOM data.

dev.webtrees.net/demo-stable/individual.php?pid=I1&ged=tree1
dev.webtrees.net/demo-stable/individual.php?pid=I1&ged=tree2

The first uses the default settings (Sources, show to members)
The second has changed the privacy for sources to "show to visitors".

In the first tree, sources are hidden.
In the second tree, sources are shown.

So, it seems to work as expected.

If it is not working for you, then you presumably have different data or different configuration....

> It would show the sources without the living individuals and say that some number of records were hidden.

You can find out the number of hidden records indirectly.

The source list shows the count of linked records. These aren't filtered for privacy (it would be too time consuming to calculate).
But if you click on an individual source, you'll only see the public records.

So, on the source list, you'll see that the "Bloggs" source is linked to two indivduals, but if you click on the source, you'll only see one.
From this you can deduce that the source is linked to another (private) individual.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Some source citations not showing 2 months 3 weeks ago #10

  • Bluenoser
  • Bluenoser's Avatar
  • Offline
  • New
  • Posts: 6
I have marked this one solved. It turned out that the sources that did not show correctly have REPO records, but the protection on repositories was set to "Show to managers". The solution was to create a privacy rule that changes the protection on repositories to "Show to visitors".

I have attached a screenshot that shows the corrected privacy restrictions, for the help of anybody in the future who encounters the same problem.

Thanks very much to fisharebest for taking quite a lot of time to help.
Attachments:
Last Edit: 2 months 3 weeks ago by Bluenoser.
The administrator has disabled public write access.

[SOLVED] Some source citations not showing 2 months 3 weeks ago #11

  • Bluenoser
  • Bluenoser's Avatar
  • Offline
  • New
  • Posts: 6
Problem solved.
The administrator has disabled public write access.

[SOLVED] Some source citations not showing 2 months 3 weeks ago #12

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 11054
I forgot about that rule...

As you discovered, sources are private if they are linked to private repositories....
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.
Powered by Kunena Forum