[Imc-drupal-dev] Hidden comments and nodes

ekes ekes at aktivix.org
Sat Nov 25 17:28:51 PST 2006


* 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.indymedia.org/pipermail/imc-drupal-dev/attachments/20061126/aedc4e40/attachment.pgp 


More information about the Imc-drupal-dev mailing list