SourceForge.net Logo
Russian version

Forum Skls Forum is entirely written on Java .

The given product does not use any framework like Struts or Velocity, only the own original code based on LighningBoard 0.3.7 from Xiaobo Liu.
Before installation of Skls Forum download two files:

Deployment web-application.

For start Skls Forum you will need web-container supporting Servlet/JSP. You can use Tomcat or Resin

Copy Skls Forum distribution kit sklsforum.war in directory with other web-applications.

Start your web-container. Thus distribution kit will be unpacked, and in directory of web-applications, ex. c:\Tomcat\webapps\ (further as PATH_TO_WEBAPPS) folder PATH_TO_WEBAPPS/sklsforum will appear.

In directory PATH_TO_WEBAPPS/sklsforum/WEB-INF/classes there is file lightningboard.properties with all necessary system properties:
  • in property SYS.ENCODING specify coding used by default
  • define properies SYS.ROBOT_LOGIN, SYS.ROBOT_PASSWORD, SYS.FROM_EMAIL, SYS.SMTP_HOST. These properies are used for sending post messages by the robot.

Deployment database.

The current version of Skls Forum is tested and successfully work with two DB: MySQL and HSQL (it is included in the distribution kit).

HSQL DB
  • Unpack database hsqldb.zip in any place on disk (further as PATH_TO_DB_FILES). The directory for DB is better for choosing so that to it there was no access from the outside. For example, such directory can quite be WEB-INF, however nevertheless it is better to place DB in any other place.
  • In lightningboard.properties change the following properties:

    • SYS.DAO_TYPE=HSQLDB
    • DB.DRIVER=org.hsqldb.jdbcDriver
    • DB.URL=jdbc:hsqldb:PATH_TO_DB_FILES\\hsqldb\\sklsforum
    • DB.USER=USER_NAME (by default "sa")
    • DB.PASSWORD=PASSWORD (by default password is empty)


MySQL DB
  • If you plan to use MySQL, you need to establish JDBC-driver, having copied it in directory PATH_TO_WEBAPPS/sklsforum/WEB-INF/lib.
  • Create new DB sklsforum. Then use DB dump mysqldb.zip for construction DB structure and loading initial data.
  • In lightningboard.properties change the following properties:

    • SYS.DAO_TYPE=MYSQLDB
    • DB.DRIVER=com.mysql.jdbc.Driver or org.gjt.mm.mysql.Driver
    • DB.URL=jdbc:mysql://MYSQL_SERVER_HOST/sklsforum
    • DB.USER=USER_NAME
    • DB.PASSWORD=PASSWORD

Multilanguage support.

In file PATH_TO_WEBAPPS/sklsforum/WEB-INF/web.xml you can establish used by default locale for display messages.

For addition new message display locale it is necessary to make the following:
  • create new resources file, using template file PATH_TO_WEBAPPS/sklsforum/WEB-INF/classes/MessageResources.properties
  • save created file with a name MessageResources_LOCALENAME.properties at PATH_TO_WEBAPPS/sklsforum/WEB-INF/classes/
  • After that new link LOCALENAME becomes accessible at forum

After entering necessary changes reload web-container.

Skls Forum is ready to use. To start it it is possible since a command line of your browser:

http://HOST:PORT/sklsforum/

You can login as admin with username admin and password 123456. These values are used by default, do not forget to change them!

Probably, source codes of classes also will be necessary for you. Them it is possible download from here.

Copyright (c) 2003 Skls.ru. All Rights Reserved.
Developed by Skls.ru Team

Copyright (c) 2002-2003 Xiaobo Liu. All Rights Reserved.
Powered by LightningBoard 0.3.7.