1
davidtillyer
Showing a NUMBER for new Members

is there a module that I can have or can some one point me to a pice of code that will allow me to show to the outside world "Anonymous Users" how many people i have regestered on my site in "total" and how many has "registered today"

I just want to use this on the first page, unlike the "New Member" block you have a link through to that users profile, this is OK after ther have registered and become a user.

Any surggestions?

DT

2
tripmon
Re: Showing a NUMBER for new Members
  • 2005/4/21 22:44

  • tripmon

  • Module Developer

  • Posts: 462

  • Since: 2004/2/28


??? maybe try the membership or xoopsstats module... I don't use either, so it may be a stupid suggestion on my part, but I hate to see posts go unanswered...

3
davidtillyer
Re: Showing a NUMBER for new Members

Thank you, for your kind reply.

Where can I find them?

DT

4
tripmon
Re: Showing a NUMBER for new Members
  • 2005/4/22 8:06

  • tripmon

  • Module Developer

  • Posts: 462

  • Since: 2004/2/28


top left... module repository.

5
Herko
Re: Showing a NUMBER for new Members
  • 2005/4/22 8:34

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


I don't use them either (for very small sites it's no use, for very big sites a resource hog), but do a search for xmemberstats

Herko

6
davidtillyer
Re: Showing a NUMBER for new Members

Thank you, i will try that however. What I'm trying to achaive is just a block. In this block it has just 2 lines
"New Members Today"
and
"Total Members" Now I think the PHP code for this is:

$total = $member_handler->getUserCount(new Criteria('level', 0, '>'));
include_once XOOPS_ROOT_PATH."/class/xoopsformloader.php";

As I have picked this up from the top of the search module as this give a count as to the number of members you have registered on your site.

Two Questions

Q1: Is this the correct code above for Total Members (but it's in PHP)

Q2: What would the code be for New Members Today?

DT

Login

Who's Online

178 user(s) are online (121 user(s) are browsing Support Forums)


Members: 1


Guests: 177


heyula,

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