The ModInstaller  1.3.2  Invision Power Board 1.3
Mod Description Auto Installation of standardized mods for ipb 1.3 There is no need to install the mod manually. Instead use Mod_Installer.php which resides in the root directory of your board.
Mod Compatibility Invision Power Board 1.3
Mod Category ACP Mod
Mod Author Peter
Mod Author's Email Peter@ibforen.de
Info File sources/mods/installer/mod_installer_howto.htm
Mod Version 1.3.2
Comment Distribution is not allowed. Download from ibforen.de or invisionize.com
All changes could be recognized by mod_token

This html-howto was created with The ModInstaller 1.2 by
Peter@ibforen.de, released 2003-11-04
Creation time 2007-08-08

It is not for public use.

Attention
  • This modification is no freeware.
  • Redistribution of this howto or of one of the mod files is prohibited. Redistribution of the mod or its files only with my authorisation.
  • Customizing of the mod, in order to fit your board's skin, is welcomed. Share your experiences with the community.But do not hurt my copyright by distributing code segment derivated from this mod.
  • Violation of these rules will finally let me stop any production of free available modifications or programs. Please, respect the creative work of coders and take care of their copyrights.
Mod Token mod_installer

 Content

1 Newest History and Change Logs
2 Changes
3 Copy
4 Code
5 Customize
6 Comment
7 Older Change History and Change Logs

 1.  Newest History and Change Logs

Version 1.3.2 2007-01-08
Version 1.3.1 2006-12-09
Version 1.3 2006-12-09

 2.  Changes
Changed file Changed function
admin.php body
admin.php do_admin_stuff(..)
sources/Admin/admin_pages.php body

 3.  Copy

The Mod Archive is prestructered. Please copy the entire uncompressed archive into the root directory of your board.

 4.  Code


Step  1:  Open admin.php

  A. Find in function do_admin_stuff(..)

    // Check to make sure the array key exits..
    if (! isset($choice[$IN['act']]) )

     Insert above the blue code



//-- mod_installer begin
    if ($MEMBER['mgroup'] != $INFO['admin_group']) {
        global $CATS;
        unset($CATS['installer']);
    }
    if ($IN['act'] == "install") {
        if (file_exists(ROOT_PATH."sources/mods/installer/mod_installer_func.php")) {
            require ROOT_PATH."sources/lib/post_parser.php";
            require ROOT_PATH."sources/mods/installer/mod_installer_func.php";
        } else {
            die("Could not call required function from file 'sources/mods/installer/mod_installer_func.php'. Does it exist?");
        }
    }
//-- mod_installer end


    // Check to make sure the array key exits..
    if (! isset($choice[$IN['act']]) )

  B. Find

$IN = $std->parse_incoming();

     Insert above the blue code



//-- mod_installer begin
    $std->allow_unicode = 0;
//-- mod_installer end


$IN = $std->parse_incoming();


Step  2:  Open sources/Admin/admin_pages.php

  Find

?>

     Insert above the blue code



//-- mod_installer begin
    $PAGES['installer'] = array(
                                    1 => array( 'View Installed Mods', 'act=install'    ),
                                    2 => array( 'Install A Mod'    , 'act=install&code=install'  ),
                                    3 => array( 'Collision Test'    , 'act=install&code=collision'  ),
                                    );
    $CATS['installer'] = "MOD Installation";
    $DESC['installer'] = "Autoinstallation Of Mods Made By The Modders At ibforen.de And invisionize.com";
//-- mod_installer end


?>

 5.  Customize

Manual Installation


Do not install this mod manually. Use The ModInstaller, it is so easy.

Please ? You really want to install it manually against my recommendation ?

Ok, copy ./sources/mods/installer/mod_installer_install.php into the root dir of your ipb. That is that directory where index.php and admin.php reside.

Then run the install script within your browser. It will create the missing tables and fields in your database.

Now add all modification from above to your php files. Plesae modify every occurrency of the given search text. Sometimes that part appears more than one time.



There is no need to install the mod manually. Instead use Mod_Installer.php which resides in the root directory of your board.

 6.  Comment

 7.  Older Change History and Change Logs

Version 1.2g 2006-11-13
Version 1.2f 2006-01-29
Version 1.2e 2005-09-04
Version 1.2d 2005-03-04
Version 1.2c 2004-01-07
Version 1.2 2003-11-04
Version 1.1 2003-10-08
Version 1.0 2003-07-03