Unified MOD Install Library (UMIL) 1.0.4 Released

Read me first before posting anywhere!
Subscribe to the feed, available in Image Atom or Image RSS format.
Scam Warning
Post Reply
User avatar
Former Team Member
Posts: 2082
Joined: Thu Jan 22, 2009 3:59 am
Location: Sacramento, CA
Name: Sam Thompson

Unified MOD Install Library (UMIL) 1.0.4 Released

Post by Sam »

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);
  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

Please report any bugs you may encounter to the tracker.

phpBB Modifications Team
User avatar
Customisations Team Leader
Customisations Team Leader
Posts: 17560
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón

Re: Unified MOD Install Library (UMIL) 1.0.4 Released

Post by DavidIQ »

Discussion about this announcement can be done here.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
Post Reply

Return to “Announcements”