This tutorial is copied from phpBB, author is morpheus2matrix
http://www.phpbb.com/community/viewtopi ... 16&t=61611The first thing to do before all, is to backup your files and your database.
Then, open the install file of the MOD and see what is written (it's depend of the MOD you are trying to install) :
1) The "COPY" action :
If in a MOD, you see something like that :
- Code: Select all
# #-----[ COPY ]------------------------------------------ # file.php -> phpBB/ file.tpl -> phpBB/templates/subSilver/
This just mean that you have to upload the file "file.php" into the phpBB root dir, and the file "file.tpl" into the template directory, directly without modify them.
2) The "OPEN" action ] # #-----[ OPEN ]------------------------------------------ # common.php[/code]
Not hard to do : open the specify file into a text editor (notepad, wordpad, editplus,......)
3) The "FIND" action :
After the "OPEN" action, it's the most used

) used with the "FIND" action. I mean : you have a code to search, then the code to used instead of the previous code.
But you have to be careful with this action if you have others MOD's installed on your forum.
Example :
- Code: Select all
# #-----[ FIND ]--------------------------------------------- # around line 225 <form> # #-----[ REPLACE WITH ]--------------------------------------- # <form>
In this example, i have to search for (This is in my original file) ] <form> [/code]
and to remplace by (This will be in my modded file) :
- Code: Select all
<form>
so, in my modded file, i will have ] <form> [/code]
7) The "IN-LINE FIND" action :
This is, with the "IN-LINE AFTER, ADD" and "IN-LINE BEFORE, ADD" actions (see the next actions), the best action to use by the MOD's authors (i think that but it's just my opinion

- Code: Select all
# #-----[ IN LINE FIND ]------------------------------------------ # t.topic_title,
Like it's a little hard to understand like this, i give you a example

11) The "SAVE/CLOSE ALL FILES" action :
This is the last action

But don't forget : before all, backup your files and your database.
I hope this tutorial will help you <img>
If you have any suggestions/request/problems with this tutorial, this topic is for you.
Bye.