Hi, Thanks for the port to 6x. I have been waiting for it! I would like to let guest visitors view all the records(this .ged file has no private data). I set permissions for the module, checked the 'views' to make sure I didnt screw up the 4 you provided,they are accessable by unregistered visitors. I tried changing the 'privacy' settings in the EstimateDate INC file by my untrained eye, but no joy. Guest visitors are still getting "Access Denied" when clicking the indiviudal records. For some this may be an incentive for surfers to register. I need to make this site very easy for some elderly visitors.

Can you point me to a solution?

Thanks, Jim

CommentFileSizeAuthor
#2 family.module.txt10.18 KBMicrobe
#1 group.inc_.txt8.11 KBMicrobe
#1 location.inc_.txt9.77 KBMicrobe

Comments

Microbe’s picture

StatusFileSize
new9.77 KB
new8.11 KB

The EstimatesDate.INC is still not working after the database redesign I'm afraid. To allow all family pages viewable by everyone try:

Family Individuals: As auto privacy doesn't work yet all nodes are set to private so allowing 'access family private records' for anonymous users should let them see them.
Family Groups and Locations: these currently have no privacy but an error in the coding caused them not to work. Upload the attached files over group.inc and location.inc to fix

To change the individual privacy of family individual nodes at the moment try accessing the database and changing the 'privacy' variable in the 'family_individual' table to:
0 - Private
1 - Not private
WARNING: Do this at your own risk; if you change the wrong variables you could mess up your Drupal installation. Make sure you take a backup of the database before editing it.

Changing the the variable titled 'privacy' will not damage the database but still make a backup before doing so incase you change something else by accident.

Peter

Microbe’s picture

StatusFileSize
new10.18 KB

if you change database you will also need this new file

jjcheno’s picture

Hi Peter, Thanks I Updated the 2 new files, Man I gotta tell Everyone your response is faster than AT&T! Thank you that did the the trick, works great. I think I will hold off on 'corupting...errr customizing' the database:-) that water is a little to deep for this Telephone repairman.

Thanks Again,
Regards, Jim

pyutaros’s picture

Good work, what needs to be committed to CVS here?

Microbe’s picture

Yes, this should be committed. It passes the wrong permission to the user_access function in hook_user.

[edit] hook_user has been changed in all three files including family.module

pyutaros’s picture

Committed and tagged as BETA2.

jjcheno’s picture

Status: Active » Closed (fixed)