After looking at all the different possibilities for integrating phpbb with drupal, I gave up because none of them were as tight as I wanted (for good reason -- phpbb assumes a lot about its users table -- it would take a lot of hacking to get it to accept drupal's users table as a substitute). So I just switched to using drupal's forums. One of the things that I sorely missed was being able to assign moderators to the forums.
Here's a patch that creates another node.module role "toggle nodes sticky". Users with that role can toggle the "sticky at top of lists" flag on nodes, which in forums, makes items show up at the top of forum topic listings, similar to the "announcement" or "sticky" functionality in common BB software.
Index: modules/node.module
===================================================================
--- modules/node.module (revision 5662)
+++ modules/node.module (working copy)
@@ -580,7 +584,7 @@
* Implementation of hook_perm().
*/
function node_perm() {
- return array('administer nodes', 'access content');
+ return array('administer nodes', 'access content', 'toggle nodes sticky');
}
/**
@@ -1614,6 +1618,7 @@
* Node author information
*/
+ $sticky_form_element = array('#type' => 'checkbox', '#title' =>t('Sticky at top of lists'), '#default_value' => in_array('sticky', $node_options));
if (user_access('administer nodes')) {