Use relationship privacy in blocks
Brought to you by:
canajun2eh,
yalnifj
The today/upcoming/yarhzeit blocks would be improved by the use of relationship privacy.
The would allow, for example, the upcoming block to act as a reminder of which family members need birthday cards, etc.
Without it, the blocks contain details of a vast number of people who are not relevant to the user.
These blocks are cached, and this will need to be considered as each user will require their own version of each block
Logged In: YES
user_id=300048
Originator: NO
The HTML for blocks are not cached for logged in users. The events cache, just caches all of the events that have been found and parsed, so you would just need to filter the cached events.
It used to be that if you put the today's events blocks on the mygedview portal then you would only see the events of close relatives. I don't know if that feature has persisted.
--John
Logged In: YES
user_id=1537714
Originator: NO
This seems to already be working in my installation.
http://UniGen.us/PGV
When I go there, the upcoming block is empty
When I login, events always appear in it.
I am not sure what revision but I upgraded to get recent changes to event sorting.
Logged In: YES
user_id=1466942
Originator: YES
Hi Wes,
Yes - the privacy is working on the blocks. The change is to apply *additional* restrictions on the blocks, using the same logic used by the privacy rules.
i.e. I want these blocks to be (optionally) restricted to close relatives, even for admins who can see everyone. This way it will only show upcoming events for close relatives, not for distant relatives.
Yip, would definitely support a relationship privacy (aka filter) on the upcoming events etc block.
It would make them more 'valuable' to users.