Needs review
Project:
Disqus
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2010 at 20:15 UTC
Updated:
16 Dec 2010 at 21:30 UTC
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 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 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 commentedI have replace this code
by
And my export worked correctly.