[SOLVED] Membership number - auto increase

9 years 4 months ago #131272 by mwink
Hi,

I use CB to add user profile fields. I would like to add a field "membership number" that is generated automatically and increases with each new member (so each member has an unique number).

Is this possible ?

thanks for any help!
matthijs

Post edited by: krileon, at: 2010/04/26 22:27
9 years 4 months ago #131292 by krileon
Each user already has a unique number. It's user_id and can be displayed using a delimiter field with the substitution [user_id]. Otherwise you'll need to create a new fieldtype plugin to allow creation of such a field.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM EST to 4:00 PM EST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
9 years 4 months ago #131319 by mwink
Kyle, thanks a lot. I Used the delimiter field and that works fine!!
matthijs
9 years 16 hours ago #142435 by davidhharnett
Hi I was wondering is there then a way of changing the username to this type, using the userid and make it read only?

The Idea being I would like users to login using an auto generated username as it will relate to a printed card with a membership number on it and we would like people to have refer to their card to log in?

Hope that makes sense

David

Post edited by: davidhharnett, at: 2010/09/20 13:47
Moderators: beatnantkrileon
Time to create page: 9.383 seconds
Facebook Twitter Google LinkedIn