[SOLVED] Membership number - auto increase

13 years 11 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

Please Log in to join the conversation.

13 years 11 months ago #131292 by krileon
Replied by krileon on topic Re:Membership number - auto increase
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 - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
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 CST to 4:00 PM CST. 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.

Please Log in to join the conversation.

13 years 11 months ago #131319 by mwink
Replied by mwink on topic Re:Membership number - auto increase
Kyle, thanks a lot. I Used the delimiter field and that works fine!!
matthijs

Please Log in to join the conversation.

13 years 6 months ago #142435 by davidhharnett
Replied by davidhharnett on topic Re:Membership number - auto increase
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

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.203 seconds

Facebook Twitter LinkedIn