1
n01un0
Assign Member Number?
  • 2006/10/16 16:02

  • n01un0

  • Quite a regular

  • Posts: 253

  • Since: 2005/10/9


I'm looking for a module or some kind of hack that would assign registered users a membership number. Is there any recommendations?

Its not based on fee's or due's, so I dont need anything complex that has to do with invoices and such. I just want to simply assign each new registered member a number and then be able to view the member listing sorted by membership order.

At some point I want to send users a "membership card" that will have thier name and member number.

2
Herko
Re: Assign Member Number?
  • 2006/10/16 16:19

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


What's wrong with the user ID? Each user has a unique ID, which the system uses to identify an account. Mine here is 601...

Herko

3
n01un0
Re: Assign Member Number?
  • 2006/10/16 16:31

  • n01un0

  • Quite a regular

  • Posts: 253

  • Since: 2005/10/9


I knew there was something already in place, just couldnt remember where I'd seen it. Where is it listed and I guess secondly, how can I display my members with just username and number on a page?

4
Cuidiu
Re: Assign Member Number?
  • 2006/10/16 18:57

  • Cuidiu

  • Quite a regular

  • Posts: 358

  • Since: 2006/4/23


n01un0,
Is it the Steelers site that you're referring to? Why not open up the xmmemberstats to the public and use that page? It would take a bit of editing but you could edit the index.php if you wanted to only show names/link.
You could also use the search and provide a link to the results like this:
/modules/profile/search.php?uname_match=0&uname=&name_match=0&name=%25&email_match=0&email=&sortby=name&order=0&limit=100&submit=Submit&skipValidationJS=0&op=results


As to how to get the user id# to show, I don't have the time right now to figure that out - but perhaps someone else here can help with that.

Quote:

n01un0 wrote:
I knew there was something already in place, just couldnt remember where I'd seen it. Where is it listed and I guess secondly, how can I display my members with just username and number on a page?
[size=x-small]Working sites:
XOOPS 2.0.16 PHP 5.2.2, MySQL 5.0.24a-standard-log, Apache/2.0.54 (Unix)
XOOPS 2.2.4, PHP 4.3.10, MySQL 3.23.58, Apache/1.3.33 (Unix)[/size]

Login

Who's Online

433 user(s) are online (375 user(s) are browsing Support Forums)


Members: 0


Guests: 433


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