For those who have the time to study this code - both of you - check this out.
I wanted to use the nodereview module but I needed to make a few extensions and alterations to the functionality.
Without changing a line of code in the nodereview.module, I can get it to:
1) use the node->body to store info (in this case a description of the reviewer). I used the content types admin function to change the description of the body field, but I think i could have done it in hook_node_info
2) stop nodereview from allowing an admin to enable reviews of reviews (illogical and might loop?), and stop reviews of the new node type I introduced: axis
3) use a new data type of axis in an external table instead of defining them for each node type, so replace the selection list created by nodereview with a new one taken dfropm the external table
There is more code inthe nodereview2h module than just hook_form_alter, but you can see from this function just how much I have been able to override in nodereview! Stunning. Drupal Rocks!
function nodereview2h_form_alter($form_id, &$form) {
if ($form_id == 'nodereview_node_form') {
$node_info = node_get_types('type', 'nodereview');
$form['body'] = array(
'#type' => 'textarea',
'#title' => t($node_info->body_label),
'#default_value' => $form['#node']->body,
'#required' => TRUE,