theme-next-docs icon indicating copy to clipboard operation
theme-next-docs copied to clipboard

正确的设置了disqus_shortname,界面却无法加载disqus

Open VickChen1992 opened this issue 8 years ago • 14 comments

为什么会这样?注释掉那一行配置文件就可以了。 总是显示

We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

VickChen1992 avatar Sep 28 '16 16:09 VickChen1992

多说也是,我看好多next主题的都没有评论系统,难道不支持?

wking2014 avatar Sep 29 '16 01:09 wking2014

我的起作用了,配置如下

  • 主题配置文件:
duoshuo_info:
  ua_enable: true
  admin_enable: false
  user_id: 0
  admin_nickname: your_nickname
  • 站点配置文件:
duoshuo_shortname: your_shortname

liqianglai avatar Oct 14 '16 09:10 liqianglai

我的只有主题配置文件需要配置 站点配置文件没有配置项 @liqianglai

  • 主题配置文件:
# Disqus
disqus_shortname: your_shortname

正确设置了shortname 然而不起作用

VickChen1992 avatar Oct 17 '16 03:10 VickChen1992

站点没有配置项,可以手动添加 @VickChen1992

liqianglai avatar Oct 18 '16 02:10 liqianglai

是不是因为多说新建站点配置的URL只能http的原因。我的是github https开头的站点

tanpengsccd avatar Oct 18 '16 02:10 tanpengsccd

@tanpengsccd https://liqianglai.github.io/ 这就是按照着个配置 image

liqianglai avatar Oct 18 '16 07:10 liqianglai

我的是disqus 不是多说.... 新增了站点配置还是无法加载. @liqianglai

VickChen1992 avatar Oct 19 '16 01:10 VickChen1992

@VickChen1992 image 那就无能为力了

liqianglai avatar Oct 20 '16 02:10 liqianglai

我的disqus是沒有問題的,最大的可能是disqus_shortname寫錯了,不是username, 是登錄後進入admin,點擊your site,然後網頁的地址的一部分。 https://help.disqus.com/customer/portal/articles/466208

cogitoxin avatar Nov 20 '16 22:11 cogitoxin

https://github.com/iissnan/hexo-theme-next/issues/876 可以参考下这个,配置站点的url

zhangtianle avatar Jan 22 '17 14:01 zhangtianle

我遇到的问题是,配置的不是username 访问:https://disqus.com/admin/create/ 设置

storyflow avatar Apr 19 '17 16:04 storyflow

可以,我用的是disqus,正常按教程配置就好。一开始我也搞错了disqus_shortname,这个字段也许不是你当时设置的,因为可能会有重名然后系统就自己给你改名了,请看图中的Your website shortname,这个才是你的disqus_shortname

wx20170717-003357 2x

tisfeng avatar Jul 16 '17 16:07 tisfeng

我用的最新版 NexT.Pisces v5.1.3,正确配置了Disqus,也确定文章前部分的format正确,为什么有的文章可以正常加载显示出Disqus,而有些文章不能加载出Disqus。 @iissnan

Mr-LiuDC avatar Oct 28 '17 12:10 Mr-LiuDC

我一开始是shortname错了,具体的方法楼上已经有了,但改完之后还是不行,查了好久,好像是站点配置文件里的URL不应该带http

masterAllen avatar Feb 13 '18 06:02 masterAllen