JForum

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
 
(未显示1个用户的13个中间版本)
第1行: 第1行:
 +
{{top news}}
 +
[[Image:Jforum-90x90.gif|right]]
 +
 
JForum is a powerful and robust discussion board system implemented in Java
 
JForum is a powerful and robust discussion board system implemented in Java
  
当前版本:2.1.6
 
 
==简介==
 
==简介==
 
JForum 是一个功能强大 ,易于管理的Java编写的论坛。它的设计完全遵从MVC设计模式,能够在任何Servlet容器与EJB服务器上运行。而且可以轻松的定制与扩展JForum论坛。
 
JForum 是一个功能强大 ,易于管理的Java编写的论坛。它的设计完全遵从MVC设计模式,能够在任何Servlet容器与EJB服务器上运行。而且可以轻松的定制与扩展JForum论坛。
第12行: 第14行:
 
  3. mv JForum-x.x.x to jform
 
  3. mv JForum-x.x.x to jform
 
  4. mv jforum /usr/local/tomcat/webapps
 
  4. mv jforum /usr/local/tomcat/webapps
  5. http://localhost:8080/jforum/  // 根据安装向导完成jforum安装,可选择中文  
+
  5. http://localhost:8080/jforum/install.jsp // jforum 2.1.7 
 +
Please give write access for the user who is running the webserver
 +
to the file 'index.htm' and for the directory 'WEB-INF/config' and its
 +
subdirectories before continuing.
 +
 
 +
Missing index.redirect file.
 +
http://www.jforum.net/posts/downloadAttach/328.page
 +
http://localhost:8080/jforum/  // jforum 2.1.6 根据安装向导完成jforum安装,可选择中文  
  
 
创建数据库
 
创建数据库
第60行: 第69行:
 
* [[Hibernate 3]]
 
* [[Hibernate 3]]
 
* [[VRaptor]]: session management, action dispatching and request processing.
 
* [[VRaptor]]: session management, action dispatching and request processing.
*[[Spring]] - Transaction manager (?), IoC and etc. We need people with expertise on this to help us know better where to effectively use Spring.  
+
*[[Spring Framework]] - Transaction manager (?), IoC and etc. We need people with expertise on this to help us know better where to effectively use Spring.  
 
* [[FreeMarker]] Template engine
 
* [[FreeMarker]] Template engine
 
*[[Java Plugin Framework]] - Java Plugin Framework as plugin engine. This is critical.  
 
*[[Java Plugin Framework]] - Java Plugin Framework as plugin engine. This is critical.  
第70行: 第79行:
  
 
==精彩图集==
 
==精彩图集==
[[Image:jforum-topic_listing_b.jpg|thumb|left|Topic listing page, showing the first page of topics of some forum]] [[Image:jforum_reading_messages_b.jpg|thumb|left|Reading a topic]] [[Image:jforum_config_form_b.jpg|thumb|left|Board configuration options in the Administration Panel]]
+
<gallery perrow=5>
 +
Image:jforum-topic_listing_b.jpg|Topic listing page,showing the first page of topics of some forum Image:jforum_reading_messages_b.jpg|Reading a topic
 +
Image:jforum_config_form_b.jpg|Board configuration options in the Administration Panel
 +
</gallery>
 +
 
 +
{{Comment}}
 +
 
 +
[[Category:Forum]]
 +
[[Category:Java]]

2010年9月26日 (日) 06:43的最后版本

Jforum-90x90.gif

JForum is a powerful and robust discussion board system implemented in Java

目录

[编辑] 简介

JForum 是一个功能强大 ,易于管理的Java编写的论坛。它的设计完全遵从MVC设计模式,能够在任何Servlet容器与EJB服务器上运行。而且可以轻松的定制与扩展JForum论坛。

JForum是一个功能完善,强大,支持多论坛版块.功能包括:无限版块、无限分类(版块分类),主题观注,邮件提示,站内信息,用户分组,高级灵活的限制设置,等等。

[编辑] 安装指南

1. Downloading JForum from http://www.jforum.net/download.jsp
2. unzip *.zip
3. mv JForum-x.x.x to jform
4. mv jforum /usr/local/tomcat/webapps
5. http://localhost:8080/jforum/install.jsp  // jforum 2.1.7   

Please give write access for the user who is running the webserver

to the file 'index.htm' and for the directory 'WEB-INF/config' and its
subdirectories before continuing.

Missing index.redirect file.

http://www.jforum.net/posts/downloadAttach/328.page
http://localhost:8080/jforum/  // jforum 2.1.6 根据安装向导完成jforum安装,可选择中文 

创建数据库

mysqladmin -u root -p create jforum 或
mysql>create database jforum;
mysql>GRANT ALL PRIVILEGES ON jforum.* TO jforum@localhost IDENTIFIED BY 'jforum';
mysql>flush privileges;

[编辑] Hack JForum

修改 .page 的后缀 为 .html

对于 2.1.6 版本,修改以下三个文件 1. WEB-INF/config/SystemGlobals.properties

servlet.extension = .page  -> servlet.extension = .html

2. WEB-INF/web.xml (修改两处)

<url-pattern>*.page</url-pattern> -> <url-pattern>*.html</url-pattern>

3. index.htm

<script type="text/javascript">
 document.location = "forums/list.page; -> forums/list.html
</script>
http://localhost:8080/jforum/

这样就 OK 啦 :)


下面的修改不知道是什么版本?

1.修改

  1.WEB-INF/config/SystemGlobals.properties
  servlet.extension = .page  -> servlet.extension = .html
  2.WEB-INF/web.xml(两处)
  <url-pattern>*.page</url-pattern> -> <url-pattern>*.html</url-pattern>
  3.src/net/forums/InstallServlet.java:
  + "/forums/list.page");  ->  + "/forums/list.html");
  4.src/net/jforum/view/forum/PostAction.java
  "/posts/list/" + t.getId() + ".page"); -> "/posts/list/" + t.getId() + ".html");
  5.UserInfo.java 
  "user/profile/"+id+".page"); -> "user/profile/"+id+".html");

2.修改模版文件.htm中.page的链接

OK, 如有问题请邮件至[email protected]

[编辑] JForum 3

[编辑] Technologies

http://www.jforum.net/posts/list/3436.page

[编辑] 资源链接

[编辑] 精彩图集

Comment-32x32.png

<discussion>characters_max=300</discussion>

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱