Profile screening and UOTD selection
Users can create profiles containing text and/or pictures. These profiles are displayed in various ways: as a picture gallery, sorted by country, and sorted alphabetically. The default project web site also shows a User of the Day (UOTD) on its front page. Depending on your project's requirements and resources, there are two main approaches to screening profiles and selecting UOTD. Both involve a 'profile screening page' used by project staff.
- Loose screening: Only profiles with nonzero recent average are screened. The UOTD is selected randomly from among approved profiles. Profile pictures are shown independently of whether they have been screened. This is the default.
- Tight screening: All profiles are screened. A profile's picture is shown only if the project has approved it. The UOTD is selected randomly from among approved profiles that have nonzero recent average credit. To use tight screening, include the line
<profile_screening>1</profile_screening>in your config.xml file.
You can customize the database queries used to select profiles for screening and for UOTD candidacy. To do so, define either of the functions
in your html/project/project.inc file. Each function must return a SQL query.