Comment installer le module PunBB
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...)
A brief guide to installing the PunBB module.
To add the PunBB module:
- copy the included "modules" directory to your PhpGedView installation (if you did not download it with PhpGedView)
- 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.
- 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.
- When activating the module, you will be asked to fill out your database connection parameters again and create a forum administrator
- After saving the configuration, you may be prompted to copy the configuration text into the PunBB configuration file config.php
- 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); ?>