Uninstalling a MOD |
Description: A pretty basic tutorial on uninstalling MODs |
Author: A_Jelly_Doughnut |
Date: Wed Oct 15, 2003 1:04 am |
Type: Tutorial |
Keywords: MOD,install,uninstall |
Category: MODifications |
 |
Everyone is familiar with the "How to Install MODs" tutorial. I thought it couldn't be a bad idea to do the same thing for uninstallation. Please do not confuse this with that tutorial. Here I go thought each of the valid actions and provide examples for most.
[OPEN] - Unchanged from installing
[COPY] - Delete the files added by the MOD from the server
[FIND] - Would do the same thing as [REPLACE] would if it were an installation.
[BEFORE, ADD] - Becomes REMOVE. Not a valid action, so I'll explain better. What the MOD would say: Code: | #
#----[ FIND ]------------------
#
$passwrd_sql = '';
#
#----[ BEFORE, ADD ]--------
#
include($phpbb_root_path . 'passwords_are_cool.'.$phpEx);
| The code as it would appear in the PHP file after installation Code: | include($phpbb_root_path . 'passwords_are_cool.'.$phpEx);
$passwrd_sql = ''; |
After uninstallation
[AFTER, ADD] - See BEFORE, ADD above
[REPLACE WITH] - Go backwards. As it appears in a MOD Code: | #
#----[FIND]---------
#
$phpbb_root_path = './';
#
#----[REPLACE WITH]-----
#
$phpbb_is_root = true; |
To undo this, pretend that the MOD says
Code: | #
#----[FIND]---------
#
$phpbb_is_root = true;
#
#----[REPLACE WITH]-----
#
$phpbb_root_path = './'; |
[IN-LINE FIND] - Essentially the same as [FIND]
[IN-LINE AFTER, ADD] - See [BEFORE, ADD], above.
[IN-LINE BEFORE, ADD] - See [BEFORE, ADD] above.
[SQL] - This one is tricky. It depends on what the author added. My suggestion would be to ask the author how to do it, or ask for help. Leaving them intact shouldn't hurt. |
|
|