Hmm... well, since this will only be used for Admins, I think I can trim out quite a bit more in order to keep things efficient.
For example, I think I can remove the entire Permission Checking routines (in addition to the Database Modification), by simply enclosing the Template additions like so:
Code:
<if condition="is_member_of($bbuserinfo,6)">
<!-- code goes here -->
</if>
Yes?
If so, than I should be able to remove a good section of this hack.
I have made an absolutely amateurish attempt at doing so. If you happen to have the time, and are in the mood to do so - I would be grateful if you could look over my revised version, and tell me just how badly I screwed up. <grin>