Topic: An idea for a news plugin
As you all know, the less crap I can include in the default install of PunBB, the happier I am. Some of you may also know that we've had requests for adding some sort of news support to PunBB. People want to be able to use a forum in PunBB to post news bits that they can show on the front page of their site. Visitors can then post comments on these news bits directly in the forums. There are a couple of ways to solve this, but most of them involve adding stuff to PunBB in the form of new database fields and PHP scripts. As I was thinking about this, I had an idea.
How about a news admin plugin? You would start by adding a new forum to your boards dedicated to news with the appropriate permissions (no one can post topics, only replies). You would then setup the admin plugin by selecting which forum is the news forum so it knows where to look. The admin would then post/edit/delete topics via this admin plugin and the plugin would generate static markup that could be included on the front page.
There are two problems with this approach:
1. The topics in the news forum would have to be added/edited and deleted via the plugin, not directly in the forum itself.
2. It wouldn't be possible to show whether a news bit has comments or not (or how many). A "Comment" link wouldn't be a problem though.
What do you think?