Topic: For 1.3 extetions
I suggest expanding the db abstraction layer. Many mods, atm, only support a few of the database types that punbb does support. With extra php and/or less sql, Any mod could support any database type that punbb support, without modification to the mod
ie: mod wants to create a table, so do something like this:
$db->create_table(
array(
array('id', 'DBLayer::INT', array('DBLayer::PRIMARY', 'DBLayer::UNIQUE', 'DBLayer::SIZE', '10')),
array('username', 'DBLayer::VCHAR', array('DBLayer::SIZE', '255')),
array('pid', 'DBLayer::INT')
)
);
Much more compatible, eh? EH? EH?
In the meentime you could make up some "general rules" like for one ALL them dam mods should update thier headers
// ... snip
## Works on PunBB: 1.2.x
## Works with: mysql, mysqli, pgsql
// .. snip
Seriously! I meen walk through 200 lines of changes just to find out that the dam mod doesn't support sqlite ~.~