Account Numbers

14 years 1 week ago #130609 by krileon
Replied by krileon on topic Re:Account Numbers
Please see cb.core.php this CB plugin (system plugin) contains all of CBs fieldtypes. This would be a good example as to how to structure your new plugin. You can also review document subscriber Ajax Text fieldtype and File fieldtype plugins.


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.

14 years 4 days ago #130923 by laurie_lewis
Replied by laurie_lewis on topic Re:Account Numbers
You could use the Joomla user id as a number. The generally start at around 63 and go up.

Laurie
My Community Site: thelewisfamily.id.au

Please Log in to join the conversation.

14 years 3 days ago #130987 by krileon
Replied by krileon on topic Re:Account Numbers
laurie_lewis wrote:

You could use the Joomla user id as a number. The generally start at around 63 and go up.

Correct, User ID is unique to each user and no two users will ever have the same ID. ;)


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 5 months ago #145824 by jakobe75
Replied by jakobe75 on topic Re:Account Numbers
I have a similar need,
it is very close to what the OP is asking to be able to do.

and I agree, why make it complicated? Joomla assigns a user ID to everyone and almost everything.


starting a new thread on it here:

www.joomlapolis.com/component/option,com_joomlaboard/Itemid,82/func,view/id,145823/catid,130/

Please Log in to join the conversation.

13 years 5 months ago #145840 by krileon
Replied by krileon on topic Re:Account Numbers
As stated in this thread User ID is unique to each user and is very simple. There's no need to generate a subsequent unique id as one already exists. Please understand User ID = Joomla ID; they are 1 in the same. Using the substitution of [user_id] for example will always be unique to the user and no 2 will ever be alike (unless your database is massively corrupt, but then that's the least of your concerns).


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.

Moderators: beatnantkrileon
Time to create page: 0.227 seconds