What about counting users????
Brunhilda wrote on 14 May 2010 08:58
This does not include users count. And I would be really glad to be able to know the number of my members. Just like now I know the number of pages within a category. Could this be included in this design, please?
Comments: 3
page revision: 0, last edited: 14 May 2010 08:58
The ListUsers module is meant to support the same variables as the ListPages module. As the ListPages module has a %%total%% variable, I suspect the ListUsers module will as well… so all you've got to do is to wait for this to be worked on again ;-) I'm sure it will allow adding the total.
The ListUsers module is really basic at the moment (yet still super-powerful because of how it allows us to hide content from some users).
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Does ListPages count? I thought that this was why CountPages was made… :(
I mean, if %%total%% in ListPages does the same thing as CountPages, then why was CountPages made at all? :(
Let me say it in another way: It would be nice if we could have something like this:
This site has XXX users.
This site has XXX moderators.
This site has XXX admins.
The same as:
This site has XXX pages in a category XY.
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney
I'm pretty sure CountPages puts less stress on the servers because it only needs to count pages… not gather information about their titles or what their source code is, for example. So if all you want to do is to count pages, please use CountPages :)
As for counting users… you can do that if you have the pro account level that lets you create per-user profile pages on your site (then just CountPages for the pages in the profile category or whatever category you put them in). Because you don't that means there's no way to count users yet.
The solution to this is the ListUsers module… it should let you do this kind of thing (though a CountUsers module would cause less server stress, in the same way as CountPages does):
That's how I understand it.
Obviously, only users="." works at the moment and everything else still needs to be done.
Edit:
The first example should show a list of site members and their Wikidot ID number.
The second and third examples both just show a total
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)