1
mikedown2
total members mod/addition
  • 2007/12/4 9:26

  • mikedown2

  • Just popping in

  • Posts: 19

  • Since: 2007/11/6


hi is there a mod so i can add the total number of members

in the WHO'S ONLINE MOD?

thanks!

2
tom
Re: total members mod/addition
  • 2007/12/4 12:20

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


There used to be a module by a group called inconueteam (I think thats how it's spelt), not seen them in years though.

You could code it in manually, should look something like this:

$result = $xoopsDB->query("SELECT count(*) from ".$xoopsDB->prefix("users").""); list($numbers) = $xoopsDB->fetchRow($result);

And then place the variable where you want it displayed:

$numbers Registered XOOPSERS

3
mikedown2
Re: total members mod/addition
  • 2007/12/6 13:05

  • mikedown2

  • Just popping in

  • Posts: 19

  • Since: 2007/11/6


thanks!
so what files should i edit?

system_block_online.html

and ? (for the php script)

4
preachur
Re: total members mod/addition
  • 2007/12/6 13:22

  • preachur

  • Just can't stay away

  • Posts: 525

  • Since: 2006/2/4 4


The membership module... "xmmemberstats" has a membership block so that you can replace the system "Who's Online" block, and it gives a total members stat and is much better. Plus you get a great member directory. See an example here: http://crustylands.org/
Magick can never be restrained, but when freely given is thrice regained!

5
script_fu
Re: total members mod/addition

This is what preacher is talking about...

XM-Memberstats 2.0e

You half to register to download the module. Im not sure if their is a newer version out there.

6
preachur
Re: total members mod/addition
  • 2007/12/7 5:40

  • preachur

  • Just can't stay away

  • Posts: 525

  • Since: 2006/2/4 4


That's the one. I has a long installation process but is worth the wait.
Magick can never be restrained, but when freely given is thrice regained!

7
script_fu
Re: total members mod/addition

Yep you need to study up on this one. Most of the time it works flawlessly...

I remember a flash one floating around somewhere. I can not remember the name...

8
mikedown2
Re: total members mod/addition
  • 2007/12/7 7:56

  • mikedown2

  • Just popping in

  • Posts: 19

  • Since: 2007/11/6


awesome awesome!

doest it work with 2.0.17.1?

Login

Who's Online

142 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 142


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits