[Imc-drupal-dev] Hidden comments and nodes
Richard Hood
rick at flowmediadesign.com
Sat Nov 25 20:01:07 PST 2006
Voting Actions looks like it might be good to use:
http://drupal.org/project/voting_actions
Actions possible include:
* Promote to Front page.
* Publish
* Unpublish
-----Original Message-----
From: Richard Hood [mailto:rick at flowmediadesign.com]
Sent: Saturday, November 25, 2006 10:47 PM
To: 'imc-drupal-dev'
Subject: RE: [Imc-drupal-dev] Hidden comments and nodes
I just played around with unpublishing comments:
The structure was this:
Node (article, news, image, whatever)
--- Comment #2
------ Reply to #2
--------- Reply to reply #2
--- Comment #1
------ Reply to #1
--------- Reply to reply #1
I unpublished 'Comment #2' and 'Reply to #1' and it just leaves the others
in place. That will cause the thread to not make sense if you remove a part
of it, bit what else can you do?
Node (article, news, image, whatever)
------ Reply to #2
--------- Reply to reply #2
--- Comment #1
--------- Reply to reply #1
---
In a previous post there was discussion about moderation queue. Isn't the
deal that any registered user (not anonymous) can post something, and that
the moderation has only to do with whether the item makes it to the front
page or not?
That's the way it works on our site: wmass.indymedia.org. Something makes it
to the front page if two (or more) editors vote for it.
If that is the way it should work, then it's just a matter of checking the
"Promoted to front page" checkbox on "Publishing options" for the node to
make hit the front page (a "feature").
Also, I think one or more of the voting modules can be set up to cause that
to happen upon X number of votes.
---
"I take it most people are doing the same as me and setting up a category
for the type of article, including 'newswire' 'feature' 'hidden'. This
then requires hacking the theme to make pages with hidden content be
themed correctly and have a robots no-follow meta tag. It works but it
is less than ideal."
I am not sure why you would have a category for "feature" and "hidden".
"Feature" is really "Promoted to front page" and "hidden" is really
"Unpublished" (unchecking the Published checkbox).
Does that make sense?
Rick
-----Original Message-----
From: imc-drupal-dev-bounces at lists.indymedia.org
[mailto:imc-drupal-dev-bounces at lists.indymedia.org] On Behalf Of ekes
Sent: Saturday, November 25, 2006 8:29 PM
To: imc-drupal-dev
Subject: [Imc-drupal-dev] Hidden comments and nodes
* Comments first *
OK I've actually looked at the hidden comments thing myself now, and it
looks a real pain so far.
I'll do a bit more research before hacking the comment.module but at the
moment it looks like this may be needed. The hook_comment although it
has a op view doesn't seem to be a great deal of use. There is no
integrated hook_access like for nodes. The options seem to be adding in
some more integrated access hook, or view hook... or just making a dirty
hack straight into the module (obviously not favoured).
How are people who are hiding comments by unpublishing finding it works
with comment threads?
How are other people dealing with hidden comments?
What do you do with comment threads when something gets hidden anyway?
*Nodes*
I take it most people are doing the same as me and setting up a category
for the type of article, including 'newswire' 'feature' 'hidden'. This
then requires hacking the theme to make pages with hidden content be
themed correctly and have a robots no-follow meta tag. It works but it
is less than ideal.
The node access hook is well advanced. Would the advantages:
* Easier re-theming
* Automatic robots no-follow meta tag
* Ability to add reason for hiding to links
* Access view respected by other modules (eg event - that I had to
hack for hidden items in it's lists and calender)
...make it worth creating a simple hidden nodes module, rather than
using the taxonomy system for it?
ekes
More information about the Imc-drupal-dev
mailing list