I'd fixed this in the 4.7 branch, but it appears the fix has been reverted in the 5.x branch.

Replacing phpbb_block() (line 226) with this function clears up the problem, and allows the default drupal configuration options to appear when you click the "configure" button next to "Recent Forum Topics" on the configure blocks screen. I rewrote the function to make it clearer.

function phpbb_block($op = 'list', $delta = 0, $edit = array() ) {
  switch ($op) {
    case 'list':
      $blocks[0]['info'] = t(variable_get('phpbb_block0_title', 'phpBB Topics'));
      return $blocks;
    case 'configure':
      $form = array();
      return $form;
    case 'save':
      // stub, no special data to save
      return;
    case 'view':  // fall through
    default:
      $block['subject'] = t(variable_get('phpbb_block0_title', 'phpBB Topics'));
      $block['content'] = _phpbb_display_block_0();
      return $block;
  }
}

Thanks for the converting the module to 5.1!

Comments

arkepp’s picture

Thank you, maartenvg probably branched before I comitted it and I didnt catch it .

I will get it back into Subversion as soon as my semester ends.

arkepp’s picture

Assigned: Unassigned » arkepp
Status: Active » Closed (fixed)

Fixed in CVS and files ages ago, forgot to close. Thanks again.