Great idea
For this:
t_backoff wrote:Support for BBCode and smilies
do you use the existing routines of phpBB3?
If yes, why not use the builtin attachments functions for
t_backoff wrote:SIDE NOTE: I'd love to add attachments to this MOD, but that's above my head.
Just use the existing attachments table, add an extra column (kb_article_id or similar) and use it instead of post_msg_id / topic_id to bind the attachments to your article. Maybe you can also use the existing columns post_msg_id (for your article number) and in_message (use a new value, 0 means "attached to topic/post", 1 means "attached to privat message"), but this can have impact on other phpBB-routines.
Description of the table:
https://wiki.phpbb.com/Table.phpbb_attachments
Search Code for ATTACHMENTS_TABLE, its only a few times used