Jforum secondary development (1)

Source: Internet
Author: User
1. Environment

Myeclipse2014, jdk7, tomcat8, mysql5.6

2. Download the source code at http://jforum.net/download.jsp3.import source code.
  • Create a web project jforum
  • Copy all files under SRC under the downloaded jforum package directory to SRC under jforum
  • Copy the downloaded jforum package directory lib to the Lib under jforum
  • Copy other files to the jforum webroot.
4. Data Import

Import WEB-INF/config/database/MySQL/mysql_db_struct. SQL and mysql_data_dump. SQL.

Due to version issues, an error may occur in the line 'Engine = innodb'. Replace it with 'Engine = innodb.

5. Configuration Modification

In WEB-INF/config/database/MySQL. Properties

  • Username and password
  • Dbencoding = UTF-8

  • MySQL. Encoding = UTF-8

  • In addition, it is particularly mentioned that & useunicode \ = true & characterencoding \ = utf8mysql. Encoding = UTF-8 is added at the end of database. Connection. String (Chinese garbled characters are used to submit data)

In WEB-INF/config/systemglobals. Properties

  • I18n. Board. Default = zh_cn language Localization

  • Copy the templates/gpl_icons/zh_cn folder to the templates/defualt/images folder (to solve the problem, there is no post button on the Forum)
6. Other problems

The referenced UN. Misc. base64decoder fails to be compiled, and RT. jar is missing.

7. Effect

 

 

Jforum secondary development (1)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.