Changes between Version 5 and Version 6 of WebConfig


Ignore:
Timestamp:
May 28, 2008, 1:21:01 PM (17 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebConfig

    v5 v6  
    44When you create a BOINC project using [MakeProject make_project], a web site is created for you. This consists of a front page (`html/user/index.php`), which links to pages where users can log in, edit preferences, create profiles, and so on.
    55
    6 Before your project goes public, you'll want to change this web site by adding content specific to your project, and by giving the web site a graphical identity specific to your project. 
    7 Make sure you do a good job; your web site has a large impact on your project's ability to [VolunteerRecruit recruit and retain participants].
     6Before your project goes public, you'll want to change this web site by adding content
     7and giving the web site a graphical identity specific to your project. 
     8Make sure you do a good job;
     9your web site has a large impact on your project's ability to
     10[VolunteerRecruit recruit and retain participants].
    811
    9 Some of this customization can be done by editing the main page (`index.php`) and the stylesheet (`white.css`) files. Other aspects are changed using a configuration file, described below.
     12Some of this customization can be done by editing the main page (`index.php`) and the stylesheet (`white.css`) files.
     13Other aspects are changed using a configuration file, described below.
    1014
    1115== Web configuration file ==
    12 The file `html/project/project.inc` serves as a configuration file for your web site. It exists in a separate directory (html/project) so that you can put all project-specific web files there (create symbolic links from `html/inc` and `html/user`).  You can also put this directory under your own CVS to manage version control.
     16The file `html/project/project.inc` serves as a configuration file for your web site.
     17It exists in a separate directory (html/project) so that you can put all project-specific web files there
     18(create symbolic links from `html/inc` and `html/user`).
     19You should put this directory under version control (SVN or CVS).
    1320
    1421The file `project.inc` is generated by [MakeProject make_project] with default values.
    15 When you set up your project you need to edit this file to customize the constants and functions it contains.
     22Edit this file to customize the constants and functions it contains.
    1623
    17 
    18 To properly configure your project you need to set values for these constants:
     24Constants:
    1925
    2026 '''PROJECT'''::
    2127        The name of your project
    2228 '''MASTER_URL'''::
    23         Your project's master URL
     29        Your project's master URL (warning: if you change this, volunteers will have to detach/reattach your project)
    2430 '''URL_BASE'''::
    2531        Base URL for web pages (usually same as master URL)
     
    2935        Name of copyright holder
    3036 '''SYS_ADMIN_EMAIL'''::
    31         Users are directed here if they  have complaints about message-board moderation. Also, messages about user-of-the-day running low are sent here.
     37        Users are directed here if they have complaints about message-board moderation. Also, messages about user-of-the-day running low are sent here.
    3238 '''FORUM_MODERATION_EMAIL_USER_ID'''::
    3339        Moderation-related emails (such as user complaints) are sent here.
     
    3945        'from' name for emails
    4046
    41 You also need to customize these functions:
     47Functions:
    4248
    4349 '''project_banner()'''::
     
    5561 '''project_user_page_private()'''::
    5662        Prints project-specific text on private user page
     63 '''donations_intro()'''::
     64    Displays customized donation information. Useful to describe what the project uses donations for, and project specific guides for donations. If function is not defined, standard donation information is displayed.html/user/donations.php.
     65 '''project_rules_policies()'''::
     66    Displays customized project rules and policies. If return value is ''true'', standard rules and policies are appended in the end. If function is not defined, default rules and policies are displayed. Return true to append default rules and policies. Should use PHP `echo()` to output text. Used inhtml/user/info.php.
    5767
    58 If you want to use PHPMailer to send e-mail to project participants then you should set the following
    59 constants to appropriate values.
     68To use PHPMailer (the preferred way to send emails to participants):
    6069
    6170 '''USE_PHPMAILER'''::