Decoding the privacy options
I have create a page that lists all users albums. I have filtered out private albums.
Now it has come to my attention that public albums of members who have chosen to make all their albums private in the settings are listed on as well.
I can get the options of the vb_user table without problems.
But the privacy settings are encoded in some way.
Examples:
60295255
45096150
The albums have four privacy settings:
- Everyone
- Registered Members
- Your Contacts
- Your Friends
I will have to check the last three settings individually.
How can I check these settings, given the above privacy codes?
Maybe there's a vb function that could do this for me?
|