Räkna nya kommentarer för bevakade trådar
Jag försöker göra så att en ikon byts ut mot en annan när en ny kommentar har blivit postad i en tråd som man bevakar.
Så här går jag tillväga: Jag använder modulen "watcher" som gör så att användare kan "bevaka" tråden och bli meddelad via mail om nya kommentarer. Till detta använder jag sedan också CSSinjector som kan ändra CSS baserat på om en PHP-regel blir uppfylld.
Delete own reply if last in queue
Is it possible to allow deletion of a reply if and only if it is the last one in queue? This is a very common forum feature.
Example :
thread
reply #1 by user #1
reply #2 by user #2
reply #3 by user #1
reply #4 by user #1
I'd like user#1 to be able to delete reply #4, but not reply #3 (except once reply #4 is deleted, of course). Also, user#1 shall not be able to delete reply #1 and, of course, reply#2.
Does that make sense? Which modules are required and which settings are to be set?
Thanak you.
Read moreAction to set node commenting to read only
Hi,
I have been looking for an action to set a node's commenting status to read only (deny new comments). My rules trigger and condition - changes in a CCK field - works fine but I am struggling with the action part. The following "read/write" to "read only" toggle code example looks promising but I can't get it to work in my Drupal 6 environments. Could somebody help me with my poor PHP skills?
<?php
if(!module_exists("comment"))
return;
if($enabled)
$status = COMMENT_NODE_READ_WRITE;
else
$status = COMMENT_NODE_READ_ONLY;
$node->comment = $status;
Tagging comments?
Hello!
I'm curious - is there a good (and ideally easy) way to incorporate tagging of comments?
I'm thinking D6 here. Is node comment a good way to go? the only way to go?
Has anyone been down a similar road before? Any pitfalls?
Looking forward to any tips you might have!
Thanks!
Read moreComment revision and Comment system
Every once in a while, I am faced with the lack of flexibility of the comment system of drupal. Usually it is fine enough so we forget about little features, but this one is I think worth thinking about.
User case scenario :
- Someone post a new topic in a forum.
- Someone else comments on it, as well as 10 other peoples.
- one of the 'commenter' change his comment
Comment module: the display order settings removed
Today I read the changelog of Drupal 7 and it says:
"Removed display order settings for comment module. Comment display
order can now be customised using the Views module."
As the forum for core development questions is also removed, I post my concern here in this group.
I think the display order of comments is a basic feature of comments for that I don't want to install an excessive module like Views. Is there any reason to remove this small but basic feature in core?
Marenz
Read moreSlashcomments module
Hi, this is a module for implementing Slashdot-style comment display and moderation.
Feedback is welcome.
http://muhsim.googlepages.com/slashcomments.zip
Delf.
Read moreDatabase and user.module errors, please help!
Hi!
After reading much about this whole business of creating nodeprofiles and stuff, I´ve got what I wanted.
My BIG problem now is that the comments for annonymous users doesn´t appear, and annonymous users cannot post (they fill in the form, but it doesn´t publish).
I haven´t changed a thing, apart from installing nodeprofile, nodefamily and usernode.
Could that have caused the problem? I don´t think so, because I´ve deactivated them, and the problem persists.

