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
Version 1.3.2 2007-01-08- Bug during execution of sql commands in the sql section
Update:- Exchange mod_installer_func.php
- Install with The ModInstaller for updating the new version number
Version 1.3.1 2006-12-09- Feedback in case of timeout with big modifications
Update:- New file standby.gif in html/sys-img (you can exchange this with your own graphic)
- Exchange all language files
- Exchange mod_installer_func.php
- Install with The ModInstaller for updating the new version number
Version 1.3 2006-12-09- Fix for timeout problem
Although the script might exceed the max_execution_time (php.ini), the process can be finished
Actions are logged and with next call the installation is continued after the last action.
| Changed file |
Changed function |
| admin.php |
body |
| admin.php |
do_admin_stuff(..) |
| sources/Admin/admin_pages.php |
body |
The Mod Archive is prestructered. Please copy the entire uncompressed archive into the root directory of your board.
- If the lang directory of this archive contains more than the English language in lang/en then you have to copy the other lang files in their own lang dirs.
Example:
The German lang files resides in lang/de. If your German language resides in lang/2 then you must copy lang/de to lang/2
- In a similar way you have to copy the skin files in archive's Skin/s1 to the skin dirs of your board.
Do not forget to resynchronize the database templates from the php files via ACP ⇒ Skins & Templates ⇒ Manage html templates
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
?>
|
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.
- If you want to use The ModInstaller the first time please install this mod on a fresh installed ipb 1.2 in original state.
- If you want to trust The ModInstaller and to keep it reliable do not longer modify the source files of your board manually.
- In case of being obliged to modify the board manually take care of the collision results you can produce with The ModInstaller for each mod.
But I cannot recommend any manual modifications.
- Look at the CodeChange.php of the mods which are compatible with The ModInstaller. There you can find detailed informations which code is used to search for in order to insert the mod code.
- After having installed a mod read the delivered htlm-howtos to understand which steps you have to do yourself. By example sometimes you have to change the settings of some new options in ACP before you can use the mod.
Version 1.2g 2006-11-13Version 1.2f 2006-01-29- Bugfixes
- Correct display of date and version of the last installation
Version 1.2e 2005-09-04Version 1.2d 2005-03-04- Bugfixes
- Compatible with the Zend Accelerator
Version 1.2c 2004-01-07Version 1.2 2003-11-04- Option to remove sql changes was added
- New mods added:
- Prefix reg_ will run a search with a regular expression:
reg_insert_below_eol, reg_insert_above_bol, reg_insert_below, reg_insert_above, reg_exclude
Version 1.1 2003-10-08- Source files with hardcoded text is handled even if the text is language dependant
- New mods added:
- insert_above_bol : insert the new code above the beginning of line 1 of search code
- insert_below_eol : insert the new code below the end of last line of search code
Version 1.0 2003-07-03- Installation of a mod
- View and remove mods
- Test a mod for collision