Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I just used the export of the disqus module(last dev), all my comments were correctly exported to disqus website, but I don't see any on my website. I know that on my website all my comments were only in the french section, but when looking on the discus website, all comments are linking to english(default language) version of nodes.
I have no problem to post comments on any language page, so only the export script is buggy.
Comments
Comment #1
heyyo CreditAttribution: heyyo commentedAfter playing little bit more, the nid sended is correct, but the path isn't, the language is missing.
ex: http://mywebsite.com/node/32 instead of http://mywebsite.com/fr/node/32 (or http://fr.mywebsite.com/node/32 depends on the setting of i18n)
Comment #2
heyyo CreditAttribution: heyyo commentedthe language of the node must be sended in the function url()
$url = url("node/{$comment->nid}", array('absolute' => TRUE, 'alias' => TRUE));
Comment #3
heyyo CreditAttribution: heyyo commentedI have replace this code
by
And my export worked correctly.