mirror of https://github.com/BOINC/boinc.git
Update ProfileScreen.md file
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
parent
34840a8d8d
commit
647721b953
|
@ -1,18 +1,21 @@
|
|||
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.
|
||||
# Profile screening and UOTD selection
|
||||
|
||||
|
||||
* *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>
|
||||
|
||||
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](ProjectConfigFile).
|
||||
|
||||
You can customize the database queries used to select profiles for screening and for UOTD candidacy. To do so, define either of the functions
|
||||
|
||||
|
||||
uotd_candidates_query()
|
||||
profile_screen_query()
|
||||
|
||||
```
|
||||
uotd_candidates_query()
|
||||
profile_screen_query()
|
||||
```
|
||||
|
||||
in your html/project/project.inc file. Each function must return a SQL query.
|
||||
in your html/project/project.inc file. Each function must return a SQL query.
|
||||
|
|
Loading…
Reference in New Issue