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

Rob Loach - September 23, 2008 - 13:25
Status:active» duplicate

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

hannesh - November 14, 2008 - 18:38

an import module would be great!
subscribing

#3

fajerstarter - January 28, 2009 - 12:57
Title:How does it work with existing comments?» Disable disqus on nodes that has (core) comments
Version:5.x-1.3» 5.x-1.x-dev
Category:support request» feature request
Status:duplicate» active

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.

AttachmentSize
disqus_core_comments.patch 705 bytes

#4

Rob Loach - January 28, 2009 - 18:28

Would you mind if we stuck this into a setting that's available when the comments module is enabled?

#5

fajerstarter - January 29, 2009 - 06:46

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.

AttachmentSize
disqus_core_comments.patch 1.12 KB

#6

Rob Loach - August 28, 2009 - 03:49
Status:active» fixed

You can actually do this with the Disqus 3 redesign. Visit http://disqus.com/comments/moderate-threads/ .

#7

Rob Loach - August 28, 2009 - 04:01
Version:5.x-1.x-dev» 6.x-1.x-dev
Status:fixed» needs work

Nevermind.... It would be nice if this were a setting somewhere, or the migration tool worked from Drupal comments to Disqus.

 
 

Drupal is a registered trademark of Dries Buytaert.