XOOPS: XOOPS 2.30 正式版发布

发布者: phppp 在 2008/9/22 10:40:00 33941 次阅读
Resized Image
终于等到了!!! XOOPS 开发团队很高兴地宣布发布 XOOPS 2.30 正式版.

这是几年中最重要的 XOOPS 发布,因为它合并了现有 2.0 和 2.2 的两个分支,并为下一代系统 XOOPS 3.0 建立了一座桥梁。

在 XOOPS 2.3 发布中,用户将能够了解 XOOPS 3.0 可用的一些新功能,开发者可以更好地理解 XOOPS 开发的方向,设计师可以了解将支持哪些功能。

尽量保证前后兼容性。为 2.0.* 和 2.2.* 编写的模块将在 2.3 上运行;为 2.3 开发的应用程序将与 XOOPS 3.0 自动兼容。

鼓励开发者将他们的应用程序模块写在与 XOOPS 2.3 上,这样他们就可以集成一些新功能,并确保轻松迁移到 XOOPS 3.0。

重要提醒:请阅读安装和升级说明!!!
一如既往,在升级之前,请备份您当前的网站!!!


Sourceforge 仓库下载。


What's New for Users ----------------------------------- Some of the new features that might interest users: - Default character set encoding has been changed to UTF-8; - Enabled "auto login" or "remember me"; - CAPTCHA is enabled for registration and comment system; - Block clone enabled so that webmasters have more flexibility; - XOOPS editor package is provided and most visual editors are avilable, e.g. FCKeditor, TinyMCE, etc.; - Side-wide editor; - Mask is added for start page; - Implemented new installer with user experience improvement experiments; - Upgrading scripts from 2.0* and 2.2* to 2.3; - Permissions for access to user profile page is configurable; - Extensible Profile module; - Private Messages Module; - Extended DHTML as default, with inline preview enabled; - EXM/ThAdmin Admin GUI as options. What's New for Developers ----------------------------------- 1 Improved XOOPS ORM by enabling extensible persistable object handler: - The improved persistable object handler supports almost all common methods for database access and data treatment, so that developers do not need to write their own classes or methods; - Custom handler is supported. Developers can add their own handler if they want more functionality or to replace XOOPS native handlers. 2 Improved text sanitizer: - Custom extension is supported. Developers can add new filters or methods to sanitizer based on their specific needs. - Built-in extensions, which can be disabled or enabled (e.g. for Flash, YouTube, images, Wiki, syntax highlight, text filter, etc.) - Combined with improved persistable object handler (see above), text input from users will be filtered automatically for security considerations. 3 Custom Frameworks support: - Module developers can add their own library or frameworks (located in XOOPS_ROOT_PATH/Frameworks) which can be shared by other modules. - PEAR, Geshi have been provided as custom libraries in Frameworks. - Once the code inside Frameworks is proven stable and valuable, they will be adopted by XOOPS core and moved into XOOPS core package. This way we can build a standard, efficient channel for third-party developers to contribute. 4 XOOPS editor packages are now supported officially: - A XoopsEditor handler is built to accept third-party editors; - Three editors, including Textarea, Dhtmltextarea, and Extended Dhtmltextarea are provided in XOOPS core. FCKeditor, TinyMCE, Koivi are now provided as third-party add-ons. 5 XOOPS CAPTCHA is built into XOOPS core: - CAPTCHA has been added to registration and comment forms. - Module developers can add CAPTCHA very easily to their applications. 6 XOOPS Control Panel GUI is introduced: - Old administration interface has been kept as legacy - A new interface is designed, although very rough at this stage - Custom interfaces are allowed, ThAdmin by MusS and Kris is the first one introduced 7 XOOPS file and folder engine is added, based on CakePHP. 8 XOOPS Cache engine is built based on CakePHP. 9 Some other improvements and new resources: - XoopsLocal for localization; - XoopsLoad emulating SPL autoload in PHP5; - XoopsUtility as a collection for miscellaneous methods used by XOOPS; - Block clone feature is activated to save module developers' efforts; - Enabled character set and collation support for MySQL 4.1+; - Upgraded Smarty to 2.6.19; - Upgraded phpmailer to 2.0.0; - Added XOOPS data and library folders for forward compatibility with XOOPS 3.0; - Added XOOPS_TRUST_PATH for compatibility with some modules, e.g. protector 10 For more changes, please check changelog.txt What's New for Theme/Template developers ----------------------------------- 1 Rel attribute for anchors is now supported. Developers/designers are encouraged to use (X)HTML compliant "rel" attribute instead of "target". 2 Control Panel GUI handler is introduced thus designers now get the power to make beautiful backend interfaces. System requirements ----------------------------------- PHP: Any PHP version >= 4.3 (PHP 4.2.x may work but is not officially supported, PHP 5.0+ is strongly recommended) MySQL: MySQL server 3.23+ (MySQL 5.0+ is strongly recommended) Web server: Any server supporting the required PHP version (Apache highly recommended) Downloading XOOPS 2.30 Final ----------------------------------- Your can get this release package from the sourceforge.net file repository. Both .zip and .gz archives are provided. Installing XOOPS 2.30 Final ----------------------------------- 1. Copy the content of the htdocs/ folder where it can be accessed by your server 2. Ensure mainfile.php and uploads/ are writable by the web server 3. For security considerations, you are encouraged to move directories xoops_lib (for XOOPS libraries) and xoops_data (for XOOPS data) out of document root, or even change the folder names. 4. Make the directory of xoops_data/ writable; Create and make the directories of xoops_data/caches/, xoops_data/caches/xoops_cache/, xoops_data/caches/smarty_cache/ and xoops_data/caches/smarty_compile/ writable. 5. Access the folder where you installed the htdocs/ files using your web browser to launch the installation wizard We also highly recommend the installation of the PROTECTOR module which will bring additional security protection and logging capabilities to your site. To install protector module with a fresh new installation of XOOPS 2.30, copy /extras/mainfile.dist.php.protector to /htdocs/mainfile.dist.php BEFORE installing XOOPS. To install protector module with upgrading from a previous version to XOOPS 2.30, copy /extras/mainfile.dist.php.protector to /upgrade/upd-2.0.18-to-2.3.0/mainfile.dist.php BEFORE upgrading XOOPS. Upgrading from a previous version ----------------------------------- Upgrading from XOOPS 2.0.* above 2.0.14 and 2.2.* (using the full package) 1. Move the "upgrade" folder inside the "htdocs" folder (it's been kept out as it's not needed for full installs) on your local machine 2. Delete htdocs/mainfile.php, htdocs/install/, htdocs/cache/, htdocs/extras/, htdocs/template_c/, htdocs/themes/ and htdocs/uploads/ from the "htdocs" folder on your LOCAL machine 3. Upload the content of the htdocs folder on your LOCAL machine over your existing files on your server 4. For security considerations, you are encouraged to move directories xoops_lib (for XOOPS libraries) and xoops_data (for XOOPS data) out of document root, or even change the folder names. 5. Make the directory of xoops_data/ writable; Create and make the directories of xoops_data/caches/, xoops_data/caches/xoops_cache/, xoops_data/caches/smarty_cache/ and xoops_data/caches/smarty_compile/ writable. 6. Ensure the server can write to mainfile.php 7. Access使用浏览器访问/upgrades/,然后按照以下步骤操作 8. 按照说明更新您的数据库 9. 再次写入保护 mainfile.php 10. 从您的服务器上删除升级文件夹 11. 从模块管理界面更新 "系统" 模块,还建议更新其他模块 升级从任何 XOOPS (从 2.0.7 到 2.0.13.2) (使用完整包): 1. 将 "升级" 文件夹移动到您的本地机器上的 "htdocs" 文件夹内(它已被保留,因为它对于完整的安装来说不是必需的) 2. 从您的本地机器的 "htdocs" 文件夹中删除 htdocs/mainfile.php,htdocs/install/,htdocs/cache/,htdocs/extras/,htdocs/template_c/,htdocs/themes/ 和 uploads/ 3. 将您本地机器上 htdocs 文件夹的内容上传到您的服务器上现有的文件中 4. 从您的服务器上删除以下文件夹和文件(它们属于旧版本): * class/smarty/core * class/smarty/plugins/resource.db.php 5. 确保服务器可以写入 mainfile.php 6. 出于安全考虑,您被鼓励将 xoops_lib (用于 XOOPS 库) 和 xoops_data (用于 XOOPS 数据) 文件夹从文档根目录中移出,或者甚至更改文件夹名称。 7. 使 xoops_data/ 目录可写;创建并使 xoops_data/caches/,xoops_data/caches/xoops_cache/,xoops_data/caches/smarty_cache/ 和 xoops_data/caches/smarty_compile/ 目录可写。 8. 访问使用浏览器访问/upgrade/的路径,并按照9.的指示操作。再次设置mainfile.php为只读10.从您的服务器中删除升级文件夹11.通过模块管理界面更新“系统”模块,建议也更新其他模块。升级非UTF-8网站:UTF-8编码自XOOPS 2.30版本起作为默认字符集。但是,将现有网站从非UTF-8字符集转换为UTF-8可能会出现一些问题。在没有足够好的转换解决方案之前,如果您不是经验丰富的用户,请按照以下设置进行网站升级:- 在升级过程中“数据库字符集和校对”步骤中选择“不更改”选项- 如果在新的global.php文件中将它更改为了UTF-8,请在/languages/yourlanguage/global.php中将existent _CHARSET值改为使用现有的值。
define('_CHARSET''UTF-8');
升级XoopsEditor包:在XOOPS 2.30最终包中,包含了五个编辑器:dhtmltextarea和用于纯文本的textarea、fckeditor、tinymce和koivi用于所见即所得HTML。由于fckeditor和tinymce编辑器中都存在一些目录结构变化,推荐在上传新补充器之前删除现有的编辑器。如果您在使用fckeditor的模块,请根据/fckeditor/modules/中的文件修改模块特定配置,特别是如果您使用的是“文章”模块。文件完整性检查-----------------------------------XOOPS完整包附带了一个脚本,可以检查所有系统文件是否已正确上传到服务器上。使用方法如下:1. 将位于XOOPS包根目录中的checksum.php和checksum.md5文件上传到您的XOOPS服务器文件夹(将它们放在mainfile.php旁边)。2. 使用您的浏览器执行checksum.php3.如有必要,重新上传缺失或损坏的系统文件4.从您的服务器中删除checksum.php和checksum.md5。模块-----------------------------------此版本只包含“系统相关模块”。如果您需要额外的功能,请访问XOOPS模块仓库。- 注意:因为新仓库正在建设中,当前仓库可能不是最新的,请访问个别开发者的网站,以确保您使用的是模块的最新版本。如何贡献-----------------------------------错误报告:http://sourceforge.net/tracker/?group_id=41586&atid=430840补丁和增强:http://sourceforge.net/tracker/?group_id=41586&atid=430842功能设计:http://sourceforge.net/tracker/?group_id=41586&atid=430843发布公告:https://lists.sourceforge.net/lists/listinfo/xoops-announcementXOOPS开发团队 2008年9月20日