Changes between Version 1 and Version 2 of WebConfig
- Timestamp:
- Apr 25, 2007, 9:01:50 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebConfig
v1 v2 1 1 = Web site overview = 2 2 3 4 3 == Customizing the default web site == 5 4 When you create a BOINC project using [http://boinc.berkeley.edu/make_project.php 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. 6 5 7 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. Make sure you do a good job; your web site has a large impact on your project's ability to [http://boinc.berkeley.edu/recruit.php recruit and retain participants]. … … 9 8 Some of this customization can be done by editing the main page (index.php) and the stylesheet (white.css). Other aspects are changed using a configuration file, described below. 10 9 11 12 10 == Web configuration file == 13 11 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 this directory under CVS and put all project-specific web files there (create symbolic links from html/inc and html/user). 14 12 15 13 project.inc is generated by [http://boinc.berkeley.edu/make_project.php make_project] with default values. It includes constants: 16 17 18 14 19 15 '''PROJECT''':: … … 28 24 Name of copyright holder 29 25 '''SYS_ADMIN_EMAIL''':: 30 Users are directed here if they have complaints about message-board moderation.Also, messages about user-of-the-day running low are sent here.26 Users are directed here if they have complaints about message-board moderation. Also, messages about user-of-the-day running low are sent here. 31 27 '''FORUM_MODERATION_EMAIL_USER_ID''':: 32 28 Moderation-related emails (such as user complaints) are sent here. 33 29 '''INVITE_CODES''':: 34 regular expression used for 30 regular expression used for [http://boinc.berkeley.edu/account_control.php controlling account creation]. 35 31 '''EMAIL_FROM''':: 36 32 'from' address for emails 37 33 '''EMAIL_FROM_NAME''':: 38 34 'from' name for emails 35 39 36 and functions: 40 41 42 37 43 38 '''project_banner()''':: … … 55 50 '''project_user_page_private()''':: 56 51 prints project-specific text on private user page 52 57 53 and variables: 58 54 59 60 61 55 '''USE_PHPMAILER''':: 62 Set to true if you use [http://phpmailer.sourceforge.net/ PHPMailer]. In this case you must download PHPMailer and put it(i.e. the directory 'phpmailer') in your html/inc directory.56 Set to true if you use [http://phpmailer.sourceforge.net/ PHPMailer]. In this case you must download PHPMailer and put it (i.e. the directory 'phpmailer') in your html/inc directory. 63 57 '''PHPMAILER_HOST''':: 64 The Host argument to PHPMailer; typically a semicolon-separated list 58 The Host argument to PHPMailer; typically a semicolon-separated list of SMTP servers. 65 59 '''PHPMAIL_MAILER''':: 66 60 The Mailer argument to PHPMailer; typically 'sendmail', 'mail', or 'smtp'. 67 68