3.1 & 3.2 Extensions Database 3.1 / 3.2Statistics on Index

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Windows 10 Chrome

Re: Statistics on Index

Post by martin »

Just comment out what you dont need i have lol.

see here guests can see stats http://www.martins.homelinux.net/sub/index.php
Image

User avatar

Tarantino
Users
Users
Posts: 42
Joined: 10 Sep 2016, 04:58
    Android Chrome

Re: Statistics on Index

Post by Tarantino »

Yup. That's what I said. :P

[ Post made via OnePlus One ] Image

User avatar

Sinister Smile
Users
Users
Posts: 63
Joined: 06 Jan 2017, 19:50
    Windows 7 Chrome

Re: Statistics on Index

Post by Sinister Smile »

I get this error :/ Im using phpbb 3.1.10

[phpBB Debug] PHP Warning: in file [ROOT]/ext/dmzx/statsonindex/event/listener.php on line 58: Division by zero

User avatar

wads24
Donator
Donator
Posts: 125
Joined: 19 Mar 2017, 19:30
    Android Chrome

Re: Statistics on Index

Post by wads24 »

dmzx wrote: 16 Nov 2015, 18:59
moffacostanzo wrote:hi
i installes this extension
how can i hide the first statistic ( i have two voice)

Cattura.png
Switch off newest members extension.
I don't have that extension, but I'm seeing this also

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Statistics on Index

Post by Sniper_E »

Nice! I like it... :thumbup:
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

Fezroux
Users
Users
Posts: 6
Joined: 28 Aug 2019, 23:00
    Windows 7 Chrome

Re: Statistics on Index

Post by Fezroux »

After installing this, the stats are now no longer visible to guests. I was wondering if it's supposed to be this way or if it's a problem on my end. Either way, how do I fix it?

User avatar

Fezroux
Users
Users
Posts: 6
Joined: 28 Aug 2019, 23:00
    Windows 7 Chrome

Re: Statistics on Index

Post by Fezroux »

Why isn't this viewable to guests?! I'd really appreciate it If this could be done. :exclaim:

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Statistics on Index

Post by martin »

Look at the html file your see a ifstatement there for logged in users only.

User avatar

Fezroux
Users
Users
Posts: 6
Joined: 28 Aug 2019, 23:00
    Windows 7 Chrome

Re: Statistics on Index

Post by Fezroux »

Hey thanks for the reply. Can you elaborate a little more on what exactly needs to be changed? Looking at the files I'm assuming you're referring to the index_body_stat_blocks_after.html one? It appears I need to change the first line, but what change do I need to make to it?

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Statistics on Index

Post by Sniper_E »

Yes, do you see the first line? <!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
Change that line to <!-- IF not S_IS_BOT -->

User avatar

Fezroux
Users
Users
Posts: 6
Joined: 28 Aug 2019, 23:00
    Windows 7 Chrome

Re: Statistics on Index

Post by Fezroux »

Hey great, that did it. :thumbup:

Also, I installed the version with the time online counter, and noticed it isn't correct. It's two days off. I tested it against other stat extensions that contain the same feature, and they correctly calculated the time. It's not that big of a deal, I just figured you would want to know.

User avatar

Mickroz
Users
Users
Posts: 30
Joined: 08 Feb 2015, 22:47
    Windows 10 Chrome

Re: Statistics on Index

Post by Mickroz »

Needs updating for phpBB 3.3 (single quotes in services.yml)
Q: Whats a hash and a root password?
A: hash gets you high, root password gives you god powers, combine the 2 and you are invincible.

Post Reply Previous topicNext topic