1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Release Logs:XOOPS Cube Legacy 2.2.0

From xoopscube

Jump to: navigation, search

Contents

Summary

What to expect

  • Big improvements - This is the first major upgrade version of the Legacy Base module.
  • Bugs - Developers're challenging to fix known issues that the 2.1.x architecture can not fix.
  • PHP 5 and later - 2.2.0 can run on only PHP 5 and later.
  • Speeding up - Applied nobu's code tuning for speeding up.

Can you check this?

Especially, can you check this?

System Requirements

  • PHP 5.0 and later
  • MySQL 5

HowToUpgrade

Enhancements

  • XOOPS_TRUST_PATH Support
    • Directories smarty, cache, templates_c and settings were moved under XOOPS_TRUST_PATH.
    • Add `trust_dirname` field in Modules table. Module Developers should add $modversion['trust_dirname'] to their xoops_version.php if using trust path.
  • Keep compatibility with 2.1. Almost modules for XCL 2.1 runs on XCL 2.2.

Admin

  • New FileManager using Flash.
  • Site administrators can define page title format of modules using new API.

User

  • You can download user data as CSV.
  • When a user uploads a big avatar image, the avatar image is resized automatically(GD2 library is required).

Profile

  • This is a new module.
  • You can edit fields of user profile data
    • Site administrators can add custom fields to user data form of your site.
    • Site administrators can show values in profile by smarty modifier xoops_user.

Shared Category

  • This is a new module(in extras/extra_modules/lecat).
  • Legacy 2.2 supports the category feature as generic feature for modules.
  • Site administrators create a category and share it with the plural modules using this feature.
  • Hierarchic structure support.

Private Message

Security

WYSIWYG

UI

Design

Preload

APIs (for developers)

  • jQuery Support. (XCL 2.2 loads jQuery and jQuery UI in default)
  • JavaScript and Html Head handling
    • function for set/get http meta element.
    • Set RSS auto-discovery url in LegacyRender Preference.
  • Legacy_Utils new APIs.
    • getUid. This new API is easy way to get user or guest user.
    • getDirnameListByTrustDirname
    • getTrustDirnameByDirname
    • formatPagetitle
    • getModuleHandler
    • getUserName
    • renderUri
      • New API "Legacy_Utils formatPagetitle()" formats page titles that site administrators define.
      • XCL 2.2 recommends module developers to use this new API.
  • Legacy_TextFilter
    • method purifyHtml() is added.
  • XoopsSimpleObject
    • method purifyHtml() is added.
  • XoopsObjectGenericHandler
    • method getIdList() is added
  • New Delegates
    • XoopsObjectGenericHandler
      • when insert() new record: 'Module.{dirname}.Event.Add.{tablename}'
      • when insert() update record: 'Module.{dirname}.Event.Update.{tablename}'
      • when delete(): 'Module.{dirname}.Event.Delete.{tablename}'
    • New delegates for the category module.
    • "Legacy_Progress" is a new delegate interface for workflow.
    • more extendable.
  • Misc Improvement
    • Add member property $mDirname to XoopsSimpleObject and XoopsObjectGenericHandler
    • IN Clause support in Criteria.
    • Define XOOPS_LIBRARY_PATH.
    • Add 'user_name' key in smarty plugin xoops_user
    • SEO Url(Cool Uri)

Fix

For PHP 5.3

Others

Personal tools