Disable disqus on nodes that has (core) comments
kulfi - September 23, 2008 - 11:15
| Project: | Disqus |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Description
How does this module handle existing comments? If nodes already have comments, can they still be displayed, but disabled for all new nodes?

#1
At the moment it doesn't handle existing comments. There are plans, however, to make an import/export feature to interact with the comment module.
#2
an import module would be great!
subscribing
#3
Slightly hijacking this thread,
Here's a simple patch that simply disable disqus if core comments are enabled for the node. This works grean on a site where old nodes exists that already have comments on them. New nodes have core comments disabled by default (since disqus is used) and on them disqus commenting will be enabled.
#4
Would you mind if we stuck this into a setting that's available when the comments module is enabled?
#5
No I wouldn't. On the other hand I'm of the opinion that settings should be kept to a minimum. Are there a usercase for comments and Disqus on the same node?
Attaching a patch that also hides the link.
#6
You can actually do this with the Disqus 3 redesign. Visit http://disqus.com/comments/moderate-threads/ .
#7
Nevermind.... It would be nice if this were a setting somewhere, or the migration tool worked from Drupal comments to Disqus.