PhpBB3.1

phpBB 3.1, codename Ascraeus, is the next major feature release in the phpBB 3.x line.

Requirements
Most of the system requirements are the same as 3.0.x. The most notable change is that PHP >= 5.3.3 is now required. Newer versions of PostgreSQL, SQLite, and MySQL are pending discussion.

Request for Comments
The set of features that were proposed for phpBB 3.1 can be found here: Request for Comments

Composer
In order to use phpBB 3.1 in development, you need to run Composer from within the phpBB directory. This will install some external PHP library dependencies. See the README "installing dependencies" section for more instructions.

Styles and template engine changes 3.1
If you replace the files of your style with 3.1 compatible ones, before running the database update from 3.0 to 3.1, these styles will stay installed.

Template Engine Changes in 3.1

Working with the new config class
The new config class

Search Backends
Search backend classes must follow the new naming convention so a backend in includes/search/foobar.php has to contain a class called phpbb_search_foobar and must implement a get_name method returning the name to be displayed in the ACP.

phpbb_ Class Prefix
Some classes have been renamed to avoid conflicts with other software. If you are referencing the name of any of these classes, you will have to change them:


 * session => phpbb_session
 * user => phpbb_user
 * auth => phpbb_auth

Note: The prefix is added to class names, not to the variables that are instances of the class. $user and $auth are still used in phpBB 3.1.

Dependency Injection Container
The service objects are now created and managed by the Dependency Injection Container.

JavaScript onload_functions changed
The onload_functions array allowed calling certain JavaScript functions on page load. Instead of pushing extra function calls to this array you should use jQuery to handle onload calls

Before:

onload_functions.push('do_something');

After:

$(document).ready(function { do_something; })

Changes to Functions

 * The array returned by  no longer contains   keys. See PHPBB3-10969.
 * Function  was removed. Use   instead. See PHPBB3-10969.
 * Function  was removed. Use   instead. See PHPBB3-10969.
 * Function  was removed. Use   from   instead. See PHPBB3-10969.
 * Function  was removed. Use   from   instead. See PHPBB3-10969.
 * Function  was removed. Use   instead. See PHPBB3-10968.
 * Function  was removed. Use   instead.
 * Function  was removed. Use   instead.
 * Function  was removed. Use   instead. See  PHPBB3-10968.
 * Function  was removed. Use   instead. See  PHPBB3-10968.
 * Function  has been deprecated. Use   instead.
 * Function  has been deprecated. Use   instead.
 * Function  has been deprecated. Use   instead.
 * Function  has been deprecated. Use   instead.
 * Function  has been deprecated. Use   instead.
 * Function  has been deprecated. Use   instead.
 * Function  has been deprecated.   instead.
 * Function  has been deprecated.   instead.
 * Function  has been deprecated. Use   instead.
 * Function  has been deprecated. Use   instead.
 * Function  has been deprecated. Use   instead.
 * Function  has been deprecated. Use   instead.
 * Function  has been deprecated. Use   instead. See PHPBB3-12250.
 * Function  has been deprecated. Use   instead. See PHPBB3-12250.
 * Function  has been deprecated. Use   instead. See PHPBB3-9988.
 * Function  has been deprecated. Use   instead. See PHPBB3-9988.
 * Function  has been deprecated. Use   instead. See PHPBB3-9716.
 * Function  has been deprecated. Use   instead. See PHPBB3-9716.
 * Function  has been deprecated. Use   instead.
 * Function  has been deprecated. Use   instead.
 * Function  has been deprecated. Use   instead.
 * Function  has been deprecated. Use   instead.
 * Function  has been deprecated. Use   instead. See PHPBB3-10714.
 * Function  has been deprecated. Use   instead. See PHPBB3-10714.
 * Function  has been deprecated. Use   instead. See PHPBB3-9716.
 * Function  has been deprecated. Use   instead. See PHPBB3-9716.
 * Function  has been deprecated. Use   instead. See PHPBB3-8240.
 * Function  has been deprecated. Use   instead. See PHPBB3-8240.