I've re-implemented this whole project as a command line tool written in python, so you can run it on your local machine, your webserver, or anywhere with a python installation and a copy of diff. You can get it here:
python 2.4 or greater -> http://www.python.org/
numpy module for python -> http://www.scipy.org/Download
a UNIX diff utility or a windows port of one -> http://www.mingw.org/download.shtml#hdr6 or http://unxutils.sourceforge.net/
a UNIX diff utility or a windows port of one.
(download links as above)
Here is the old post I made about the original PHP version of this tool:
I wrote: I have written DiffBB - a script that uses UNIX diff to examine two phpBB boards, one of which must be a fresh install, and the other of which is a copy you have modified, and will output a working MOD file that will MOD a fresh board into the state of the modified board.
It is still highly experimental although I have plenty of ideas for improvements. It doesn't generate the best MOD files ever but it should manage to create MOD files that can be understood by easymod. In future versions I plan to take steps to generate MOD files that will be as compatible as possible with other MODS. See this thread for more:
You can download the script here:
To run it you will require access to the UNIX diff utility, or a windows port. I have only tested this with one version of diff, so if there are quirks to any other versions that people would like to use then let me know and I'll see if it is possible to adapt.
Instructions for use
1. Install phpBB
2. Install a second copy of phpBB, or just copy all the files to another directory (the database does not need to be copied)
3. Modify one copy of phpBB to behave in the way you want your MOD to behave.
4. Put the three files in the zip into a directory above BOTH the boards.
5. Run the script by pointing a browser at diffbb.php
6. Fill in the form, hit 'Generate'
7. The script will either show a progress report and eventually show 'done', or it will display an error message about your diff utility if it is not available.
8. Open the MOD file, and add in any SQL actions manually.
9. package up the MOD file with any included files and you're done.
Hopefully this will reduce the effort of maintaining not only the code for the forum MOD but also a valid MOD file.
It is still in experimental stages and has the odd trouble with particular types of edit, especially where whitespace gets changed, or many edits appear close to each other. These only occur in a small number of cases. I have encountered some myself in testing and am working on fixing them. Let me know of any other problems (there are bound to be some) and I'll look into it.
You use this tool at your own peril! I would not recommend using it on a live board, or using MODS generated by it for a live board yet. I will not accept any responsibility for boards that you damage as a result of using this tool.
Links updated 14th Aug 2006