Closed (duplicate)
Project:
Disqus
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2008 at 17:21 UTC
Updated:
19 Jun 2014 at 16:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
robloachThe module should be called disqus_migrate.module (or something), which should allow two things:
Comment #2
krishaamer commentedSubscribing. If someone could do this it would tilt the scales in against anything else out there.
Comment #3
CSCharabaruk commentedAlso subscribing.
Comment #4
shadyman@erroraccessdenied.com commentedDefinitely a great idea. Subscribing.
Comment #5
njehlen commentedsubscribing
Comment #6
robloachI just committed the ability to import comments from Disqus to Drupal:
http://drupal.org/cvs?commit=155647
Comment #7
JeremyL commentedAny plans or ETA on when the Export from Drupal to Disqus could be implemented?
Comment #8
jordanmagnuson commentedI'm also wondering about exporting comments from drupal into disqus... ETA?? Seems like a key feature for anyone with an already-developed website.
Thanks for any answers. This looks like a great module, if I could just import my existing comments.
Comment #9
Chad_Dupuis commented+1 for the export - subscribing
Comment #10
pointsi commentedWaiting on the ability to export comments from Drupal into Disqus as well...
Comment #11
calshei1 commentedMe too. Would love to be able to import old Drupal comments into the Disqus system.
Comment #12
theruslansubscribing
Comment #13
robloachMore meaningful title.
Comment #14
superflyman commentedI concur, would very much like to be able to import old comments. Unless implementing on a brand new site, quite a bit of dialogue can be lost. Basically, that was just a long way of saying 'subscribing'...
Comment #15
robloachBeginnings.
Comment #16
mikehostetler commentedSubscribing
Comment #17
bobooon commentedAttached is a *working* export patch. It adds the ability to export Drupal comments to any of your Disqus forums (including or excluding unapproved Drupal comments). It stores the export results in a table {disqus_migrate_export} to prevent duplicate comments from being exported; it also allows the API to fail but pick back up where it last was in the export.
Apply the patch inside the migrate_disqus folder. There is also a pre-patched version of the migrate module attached. Enjoy!
NOTE: I would randomly get unmarked API errors during certain test runs (only occurred on 1 or 2 tests), however this appears just to be an API problem because the export picks back up the next run. No threads or comments were missed when these errors occurred (tested on a site with about 40 threads and 200 comments). For sites with large amount of comments PHP will *probably* time out before it gets done, for now you can simply reload the page after the time out and click export again to pick up at the last comment. Eventually it would be nice to have a more graceful batch style export to avoid PHP time outs all together (maybe it's not a big deal though since it's a one-time operation usually).
P.S: To the module maintainer, ImageX Media would love to be credited for this work on the project page. Our company page is http://drupal.org/profile/companies/ImageX%20Media (http://imagexmedia.com). Thanks!!
Comment #18
fiLi commentedsubscribing
Comment #19
Canine Coaches commentedsubscribing
Comment #20
robloachWhy isn't this working with the Batch API?
Comment #21
CinemaSaville commentedI'm getting this error when I try to export comments-
user warning: Table 'database.disqus_migrate_export' doesn't exist query: SELECT c.*, u.mail as user_mail, n.title as node_title FROM comments c INNER JOIN users u ON u.uid = c.uid INNER JOIN node n ON n.nid = c.nid LEFT JOIN disqus_migrate_export d ON d.cid = c.cid AND d.fid = 320046 WHERE d.did IS NULL AND c.status IN (0) ORDER BY c.timestamp ASC in /home/public_html/sites/all/modules/disqus/disqus_migrate.admin.inc on line 138.
Comment #22
robloachYou'll probalby have to reinstall the Disqus Migrate module after applying the patch.
Comment #23
robloachI'm committing this one... http://drupal.org/cvs?commit=348370
We can worry about Batch API later on if anyone wants to help out with that.
Comment #25
richard.c.allen2386 commentedI recently installed the disqus module and applied the patch from post #17 located here http://drupal.org/node/269010#comment-2756308 after having uninstalled and re-installing the module. After clicking on the export tab all I receive is a blank page. Has anyone run in to this issue? What can I do to trouble shoot this?
Comment #26
petermallett commentedNow that this issue is re-opened, I'll mention this here too. We tried the same thing with similar results, and I'd already been trying to create a comment export module on my own, so I finished that up. Maybe give it a shot? So far it's working for all our tests.
http://drupal.org/node/777842#comment-2977012
Comment #27
robloachLEt's move people over to #777842: Uncaught DisqusException on export instead.