• Welcome to ForumKorner!
    Join today and become a part of the community.

Unified MOD Install Library (UMIL) 1.0.4 Released

Phpbb-Bot

Member
Reputation
0
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. Open your UMIF FileDo a search for "define('IN_PHPBB', true);" If it is found, your MOD is unaffected by this, and no further action is required.If the IN_PHPBB constant is not defined, FIND Code: Select alldefine('UMIL_AUTO', true);$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';$phpEx = substr(strrchr(__FILE__, '.'), 1); Then, ADD AFTER Code: Select alldefine('IN_PHPBB', true);include($phpbb_root_path . 'common.' . $phpEx);$user->session_begin();$auth->acl($user->data);$user->setup(); Save your UMIF fileMODs 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 postHow to get itYou can get UMIL and more information from the UMIL page.What's newThe 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 definedBugsPlease report any bugs you may encounter to the tracker.phpBB Modifications Team

Posted on Tue, 21 Dec 2010 01:49:33 +0000 at http://www.phpbb.com/community/viewtopic.php?f=14&t=2114652
Author: Sam