Even though there are some issues with the Package Manager (PacMan) that need a serious rework of the system, there are a few minor issues that can be dealt with now. This mod makes a few changes to the Packages.php file to fix two of them.
1) There is a bug that sent PacMan into an endless loop if you tried to use some of the Mod Info Tags. With this mod you will now be able to use the <id|version|author|email|homepage|info|approved> tags in your YabbPak Mod files.
2) There is a bug in the Mod Parser that when your mod file has more than one [block] that is exactly the same, they would all get removed when it reached the first one. Example: your mod file has a search block for "Some random text" but you need to search in two different .php files. After the parser takes care of the first one, it removes that block from its memory, but it removes all of them. So when you hit the next .php file, that search block is not there. With this mod you will be able to do that.
Updates:
10/24/02 - It also makes it possible to use a BoardMod.mod file in a YaBBpak. Rather than you needing to convert the BoardMod tags to PacMan tags, PacMan will understand them as if they were native PacMan tags. Just rename the "BoardMod.mod" file to "modification.mod" and use it as a PacMan mod file. If a BoardMod package uses a .php file to make database changes, it may still need to be translated.
pacmanfix.mod.yp - updated 10/24/02
pacmanfix.zip - updated 10/24/02
Hopefully this works for everybody, as I would like to start putting this extended info into my YabbPaks. Here is a test mod to test the PacManFix mod.
testmod.mod.yp. This mod will fail before you apply the PacManFix mod but should work just fine after. But it does not do anything.
Enjoy!
I should mention that be sure to back up your data before applying this, or any, mod. As it is still in beta, I can offer no guarantee. Everything I post works fine in my YaBB installation but your milage may vary.-Jack