1
iolai
Users list
  • 2004/9/17 13:50

  • iolai

  • Quite a regular

  • Posts: 206

  • Since: 2004/6/26


I'd like to write a list of all the users of my site, ordered by their rank, in a block. Not only current logged in users, but all the users.

Any idea how to do it?

2
rcjohnson
Re: Users list
  • 2004/9/17 14:21

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


You could create a custom block and just use an few sql statement to extract the database information you would like to display. Check your MySqlAdmin. It will practically write teh code for you.

3
rcjohnson
Re: Users list
  • 2004/9/17 14:32

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


Oh, and to save you some time. I would read this document:
http://dev.xoops.org/dl/ModuleBuilding.pdf

It will show you the correct way to display database values in xoops. Of course regular $sql scripts should work too. In any case, you should read teh doc, it has lots of great info. Im still learning how to do something like what you want to do as well.


4
solo71
Re: Users list
  • 2004/9/17 14:51

  • solo71

  • Module Developer

  • Posts: 941

  • Since: 2003/1/29


You can use blockutils, where you will find what you search.

A most recent version is available in the XOOPS Wolf Pack.

And if you register on my site, you will be able to see a sample in the "active members" block.


Login

Who's Online

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


Members: 0


Guests: 217


more...

Donat-O-Meter

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

Latest GitHub Commits