HaveFnuBB integration inside a Jelix Application
This page describes, step by step, how to install HaveFnuBB inside an existing Jelix application.
The easiest way is to keep every plugins and modules together in a havefnubb directory.
So :
- Uncompress the archive havefnubb-x.y.z.tar.gz
part I : modules and plugins installation
- in the lib dir of jelix, create a havefnubb one.
- copy havefnubb-x.y.z/modules in lib/havefnubb
- copy havefnubb-x.y.z/plugins in lib/havefnubb
- copy the content of havefnubb-x.y.z/module-hooks in lib/havefnubb/modules
part II : themes and "web" files
- copy the content of havefnubb-x.y.z/themes in your own www/themes directory if it exists or just copy the havefnubb-x.y.z/themes in your www directory
- copy the content of havefnubb-x.y.z/havefnubb/var/themes in your own var/themes directory if it exists or just copy the havefnubb-x.y.z/havefnubb/var/themes in your var directory
- copy the havefnubb-x.y.z/hfnu directory in your www directory
- copy the havefnubb-x.y.z/forums.php file in your www directory
- copy the havefnubb-x.y.z/install.php file in your www directory
- copy the havefnubb-x.y.z/hfnuadmin.php file in your www directory
part III : configuration files
- copy :
- havefnubb-x.y.z/havefnubb/var/config/havefnubb
- havefnubb-x.y.z/havefnubb/var/config/hfnuadmin
- havefnubb-x.y.z/havefnubb/var/config/install
- havefnubb-x.y.z/havefnubb/var/config/havefnu.search.ini.php
- havefnubb-x.y.z/havefnubb/var/config/wikitoolbar.ini.php
in your own var/config
- if you dont already use autolocale then copy havefnubb-x.y.z/havefnubb/var/config/autolocale.ini.php too in your own var/config
- if you use significant url engine, then you need to add to your urls.xml file the 3 entrypoints :
<classicentrypoint name="forums" default="true" noentrypoint="false"> ... </classicentrypoint> <classicentrypoint name="install" default="false" noentrypoint="false"> ... </classicentrypoint> <classicentrypoint name="hfnuadmin" default="false" noentrypoint="false"> ... </classicentrypoint>
part IV : Overloads
- copy the content of havefnubb-x.y.z/havefnubb/var/overloads in your own var/overloads if it exists or just copy the havefnubb-x.y.z/havefnubb/var/overloads in your own var/ directory
part V : Entrypoints
- in the file forums.php, instal.php and hfnuadmin.php you should see this line :
require ('havefnubb/application.init.php'); - you have to replace 'havefnubb' by the name of your own application
