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

解决busuanzi无效的方法(before v6.4.2) [#417 has fixed it] #436

Closed
ChungZH opened this Issue Oct 7, 2018 · 7 comments

Comments

Projects
None yet
4 participants
@ChungZH
Copy link

ChungZH commented Oct 7, 2018

懒得提pr,直接issue,坐等官方人员修改
可以看看我的 https://chungzh.cn/ 已经有效了
找到busuanzi-counter.swig,修改成:

{% if theme.busuanzi_count.enable %}
<div class="busuanzi-count">
  <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  {% if theme.busuanzi_count.total_visitors %}
    <span class="site-uv" title="{{ __('footer.total_visitors') }}">
      <i class="fa fa-{{ theme.busuanzi_count.total_visitors_icon }}"></i>
      <span class="busuanzi-value" id="busuanzi_value_site_uv"></span>
    </span>
  {% endif %}

  {% if theme.busuanzi_count.total_views %}
    <span class="site-pv" title="{{ __('footer.total_views') }}">
      <i class="fa fa-{{ theme.busuanzi_count.total_views_icon }}"></i>
      <span class="busuanzi-value" id="busuanzi_value_site_pv"></span>
    </span>
  {% endif %}
</div>
{% endif %}


即可,请官方人员更新,谢谢!

@ChungZH

This comment has been minimized.

Copy link
Author

ChungZH commented Oct 7, 2018

@ChungZH

This comment has been minimized.

Copy link
Author

ChungZH commented Oct 7, 2018

@ChungZH

This comment has been minimized.

Copy link
Author

ChungZH commented Oct 7, 2018

仅适用于v6.4.2之前的版本。。。
before v6.4.2

@ChungZH ChungZH changed the title 解决busuanzi无效的方法 解决busuanzi无效的方法(before v6.4.2) Oct 7, 2018

@sli1989

This comment has been minimized.

Copy link
Collaborator

sli1989 commented Oct 8, 2018

so, what's the different. I couldn't find the fixed part.

@ChungZH

This comment has been minimized.

Copy link
Author

ChungZH commented Oct 8, 2018

我的当时是6.3.0😂

@taylortaurus

This comment has been minimized.

Copy link

taylortaurus commented Oct 9, 2018

so, what's the different. I couldn't find the fixed part.

just changed domain

@sli1989

This comment has been minimized.

Copy link
Collaborator

sli1989 commented Oct 9, 2018

@taylortaurus yeah, I got it, but it's not related to #428.
#417 has fixed it, please git pull the new released version or lastest version.

@sli1989 sli1989 removed the Need Confirm label Oct 9, 2018

@sli1989 sli1989 closed this Oct 9, 2018

@sli1989 sli1989 changed the title 解决busuanzi无效的方法(before v6.4.2) 解决busuanzi无效的方法(before v6.4.2) [#417 has fixed it] Oct 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment