PHP Bulletin Board Home
News About Home
Features of phpBB Test drive phpBB Downloads Support for phpBB The phpBB Community Styles for customising phpBB 3rd party modifications to phpBB

Support Home | Knowledge Base Home | Submit Article | Search Articles | Browse Articles
 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
Code:
$passwrd_sql = '';


[AFTER, ADD] - See BEFORE, ADD above Wink
[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.

Username: Password:
News | Features | Demo | Downloads | Support | Community | Styles | Mods | Links | Merchandise | About | Home
 © Copyright 2002 The phpBB Group.