Use the node alias for the Disqus displayed URL

timmillwood - December 5, 2008 - 20:54
Project:Disqus
Version:6.x-1.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:yha
Status:needs review
Description

I have found that different comments are displayed on a node depending on the URL.

http://millwoodonline.co.uk/perfect-drupal-development-environment and http://millwoodonline.co.uk/node/106 are the same node, but the comments are different.

#1

Rob Loach - December 5, 2008 - 23:19
Priority:normal» critical

Definitely is a problem. I'll have a hack at it this weekend.

#2

Rob Loach - July 9, 2009 - 20:58
Version:6.x-1.4» 6.x-1.x-dev
Status:active» needs review

I just made a huge commit with an upgrade path to change the URLs on Disqus from /path/alias to /node/%nid . Since you're the only one I know of using Disqus with the path aliases, mind testing this? On my local box it worked, but I'd love more tests! :-)

Pretty much just overwrite all the files and run update.php ;-) . It'll go through all your nodes and update the path to use node/%.

#3

timmillwood - July 9, 2009 - 21:54
Assigned to:Anonymous» timmillwood

Sure, I am in the process of moving server and tidying / updating all the modules. Will try to feedback ASAP.

#4

radj - October 24, 2009 - 12:19

subscribe.

#5

yha - November 2, 2009 - 01:09
Title:Different comments on node/xxx and path/alias» use the node's alias
Version:6.x-1.x-dev» 6.x-1.5-rc1
Assigned to:timmillwood» yha

#343363: Use the direct node path rather then the node's alias.
it makes duplicate entry at my sites.
how do I use the node's alias than the direct node path to every comments link/disqus comments?

#6

Rob Loach - November 2, 2009 - 04:19

The problem with using the path alias is that if the path alias changes, then you'll loose the discussion thread. Using the node path (node/#) ensures that the discussion thread stays the same even if the path changes.

#7

el7cosmos - November 4, 2009 - 14:35

i think link to disqus thread on node links should be using the node alias.

node/[nid]#disqus_thread » [node_alias]#disqus_thread

#8

Rob Loach - November 10, 2009 - 22:07
Title:use the node's alias» Use the node alias for the Disqus displayed URL
Version:6.x-1.5-rc1» 6.x-1.x-dev
Category:bug report» feature request
Priority:critical» normal

One important thing to note is that we have to keep the Disqus Identifier the same. Not sure if this will work, but it's worth a try.

AttachmentSize
343363.patch 817 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.