this is obsolete doc -- see http://doc.nethence.com/ instead

FluxBB configuration 

 

 

Introduction 

Much lighter than phpBB ! Smaller, less features (use the plugins), and supposedly more active than PunBB. 

 

 

Installation 

Deploy FluxBB, 

tar xvzf fluxbb-1.2.22.tar.gz
mv fluxbb-1.2.22/upload path/to/vhost

 

Eventually deploy your prefered language pack, 

cd lang
wget http: //fluxbb.org/download/lang_packs/1.2/French.zip
unzip French.zip

 

Create a database, user with grants and run the install script, 

http: //example.net/install.php

 

 

Update 

cp fluxbb-1.2.22/extras/12_to_1222_update.php path/to/vhost

 

 

Unlock 

cp fluxbb-1.2.22/extras/turn_off_maintenance_mode.php path/to/vhost

 

 

PTPImages plugin installation 

Deploy the plugin, 

cd plugins
wget http: //www.ptp-images.com/mod/fluxbb.zip
mkdir ptp
unzip fluxbb.zip -d ptp
cp ptp/en/ptpimages.php ..
#cp ptp/fr/ptpimages.php ..
cd ..

note. yes, it needs to be copied to forum's root dir 

edit the plugin, 

vi ptpimages.php

change the URL, 

define('URL_VERS_CETTE_PAGE','http: //www.example.net/ptpimages.php');

 

Enable the plugin, 

cp post.php post.php.dist
vi post.php

search for, 

<textarea name="req_message"

add ID to the tag, 

<textarea name="req_message" id="req_message"

then search for, 

Hide smilies

and look down to the end of the PHP condition, after, 

<?php
}
?>

add, 

<? /* PTP Images Addon -- BOF */ ?>
<div id="divptpimages"></div>
<script type="text/javascript">var email_user = "<?if (isset($pun_user['email']) && $pun_user['email']!='')  echo $pun_user['email'];?>";</script>
<script type="text/javascript" type="text/javascript" src="http: //www.ptp-images.com/js/fluxbb.js"></script>
<? /* PTP Images Addon -- EOF */ ?>

 

 

Styles 

(FR) Liste des styles : http://www.punbb.fr/styles/ 

 

Prefered ones : 

http://www.punbb.fr/styles/previsualisation/index.php?id=98 

http://www.punbb.fr/styles/previsualisation/index.php?id=19 

http://www.punbb.fr/styles/previsualisation/index.php?id=109 

http://www.punbb.fr/styles/previsualisation/index.php?id=97 

 

 

Hacking 

Remove all fake/spam users (users with non validated email), 

delete from users where group_id=32000;

 

Manually switch some user (e.g. fluxuser) to administrators group (MySQL), 

select * from users where username='fluxuser';
update users set group_id=1 where username='fluxuser';

 

 

References 

http://fluxbb.org/ 

http://punbb.informer.com/ 

http://www.punbb.fr/ 

http://punbb.org/downloads.php#migtool