The website can create forms that take applications for workshops, internships etc.

To enable the facility, the configuration file ~www/php/servername/config.php for the website must have:

// True if the site has forms for applying for superb etc.
$siteConfig['hasApply'] = 1;

In addition, the auth_N table must have a hasApply field that is a tinyInt. That field has been added to auth_4 (for TRUST) and auth_5 (for E3S).

In theory, checking "Application Form" should create the apply table, but as of 10/11, it does not. The workaround is to export the structure only of a preexisting apply table, such as the wise_4 database -> apply table.

  1. http://chess.eecs.berkeley.edu/mysql
  2. Go to wise_4 and then apply
  3. Select the "Export" tab at the top and unselect "data" so that only the structure is exported. Hit OK and an apply.sql file is exported.
  4. Go to the database for the workgroup that wants the apply facility.
  5. Select "Import" and import the apply.sql table.
  6. To get the facility to work, ~www/php/include/apply.inc.php will need to be updated:
    $apply_positions: Add the new group and the acceptable positions
    $apply_citizenship: Add the new group and the acceptable citizenship.

The file ~www/php/include/apply.inc.php controls what fields are present. An admin must edit that file by hand.

If the user selects "Application Form" on the group configuration page, then the database for the applications is created. Thus, to reset the application pool, use http://website/mysql to drop the apply table for the group. note that this will lose the previous application data

Email notification goes to the people on the notify list for the group. If there is no notify group, then it goes to the developers. If there is no developer list, then it goes to webmaster.

To create a new application, try copying the structure, not the data with:

mysqldump -d reu_4 apply > apply.sql
mysql postdocs_7 < apply.sql

See also How do I control access to the application forms?