https://wiki.phpgedview.net/en/index.php?title=How_to_install_PunBB_Forum&feed=atom&action=historyHow to install PunBB Forum - Revision history2024-03-29T07:14:43ZRevision history for this page on the wikiMediaWiki 1.34.2https://wiki.phpgedview.net/en/index.php?title=How_to_install_PunBB_Forum&diff=12122&oldid=prevMomse: /* Re-activate after PGV update */2010-05-16T16:47:18Z<p><span dir="auto"><span class="autocomment">Re-activate after PGV update</span></span></p>
<p><b>New page</b></p><div>[[Image:PunBB_logo.png|right]]<br />
==Installation==<br />
A brief guide to installing the [[PunBB module]].<br />
<br />
To add the PunBB module:<br />
# copy the included "modules" directory to your PhpGedView installation (if you did not download it with PhpGedView)<br />
# 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.<br />
# To activate the module use the url (replacing the bold portions appropriately):<br />
#: http://'''yourdomainname.com'''/'''phpgedview'''/module.php?mod=punbb&pgvaction=install<br />
#:The path may vary according to your installation.<br />
# When activating the module, you will be asked to fill out your database connection parameters again and create a forum administrator<br />
# After saving the configuration, you may be prompted to copy the configuration text into the PunBB configuration file ''config.php''<br />
# The menu item for "Message Forum" from PHPGedView should now work.<br />
<br />
To link to the forums, use the url: <br />
http://'''yourdomainname.com'''/'''phpgedview'''/module.php?mod=punbb<br />
<!-- or<br />
http://'''yourdomainname.com'''/'''phpgedview'''/index.php?mod=punbb --><br />
<br />
==Sample configuration file==<br />
A sample config.php file looks like this:<br />
<br />
<pre><br />
<?php<br />
$db_type = 'mysql';<br />
$db_host = 'localhost';<br />
$db_name = 'arw_name';<br />
$db_username = 'arw_user';<br />
$db_password = 'password';<br />
$db_prefix = 'punbb_';<br />
$p_connect = false;<br />
$cookie_name = 'punbb_cookie';<br />
$cookie_domain = '';<br />
$cookie_path = '/';<br />
$cookie_secure = 0;<br />
$cookie_seed = '433a0c44';<br />
define('PUN', 1);<br />
?><br />
</pre><br />
<br />
==Re-activate after PGV update==<br />
If you are upgrading PhpGedView to a new version, the Message Forum may not work. You should save the copy of the configuration file before PGV upgrade. After the update, replace copy the saved PunBB ''config.php'' file to the modules/punbb directory.<br />
<br />
==PunBB upgrades==<br />
The version distributed with PhpGedView (PunBB 1.2.12 with PhpGedView 4.1.4) has been tested with this version. The upgrade may or may not work correctly. Check the [http://punbb.org/docs/install.html PunBB installation instructions] and the [http://punbb.org/forums PunBB Forums] for PhpGedView related entries. <br />
[[Category:How To]]<br />
<br />
[[Category:PunBB Module]]<br />
<br />
<br />
<!-- Language links...DO NOT DELETE --><br />
[[fr: Comment installer le module PunBB]]</div>Momse