Comment installer le module PunBB

De PGVWiki
Révision datée du 20 janvier 2008 à 19:38 par Elliott1961 (discussion | contributions) (Nouvelle page : right A brief guide to installing the PunBB module. To add the PunBB module: # copy the included "modules" directory to your PhpGedView installation (if...)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Sauter à la navigation Sauter à la recherche
PunBB logo.png

A brief guide to installing the PunBB module.

To add the PunBB module:

  1. copy the included "modules" directory to your PhpGedView installation (if you did not download it with PhpGedView)
  2. Rename the PunBB config file at modules/punbb/config.php to configold.php using a program such as FileZilla or your hosting control panel's file manager.
  3. To activate the module use the url (replacing the bold portions appropriately):
    http://yourdomainname.com/phpgedview/module.php?mod=punbb&pgvaction=install
    The path may vary according to your installation.
  4. When activating the module, you will be asked to fill out your database connection parameters again and create a forum administrator
  5. After saving the configuration, you may be prompted to copy the configuration text into the PunBB configuration file config.php
  6. The menu item for "Message Forum" from PHPGedView should now work.

To link to the forums, use the url:

http://yourdomainname.com/phpgedview/module.php?mod=punbb

Sample configuration file

A sample config.php file looks like this:

<?php
$db_type = 'mysql';
$db_host = 'localhost';
$db_name = 'arw_name';
$db_username = 'arw_user';
$db_password = 'password';
$db_prefix = 'punbb_';
$p_connect = false;
$cookie_name = 'punbb_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$cookie_seed = '433a0c44';
define('PUN', 1);
?>