1
drewdizzy
Any Ideas
  • 2006/2/19 21:55

  • drewdizzy

  • Just popping in

  • Posts: 23

  • Since: 2004/5/5 0


Does any one know how to dispaly how many "Users have registered" apart from who's online.

Thanks.

2
terrion
Re: Any Ideas
  • 2006/2/19 22:01

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


In your administrative menus click on Users-->find users.

There's a field labeled: Type of users to show

If you select All users, the output from that will show at the time all registered and inactive users. If you are requiring users to validate through email then the inactive users will be the ones that never "followed through" with the registration to completion by clicking on the link they got in their email.

Lots of other good stuff on that "find users" query to play with too!

--Enjoy, and welcome to Xoops!
Terrion
Purchase, renew, or transfer your domain name to Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...

3
drewdizzy
Re: Any Ideas
  • 2006/2/19 22:54

  • drewdizzy

  • Just popping in

  • Posts: 23

  • Since: 2004/5/5 0


Thank you I never knew that..but what I really want is a display block on the site its self so gues and ussers can see.

4
Dave_L
Re: Any Ideas
  • 2006/2/19 23:38

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


In a custom block with content type PHP Script:

$member_handler =& xoops_gethandler('member');
$criteria       =  new Criteria('level'1'>=');
$usercount      =  $member_handler->getUserCount($criteria);
echo 
"There are $usercount registered users.";

5
menochi
Re: Any Ideas
  • 2006/2/20 1:16

  • menochi

  • Friend of XOOPS

  • Posts: 259

  • Since: 2003/12/28


Nice idea Dave
I´ve just put this block to one of my sites!
in valid code we trust

6
drewdizzy
Re: Any Ideas
  • 2006/2/22 2:44

  • drewdizzy

  • Just popping in

  • Posts: 23

  • Since: 2004/5/5 0


Thanks Dave

Login

Who's Online

310 user(s) are online (236 user(s) are browsing Support Forums)


Members: 0


Guests: 310


more...

Donat-O-Meter

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

Latest GitHub Commits