Online Picture Directory

This feature allows a church to create an online directory with photos, contact information, and date of birth (month/day only). This will be located at this URL: mychurch.tpsdb.com/PictureDirectory. You can also open the directory from the main menu at People > Reports > Church Picture Directory.

Note

For MyData User, turn on the setting at Admin > Advanced > Settings > MyData Access called EnableMyDataPictureDirectory to allow MyData Users to access the Picture Directory by an option on the Profile menu.`

Who can view the directory?

Only those who are displayed in the directory can view the directory. Logging in will be required to view it. Exception: A user with the Admin role is required to set up this directory and can view it even if not included.

https://i.tpsdb.com/2016-10-03_08-16-40.png

Sample Online Directory

How to Create the Directory

  1. Create a Search Builder search for all Members of the church and whatever other conditions you want.

  2. Save the search as a Status Flag. Name the search something like Picture Directory. Status Flags are automatically updated each morning, so people will be included or excluded from the directory based on that Status Flag update.

  3. Go to Admin > Advanced > Settings > System > Administration and enter the Status Flag name you used (for example, Picture Directory) in the PictureDirectorySelector setting. This requires the Admin role.

  4. View your directory at https://yourchurch.tpsdb.com/PictureDirectory where yourchurch is your church domain.

Church-wide Directory

For a church-wide directory, you would create a Status Flag search including only those with a Member Status of Member and whatever other criteria you wish to include, such as an age or resident code. The URL link for that directory could be posted anywhere on the church website, so that it is easily accessible by your church members.

Exclusions from Directory

If someone does not want to be included in this online directory, they cannot opt out themselves. You can handle this by creating an Extra Value named something such as DoNotIncludeInDirectory with a value of true. Then exclude anyone with that Extra Value in your Status Flag search, so that only those without that EV will be included in the search results.

Note

You can name the Extra Value anything you want, you just need to be sure that the Status Flag search that you use for the directory will exclude anyone with that EV on their record.

Customizing the Directory

There is an associated SQL Script and Template that will automatically get added to your database when you run the directory for the first time. Go to Admin > Advanced > Special Content > SQL Scripts and you will see a script named PictureDirectorySql. This script will be the same for every database.

Next go to Admin > Advanced > Special Content > Text Content where you will see a file named PictureDirectoryTemplate. This template can be changed based on the specific information you want to include/exclude from your online directory.

The code for the default template is in the Templates article.

If you are using the default Template, then you are ready to make the directory available.