diff --git a/js/thread-stats.js b/js/thread-stats.js index eb38e2bf..7fd2ac1f 100644 --- a/js/thread-stats.js +++ b/js/thread-stats.js @@ -14,7 +14,7 @@ $(document).ready(function(){ var thread_id = (document.location.pathname + document.location.search).split('/'); thread_id = thread_id[thread_id.length -1].split('+')[0].split('.')[0]; - $('.clear').after('
'); + $('.clear').before('
'); var el = $('#thread_stats'); el.prepend('Page ?'); diff --git a/stylesheets/style.css b/stylesheets/style.css index 059416ab..a4ab484c 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -1965,3 +1965,10 @@ span.strikethrough { span.orangeQuote { color: #FF8C00; } + +#uniqueip > span { + display: block; + float: right; + margin: 0em 1em; +} + diff --git a/templates/post_thread.html b/templates/post_thread.html index 448bbd72..9df3f2fb 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -100,7 +100,7 @@ {% endfor %}
{% if not index %} -
Unique IPs: {{ iparray|length }}
+
Unique IPs: {{ iparray|length }} |
{% endif %} {% if hr %}
{% endif %} diff --git a/templates/themes/categories/theme.php b/templates/themes/categories/theme.php index 58c7d626..86bfa023 100644 --- a/templates/themes/categories/theme.php +++ b/templates/themes/categories/theme.php @@ -144,9 +144,6 @@ $stats['daily_ips'] = count($daily); $stats['weekly_ips'] = count($weekly); $stats['pph'] = array_sum(array_column($stats['boards'], 'pph')); - $stats['hourly_ips'] = array_sum(array_column($stats['boards'], 'hourly_ips')); - $stats['daily_ips'] = array_sum(array_column($stats['boards'], 'daily_ips')); - $stats['weekly_ips'] = array_sum(array_column($stats['boards'], 'weekly_ips')); return $stats; }