XOOPS: XOOPS 2.3.0 测试版 1 发布

发布者: phppp于 2008/7/6 2:10:00 已被阅读 12496 次
XOOPS 2.3.0 测试版 1 发布说明
---------------------------------------

XOOPS 开发团队很高兴宣布发布 XOOPS 2.3.0 测试版。
XOOPS 2.3 版本的目标是将现有的 2.0 和 2.2 两个分支合并,并为下一代的系统 XOOPS 3.0 建立桥梁。
使用 XOOPS 2.3 版本,用户可以了解一些将在 XOOPS 3.0 中可用的新功能,而开发者可以更好地理解 XOOPS 开发的方向,设计师可以了解未来将支持哪些功能。
将尽可能保证 backward 和 forward 兼容性。为 2.0.* 和 2.2.* 编写的模块将在 2.3 上运行;为 2.3 开发的应用程序将自动与 XOOPS 3.0 兼容。
鼓励开发者将应用程序模块写成 XOOPS 2.3,以便它们可以集成一些新功能并确保轻松迁移到 XOOPS 3.0。
一些在测试版中带来的特定改进:XOOPS 2.2 的升级脚本、与 XOOPS 3 的向前兼容性和全局 WYSIWYG 编辑器。

下载 从 Sourceforge 仓库 XOOPS 2.3.0 测试版 1 核心包和附加包


适用于 Smarty 缓存路径的快速修复
/class/template.php,行 #68,改为
$this->cache_dir = XOOPS_VAR_PATH . "/caches/smarty_cache";


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 datafile 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. What's New for Users ----------------------------------- So far the 2.3.0 does not give user many new features although it has great potential of adding new features very easily. 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 System requirements ----------------------------------- PHP Any PHP version >= 4.3 (PHP 4.2.x may work but is not officially supported) MySQL MySQL server 3.23+ Web server Any server supporting the required PHP version (Apache highly recommended) Downloading XOOPS 2.3 Beta ----------------------------------- Your can get this release package from the sourceforge.net file repository. Both .zip and .tgz archives are provided. Installing XOOPS 2.3 Beta ----------------------------------- 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 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. Access/upgrade/ 使用浏览器,并按照以下步骤操作 7. 按照说明更新您的数据库 8. 从您的服务器上删除升级文件夹 从 2.0.7 到 2.0.13.2(使用完整包)的任何 XOOPS 升级:1. 将 "upgrade" 文件夹移至 "htdocs" 文件夹内(因为它对于完整安装不是必须的,所以之前未保留)在您的本地机器上 2. 从您的本地机器上的 "htdocs" 文件夹中删除 htdocs/mainfile.php、htdocs/install/、htdocs/cache/、htdocs/extras/、htdocs/template_c/、htdocs/themes/ 和 htdocs/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. 访问/升级/ 使用浏览器,并遵循说明 9. 重新设置 mainfile.php 为写保护 10. 从您的服务器中删除 upgrade 文件夹 11. 从模块管理界面更新 "系统" 模块 文件完整性检查 ----------------------------------- 全部的 XOOPS 包附带着一个脚本,可以检查所有系统文件是否已被正确上传到服务器。要使用它,请按照以下说明操作: 1. 将位于 XOOPS 包根目录下的 checksum.php 和 checksum.md5 文件上传到您的 XOOPS 服务器文件夹(将它们放在 mainfile.php 旁边)。 2. 使用浏览器执行 checksum.php 3. 如果需要,重新上传缺失或损坏的系统文件 4. 从您的服务器上移除 checksum.php 和 checksum.md5 揭示空白页面回溯日志 ----------------------------------- 当遇到阻止 XOOPS 运行的致命错误时,XOOPS 会显示一个基本的错误页面。为了帮助您诊断错误的根源,该页面包含一些默认隐藏的额外消息。要显示它们,请使用浏览器中的 "全选" 功能(对于大多数浏览器,您可以使用 "Ctrl+A")。模块 ----------------------------------- 包包除了系统模块外不包含任何模块。欢迎您浏览 XOOPS 模块存储库以获取一些模块。注意:由于正在构建新的存储库,当前的存储库可能不是最新的,请访问开发者的网站以确保您正在使用模块的最新版本。我们还强烈建议安装 Protector 模块,这将为您网站提供额外的保护和日志功能。激动人心的新闻:更多开发者变得活跃,最近有新开发者加入开发团队,XOOPS 2.3.0 测试版发布带来了更多功能和模块。如何贡献 ----------------------------------- 缺陷报告: 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-announcement XOOPS 开发团队