Closed (fixed)
Project:
Whisper
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2008 at 20:55 UTC
Updated:
7 Jun 2013 at 05:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
atuyo60 commentedHi, sorry for the late reply, I didn't know the project issues weren't in my tracking page. I have attached the file here.
It should work fine as I am using it on my production site. Rename your original comments.module just in case and upload the updated comments.module. This updated file will work even without the whisper module activated as I have added the module exists check.
An additional column will be added to your comments table but it will be removed when the module is uninstalled.
As for the other files just activate as usual. But just a note that the seal occurs for all node which uses the comments module including the comments in the core forum module. Maybe some other permissions could be added in future to allow the option for certain pages only.
Let me know if it is giving any problems, thanks!
Comment #2
robcrutchfield commentedHi. When I put whisper_comment from this page into my modules directory, the modules that depend on the Comment module (Forum and Tracker) report that Comment is missing (although it isn't), and disable themselves. (When I remove whisper_comment, they're happy again.) Comments are NOT disabled -- they still work -- but the ones marked "Sealed" are NOT hidden from other users.
If I use the Whisper module from http://drupal.org/project/whisper , the only result I get is that the "Sealed" checkbox appears; comments are still not hidden from other users.
I'm using Drupal 5.5, and I'm pretty new to this, so I may be missing something obvious.
Thanks for any help.
Comment #3
atuyo60 commentedHi, did u replace the original comment.module file in your modules directory to the modified version then remove the comment.module from the downloaded folder and upload that folder to your sites/all/modules directory?
As for the module that is available for download on the original page, did u mean existing comments were not sealed or are comments added after the module was installed also not sealed?
Comment #4
zeezhao commentedThanks for this. I tried this out and it works after manually altering comments table though. Please is there any new work on this?
e.g can subject now been sealed?
Comment #5
atuyo60 commentedI did not implement a configuration option but if you would like to seal the subject, it should be easily done through a small edit in the file. I am currently working on drupal 6 so future developments would probably be only for a drupal 6 version.
The option to seal the subject just requires adding one line to the whisper_display.inc.php file, anonymous users have both subject and comment sealed so follow that part of the code by adding this:
$comment->subject = t('Sealed');Comment #6
zeezhao commentedThanks for your reply. I had already done something similar after looking at the code. It meets my current needs...
It would be nice to get your changes in comment.module into the main drupal code, so that it does not get overwritten during upgrades.
Please let me know what new features are planned in drupal 6.
Comment #7
atuyo60 commentedI have just completed the module for Drupal 6, it includes a configuration page as you suggested and no hacks whatsoever are needed although it still alters all comment forms for the seal checkbox regardless of page or node types (this seems to be a core limitation, as is with the indexing of comments).
I have already committed the dev release to the project page...
Comment #8
atuyo60 commented