Skip to content
Pre-release

@DesertsP DesertsP released this Mar 3, 2019 · 3 commits to master since this release

  • support pjax
  • fix style
  • fix xss
  • fix markdown support
  • add preview
Assets 3

@DesertsP DesertsP released this Feb 25, 2019 · 15 commits to master since this release

修复Markdown支持,新增预览功能,优化部分样式,修复xss漏洞

Assets 3

@DesertsP DesertsP released this Sep 16, 2018 · 24 commits to master since this release

务必更新参数后使用

09/16更新内容:

  1. 全新界面,模仿Bitcron评论框
  2. 垃圾评论功能回归
  3. 移除点赞功能
  4. 增加表情包功能,可自定义常用图片表情
  5. 修复若干小问题

修复的Bug包括:

  1. 网址留空时的误判
  2. 点赞样式在一些主题中错乱的问题
  3. 其他
    <!--载入js,在</body>之前插入即可-->
    <!--Leancloud 操作库:-->
    <script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
    <!--Valine 的核心代码库-->
    <script src="./dist/Valine.min.js"></script>
    <script>
        new Valine({
            // AV 对象来自上面引入av-min.js(老司机们不要开车➳♡゛扎心了老铁)
            av: AV, 
            el: '.comment',
            emoticon_url: 'https://cloud.panjunwen.com/alu', //表情图片网址
            emoticon_list: ["吐.png","期待.png","高兴.png","吐血倒地.png","哭泣.png","欢呼.png"],//表情图片文件名
            app_id: 'Your APP ID', // 这里填写上面得到的APP ID
            app_key: 'Your APP KEY', // 这里填写上面得到的APP KEY
            placeholder: 'ヾノ≧∀≦)o来啊,快活啊!', // 留言框占位提示文字
        });
    </script>
Assets 4
Sep 14, 2018
fix bugs

@DesertsP DesertsP released this Sep 15, 2018 · 27 commits to master since this release

修复诸多Bug:

  1. 修复评论表情点击输入后无法正确提交的问题
  2. 修复评论列表排序问题(点赞数降序排序改为发布时间倒序)
  3. 修复点赞心形图标问题
  4. 修复网址为空时的提交警告
  5. 样式微调,适应个人的新主题
  6. 评论发布时间显示格式微调

另:Disqus2Leancloud已经修复可用

Assets 4

@DesertsP DesertsP released this May 21, 2018 · 34 commits to master since this release

👏🏻👏🏻👏🏻👏🏻👏🏻👏🏻
效果请移步:https://panjunwen.com/

新增:

  1. 评论表情
  2. 回复点赞
  3. 评论翻页
  4. 长评论折叠

迁移指南:

  1. 更新Valine.min.js
  2. 参数新增smile_urls:
new Valine({
          av: AV,
          el: '#disqus_thread',
          smiles_url: 'BASE url of your smiles pictures',
          // i.e. smile gif can be access on https://cloud.panjunwen.com/smiles/arrow.gif, then the smile_url should be "https://cloud.panjunwen.com/smiles"
          app_id: 'Your App ID',
          app_key: 'Your Key',
          placeholder: '老司机来一发吧 O(∩_∩)O~~'
      });

移除:

  1. IP地址
  2. 垃圾评论审查

与Valine不同:

  1. emoji请自行使用输入法输入
  2. 不会支持浏览器和系统信息显示
  3. 隐私保护(访客不用担心邮箱泄露)
  4. 完善的邮件通知,设置合理没有频率和内容限制,通知邮件可以补发,确保送达 (需要Valine Admin)
  5. 评论管理 (需要Valine Admin)
  6. Disqus 数据迁移 (
  7. Markdown 有限支持,满足评论需求
Assets 4

@DesertsP DesertsP released this Oct 20, 2017 · 37 commits to master since this release

Fix the compatibility on mobile browsers.

Assets 3

@DesertsP DesertsP released this Aug 14, 2017 · 43 commits to master since this release

  • Privacy Protection
  • Gravatar image
  • Anti spam
  • Remove useless field
  • Remove email notification(use LeanEngine to do that)
Assets 3
Aug 14, 2017
update readme
Aug 8, 2017
You can’t perform that action at this time.