Optional Extras

Included with the Fully Modded phpBB 2 package are a few extra (optional) files, you will find them in the docs/scripts/ directory. These extras include:

config.php/config_backup.php

Spare configuration files are included in case of accidents. config_backup.php is a standard phpBB configuration file that just requires database name, user, and password data added to restore a deleted or misplaced original.

  • Open config_backup.php and edit the database details to suit your site.
  • Rename the file to config.php and move it to the root directory of your forum, e.g. http://www.yourdomain.com/phpBB2/config.php

desktop.php/desktop_body.tpl (Desktop Plus)

Desktop Plus allows your users to add a "latest posts window" to your forums that loads on their desktop without having to open up a browser. It will scroll the latest posts as if the user was logged in, providing the user hasn't cleared their cookies. They can click on any topic and be linked directly to it.

  • Admin Instructions for Setup
    1. Move desktop.php to forum root directory.
    2. Move desktop_body.tpl to ALL style directories (make duplicate copies for extra styles).
    3. Post instructions for your users (see below).
  • User Instructions for Setup
    1. Right-click on your desktop.
    2. Select 'Properties'.
    3. Click on the 'Customize Desktop' button.
    4. Click on the 'Web' tab.
    5. Click on where it says 'new' (next to a list of webpages).
    6. Add the following location http://yourdomain.com/phpBB2/desktop.php (make sure you click on the checkbox next to the address after you add it to the list).
    7. Click 'OK' on all windows.
    8. Resize desktop window to suit your preference.

root_redirect_to_directory_portal.html

This file enables Fully Modded phpBB to detect whether visitors are browsing using browsing agents or mobile devices, and will redirect them accordingly.

  • Open root_redirect_to_directory_portal.html and edit the domain names to suit your site.
  • Rename the file to index.html and move it to the root directory of your server, e.g. http://www.yourdomain.com/index.html

.htaccess

This file enables Fully Modded phpBB to detect and redirect visitors (on arrival) to the portal before the forum index.

  • Move .htaccess to your forum root directory.

login.php

This file allows your users to be redirected back to the portal after logging in/out instead of the forum index.

  • Move login.php to your forum root directory, overwriting the existing login.php file.

erc.php (Emergency Recovery Console)

This script is an Emergency Recovery Console (ERC), which can be used to access the board even when the normal methods of phpBB fail. You can clear the session table, reset path, cookie, language or template data, clear the ban list, remove administrator accounts, grant a user admin privileges or recreate the config.php. Thus, the ERC can be helpful when you have problems with the session handling, removed a template in error or your board was hacked.

  • Move erc.php to the admin/ directory.
SECURITY NOTE: You can gain access to the complete board by using the ERC. Although you need at least the password of the database to do so, it is recommended to use this file only when necessary or to secure the admin directory with a password at least if you decide to leave this file in the admin directory.