I'm trying to figure out how on d.o we have the comment form for issues on the same page as the node but for other node types this isn't the case. I know this is a feature in D6 core but not in D5. I found the issue where this got into D6 (#180432: make comment settings per node type) but it's hard to believe we're running that entire patch on d.o. I looked in the drupalorg module and don't see anything there that would be doing this. I'm finally upgrading my site running project_issue 1.3 to 2.3 and would like to have the comment form on the issue page but for issue nodes only.

Thanks

CommentFileSizeAuthor
#1 367532-core-comment.patch6.57 KBdww

Comments

dww’s picture

Assigned: Unassigned » dww
Status: Active » Fixed
StatusFileSize
new6.57 KB

Attached is the patch to comment.module that runs on D5 d.o. (Thou shalt not hack core... unless you have to). ;)

There's also the following line in the $conf array in settings.php:

  'project_issue_comment_form_location' => '1',

That should be it. Reopen if you need anything else.

Cheers,
-Derek

aclight’s picture

In case anyone else needs to use this patch, keep in mind that the patch adds a call to ip_address(), which is a function that doesn't exist in Drupal 5. I believe d.o has been patched to add that function for use with the proxy server.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.