Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble verifying Disqus #12

Closed
cfl0ws opened this issue Jan 31, 2014 · 3 comments
Closed

Trouble verifying Disqus #12

cfl0ws opened this issue Jan 31, 2014 · 3 comments

Comments

@cfl0ws
Copy link

cfl0ws commented Jan 31, 2014

I tried to add Disqus comments to posts today, following these instructions -

http://blog.christophvoigt.com/enable-comments-on-ghost-with-disqus/

When I went to add my Disqus "universal code" to the post.hbs file, I saw that the code was already in the post.hbs file. I compared the "universal code" provided by Disqus to the code in the post.hbs file and it looked like all I had to do was change the disqus_shortname variable, which I did.

Here's what it looks like -

image

I uploaded a new .zip file theme to my blog that includes the updated post.hbs file. However, Disqus is unable to verify the install and the comments aren't showing as a result.

Any help on what's wrong here would be appreciated, thanks!

@cfl0ws
Copy link
Author

cfl0ws commented Jan 31, 2014

I was able to get Disqus working on posts by completely replacing the Disqus section of the default post.hbs file with the universal code generated by Disqus. While the Disqus verification process still returns the message "It doesn't appear that Disqus has been properly installed. Need some help?" it actually works. I verified this by posting a test comment, which appeared in my Disqus dashboard.

@sethlilly
Copy link
Owner

Addressing in #14.

@travispavek
Copy link

The code is commented out, which is why you were not seeing the comments. You need to delete the following two lines:

You should not use the Disqus 'universal code' as it will use the url as the identifier. The code in this theme will use the post id which is preferred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants