Skip to Content Skip to Menu

Add New Field which auto increments/random

  • aguaw
  • aguaw
  • OFFLINE
  • Posts: 22
  • Thanks: 0
  • Karma: 1
13 years 8 months ago #157528 by aguaw
Is it possible to add a new field which either auto-increments as each new user registers, or which creates a unique random number? It would also be handy if it could have a some default characters before - so it would eventually look like:

ABC789556
ABC789557
ABC789558
or
ABC789556
ABC234233
ABC685234

This would be visible on the profile and admin, but not on registration and read only.

I am trying to create a membership number

Thanks

ps - any other methods of creating the something similar would be appreciated :)

Please Log in or Create an account to join the conversation.

  • aguaw
  • aguaw
  • OFFLINE
  • Posts: 22
  • Thanks: 0
  • Karma: 1
13 years 8 months ago #157622 by aguaw
Not possible?

Please Log in or Create an account to join the conversation.

  • wgary
  • wgary
  • OFFLINE
  • Posts: 33
  • Thanks: 1
  • Karma: 0
13 years 8 months ago #158298 by wgary
a) use cbsubs to handle your membership.

b) use mySQL to create a autoincrementing field and reference to this one.

br Wolfgang

Please Log in or Create an account to join the conversation.

  • aguaw
  • aguaw
  • OFFLINE
  • Posts: 22
  • Thanks: 0
  • Karma: 1
13 years 7 months ago #159268 by aguaw
Thanks wgary :)

I actually found plug_cbfields, which may do something similar.

I haven't had time to look back at this problem yet.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum