The Modifications Team is proud to announce the availability of the 1.0.4 "Paul Breaks Stuff Edition" of UMIL, the Unified MOD Install Library.

UMIL is a library for MOD authors that enables them to easily create database installation and update scripts for their MODs. It provides unified methods to access phpBB's API for adding modules, adding permissions, modifying the database, and more.

We require MODs containing UMIL that are newly submitted to the MODDB to contain this new version. In order to update the UMIL release included with your MOD just replace the old UMIL folder with the new one. An additional change may be required to your UMIF file, as a backwards incompatible change has been made. The changes are quite simple, and require only moments to check for and complete.

  1. Open your UMIF File
  2. Do a search for "define('IN_PHPBB', true);" If it is found, your MOD is unaffected by this, and no further action is required.
  3. If the IN_PHPBB constant is not defined, FIND
    Code: Select all
    define('UMIL_AUTO', true);
    $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
    $phpEx = substr(strrchr(__FILE__, '.'), 1); 
  4. Then, ADD AFTER
    Code: Select all

    define
    ('IN_PHPBB', true);
    include(
    $phpbb_root_path . 'common.' . $phpEx);
    $user->session_begin();
    $auth->acl($user->data);
    $user->setup(); 
  5. Save your UMIF file

MODs currently in the queue submitted prior to this release will be repacked and fixed as required to update to this version of UMIL. For a more detailed explanation, please refer to this post

How to get it

You can get UMIL and more information from the UMIL page.

What's new

The following was changed in this release:
  • [Feature] Ability to specify an index length for MySQL4 (as supported by phpBB 3.0.8) #62343
  • [Security Change] Removed support for including common.php when IN_PHPBB is not defined

Bugs

Please report any bugs you may encounter to the tracker.

phpBB Modifications Team

Read more: http://www.phpbb.com/community/viewtopic.php?f=14&t=2114652

Tags CMS News

Sponsored Links

The Joomla! logo is a trademark of Open Source Matters, Inc, in New York, NY.
  Colorpack.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Valid XHTML 1.0 Transitional

เสื้อผ้า แฟชั่น aim star Clothing & Accessories | camping goods online | eShopping Cheap Product | canada plaza | Fran็ais Plaza | bestseller | snowsport shops | best Product for babys | best book | Seo Jet |

ทำ-มะ

?
Secured by Host Colorpack