Option to remove "reply" links from comments
aharown07 - April 3, 2009 - 03:18
| Project: | Flatcomments |
| Version: | 6.x-2.0 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
With flatcomments working and the reply form always displayed, I don't really have any use for the "reply" link. Have looked at various threads on the topic of how to remove it, but the only thing I've been able to get to work is commenting out the appropriate lines in the core comment.module.
Would really rather not do that, so I'm working on a little module to do it.
Meanwhile, would you consider adding a "reply link disable" option to flatcomments in the future?

#1
#2
That option is in my future vision.
#3
Good to know!
#4
A workaround:
Add:
.comment_reply img{
display: none;
}
to your style.css or advanced_forum.css
#5
Great idea, but I'm not using the images... just the text link. But maybe the same method can work w/o the img selector. Will give it a try.
#6
Well, in my theme this works remove the reply text....
li.comment_reply a {display: none;
}
the problem is that, since I'm based on zen classic, there are dividers between the comment links, so have to figure out how to get just one of those out as well. The dividers are a border-left style (ul.links li) so I'd have to disable the border but only for the link immediately to the right of the reply link... which happens to be a link some people see and others don't so... I don't think I can do it via CSS, though I'm sure in lots of other themes, that would work fine.
#7
Option to remove the reply link has been committed. Will be in the upcoming 2.0 release.
#8
so, for the new "remove reply" option, does it remove the link completely, or just brings you to the bottom of the page?
#9
It "removes" the reply link from comments. The "add comment" link is still shown on the node. Also below the comment thread if your form is on a separate page.
#10
Thanks, sounds good.
#11
Changing this from "fixed" to "active" instead of creating a new issue.
I just installed the 6.x-2.0 version on my test site, and after checking the box to remove the reply button for each content type, I still have the reply button on my comments. I even created a new blog and made comments. The Reply button is still there.
I am running Advanced Forum and my links are buttons. When I disable Advanced Forum, the links go back to text links, and the Reply link is gone.
#12
@Tally:
That is because the only way we have to remove the link at this time is through the theme layer with a regex. So we remove the link. For the majority of users this is a work around until D7 or beyond when this is fixed.
A new issue would be more appropriate to file this under but I can save you some time and tell you now that issue would be marked "by design" or "won't fix" until the core patch lands.
See this issue for more detail: #374463: Alter comment links..
#13
I'm not seeing the option... maybe you could highlight some instructions to get this working?
#14
README.txt has the documentation. Go to content->content-type-> YOUR CONTENT TYPE -> Comment Settings -> Remove links checkbox
#15
FYI, not working even after enabling and flushing cache. Will start a new issue per dragonwize.
#16
I've made a note on the project page to hopefully clear up this issue for the time being.
#17
Automatically closed -- issue fixed for 2 weeks with no activity.