Jansson wrote:A mod installer would work for a couple of mods, but when the mods are starting to change each others lines there will be problem.
Well, the same excuse could have been said for Windows, after all, if an application overwrites a file or registry entry, or replaces a DLL with a newer version then there would be problems. But Windows has guidelines for creating programs, including using a separate folder for program files and naming conventions for software registry entries, plus improved DLL handling in Windows XP, so it gives freedom to use "installation" programs, instead of manual x-copy.
So we could create module guidelines that explain where and when to modify PunBB and include standardized conventions for naming and location. Then we can create installation PHP scripts for every modification and perhaps use another utility to automatically check for interoperatibility between modifications, with the modifications listed in another section.
Or we could go the Firefox/Mozilla route and support "Extensions" in PunBB, with an integrated method for installing PunBB extensions and more programmable access to PunBB, like being able to add your own code to various parts of PunBB without needed to edit the PunBB files themselves. Like calling the following to add a "Signatures" link to the admin page.
$PunBBex->AddToAdminMenu("Signatures","/extensions/signatures/signatures.php?section=admin");
Either way, it would be nice to extend PunBB with more support for Extensions. The difference between the two is that with the first, most of it is dependant on the mod's installation script and in the second, it's more dependant on the PunBB software. But the good parts with both is that suddenly, Firefox-like, PunBB can be fast and extensible for any user. Combined with a full CSS-based layout and I would say we've easily the best forum software out there, perfect for a version 2.0 ;)
Chacmool wrote:... Including files instead of changing alot of code.
Yes, that makes sense. In some ways what I mentioned about creating PunBB extension support would allow PunBB to include the modification's files, then let the modification change PunBB dynamically.
Please don't ignore the questions in my original post ... I am quite interested in how people create their modifications ? do they start from a newly extracted PunBB and open the files they need in Dreamweaver (or notepad, ultraedit)? Do they work on the HTML first, creating the look they want, then adding the functionality afterward? Do they write out the requirements, create planning documents? That's just part of the first question, please continue with the rest of the questions, if you feel like it.
Answering these questions may help us build the prefect PunBB modding solution that will benefit everyone, plus help encourage PHP newbies delve into the source code and perhaps make the entire mod creation process easier and faster for everyone.
For example the tool I mentioned in my first post. With these answers, I could try to design the tool's "workflows", the way I intend it to be used, with the way people actually create mods. There's no point in making something that people don't like using. Same with PunBB. Why standardize the readme.txt if people don't like using it? Or can we make it easier to produce them? In which case, how? This is a larger topic than you'd think at first glance ;)