MyBB Community Forums
Why does {$lang->stats_numusers} count banned users? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Why does {$lang->stats_numusers} count banned users? (/thread-225806.html)



Why does {$lang->stats_numusers} count banned users? - Michael2014 - 2019-12-22

Hey gang, why does {$lang->stats_numusers} count banned users,

when it should only count registers users?

So if you are showing the number of members on forum with {$lang->stats_numusers},
you are also counting banned users too, so what is the point?


RE: Why does {$lang->stats_numusers} count banned users? - NoRules - 2019-12-22

Hi,

a banned user is a registered one. It's not a deleted user, so it must count it.


RE: Why does {$lang->stats_numusers} count banned users? - Michael2014 - 2019-12-22

(2019-12-22, 07:49 PM)NoRules Wrote: Hi,

a banned user is a registered one. It's not a deleted user, so it must count it.

Hi, and thanks, I see now.

(2019-12-22, 07:49 PM)NoRules Wrote: Hi,

a banned user is a registered one. It's not a deleted user, so it must count it.

the best way to call count for registered users? perhaps a template conditional