The attached patch cleans up the module and updates it to work with current HEAD (Drupal 5).
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | cm_1.patch | 19.61 KB | kbahey |
| #7 | cm_0.patch | 19.52 KB | kbahey |
| #3 | cm.patch | 19.83 KB | kbahey |
| drupal-5_0.patch | 19.76 KB | kkaefer |
The attached patch cleans up the module and updates it to work with current HEAD (Drupal 5).
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | cm_1.patch | 19.61 KB | kbahey |
| #7 | cm_0.patch | 19.52 KB | kbahey |
| #3 | cm.patch | 19.83 KB | kbahey |
| drupal-5_0.patch | 19.76 KB | kkaefer |
Comments
Comment #1
kbahey commentedPatch needs to change date_update_1() to commentmail_update_1().
Otherwise, look good.
Comment #2
quicksketchdprint_r($comment_obj); also needs to be removed.
Comment #3
kbahey commentedHere is a patch that removes the above two comments.
Comment #4
kvarnelis@drupal.org commenteddidn't work.
upon visiting the settings page, i got ..
and
in trying to post i got
Comment #5
kvarnelis@drupal.org commentedactually it may be that the second patch is malformed... trying to decode it by hand...
Comment #6
kvarnelis@drupal.org commentedi wish i could edit the previous posts, but since i can't...
i have commentmail working, but don't use the second patch. it does not contain the patch for the .install file, which is what gave me the errors.
it also doesn't touch the dprint () which leads to a quick death.
manually changing the two comments did work.
Comment #7
kbahey commentedHere is another patch. It removes the dprint, corrects the name of the function in the .install file, has a .info file, and should work well.
Comment #8
kbahey commentedHere is a better patch:
- Version number added to the .info file.
- Description added to the settings.
Marking as RTBC.
Comment #9
kbahey commentedI can confirm that the latest patch in #8 works well on a live site.
Comment #10
kkaefer commentedCommitted to HEAD.
Comment #11
kbahey commentedThanks Konstantin.
Do you plan to branch it and release it for 5.x soon?
Comment #12
kkaefer commentedI decided that as long as this module is adapted to a post-5 version, I keep developing it in HEAD. Once it's ported to 6.x(-dev), I'll branch it. Please test the HEAD version. If no errors occur, I'll release a 5.x-1.0 in the next couple of days.
Comment #13
kbahey commentedOK, I switched the 3 sites to the official HEAD from the repository.
One more thing: add this line in the .info file:
version = "$Name: $"
Comment #14
kkaefer commentedAFAIK, the release system automatically adds this line when a user downloads a tarball from the website. Power users using CVS checkouts can figure out the version from the Id string.
Comment #15
kbahey commentedIt says here: http://drupal.org/node/101009
So it is better to include it.
Comment #16
(not verified) commented