I have written a new module called npuser for drupal 6.0 and wanted to add a block.
As a first step I copied the block example from the documentation into my code. I only changed the name of the module (to npuser), see below. The module is activated and works but the block does not appear under admin/build/block!
<?php
function npuser_block($op = 'list', $delta = 0, $edit = array()) {
// The $op parameter determines what piece of information is being requested.
switch ($op) {
case 'list':
// If $op is "list", we just need to return a list of block descriptions.
// This is used to provide a list of possible blocks to the administrator,
// end users will not see these descriptions.
$blocks[0] = array(
'info' => t('Example: configurable text string'),
);
// A block can provide default settings. In this case we'll enable the
// block and make it visible only on the 'node/*' pages.
$blocks[1] = array(
'info' => t('Example: empty block'),
'status' => TRUE,
'weight' => 0,
'visibility' => 1,
'pages' => 'node/*',
);
return $blocks;
case 'configure':
// If $op is "configure", we need to provide the administrator with a