I call this part 1 because I have SOOO much more planned and even a ton of optimization but it will take a while to convert all of the print statements

this is a db abstraction layer
<mod info>
This mod creates a function in subs with and sends all queries to it. This allows for control and logging of queries. It also frees memory when it is done with the result. There are a lot of modded features because more is coming as this is only part of the mod.
If you want to display this, place <yabb boardinfo> in your template. You will want to place it near the end as this will make your page extremely wide. This is only enabled for admins because of this.
Some additional features:
If you have any mods, just change any "mysql_query" to "query"
It shows the time it took for a directive to load.
It counts the number of queries that the page has taken (yabb has an extremely high amount in it's current state)
OH.. MORE TO COME!
PS: this will not work if you have any additional amount of queries.I have not tested the mod but I have used the script and it works perfectly. If an error comes up that says the amount of spaces is wrong or something like that, just ignore it.
</mod info>
So.. should I add anything to it? Anything you as the admin would like to know about your board?
Ready to see it?

[edit]taken down because I can make it better and shouldn't have released a mod that isn't complete[/edit]