PunBB and Managing Hacks

PunBB rolled out an update awhile back and so if you did any of my hacks you might have updated the files then re-added the hacks. However, the easiest way to deal with hacks and mods or any other code changes you do for PunBB is to look at the hdiff file (here is an example of a recent hdiff 1.2.15 to 1.2.16. This tells you all the changes made and to what files, so you can make the adjustments. If there are not too many its easier to just to copy the code changes and paste them into the files and then run the update file that comes with the Changed files only download option.

Another thing I usually like to do is put in my comments near my hacks something like this:

/*modification - mod_or_hack_name */

Then I can search for a specific hack I made or all modifications.

phpBB recently released 3.0, so you might be wondering about PunBB 1.3. It’s been in development for a long time, but from what I can tell it still won’t support polls, private messaging or subforums. I can understand them not adding private messaging, but subforums and polls would be nice in the core. But if you are feeling a little envious of phpBB 3.0 you might look at some screenshots of PunBB 1.3 that were posted about a year ago. The nice thing about not having many updates, is that you don’t have to reapply your hacks too often.

PunBB’s dev site shows the planned features for 1.3

  • New markup and CSS.
  • Unicode (UTF-8) support.
  • Improved accessibility for both Public and Administration pages.
  • Administration interface gets language file support.
  • Search engine optimized “Fancy URLs” via mod rewrite.
  • Proper extension support – Extend the functionality without touching a line of PunBB’s PHP code.
  • New topic read marking system.
  • Improved syndication – Feeds extended to include individual topics. Also feeds in the form of Atom and XML format.
  • Support for Microformats – hCard and MicroID.
  • Post moderation queue.
  • Multiple moderator groups.
  • Board search improved with MySQL Full-Text Search.
  • Per-style templates – It will be possible to have one set of templates per style.


Comments are closed.