Merge pull request #120 from nonmakina/uniqueIps

Adds a unique IP counter on the bottom of each thread. It counts the number of unique IPs that has posted so far
This commit is contained in:
towards-a-new-leftypol 2021-01-10 11:10:25 -05:00 committed by GitHub
commit 742875c978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@
{% endif %} {% endif %}
{% include 'post_reply.html' %} {% include 'post_reply.html' %}
{% endfor %} {% endfor %}
{% if mod and not index %} {% if not index %}
<div id="uniqueip"><span style="display: block; float: left;">Unique IPs: {{ iparray|length }} </span></div> <div id="uniqueip"><span style="display: block; float: left;">Unique IPs: {{ iparray|length }} </span></div>
{% endif %} {% endif %}
<br class="clear"/>{% if hr %}<hr/>{% endif %} <br class="clear"/>{% if hr %}<hr/>{% endif %}