Author Topic: registration.additional.fields  (Read 4129 times)

0 Members and 1 Guest are viewing this topic.

Dragonslayer

  • Team
  • Bigace Expert
  • *****
  • Posts: 470
    • dragonslayer.se
registration.additional.fields
« on: August 31, 2012, 11:45:21 AM »
how do i use registration.additional.fields?
and is it what i am looking for?

i want our members to be able to record their members number upon registration or later by using the user page in administration

Oleg

  • Team
  • Bigace Pro
  • *****
  • Posts: 222
    • Russian BIGACE website
Re: registration.additional.fields
« Reply #1 on: September 02, 2012, 11:54:26 PM »
Hello mate! Sorry for late reply, my PC was broken ;). Please, let me describe using of this one.
Basically, you need 2 step:
1. Edit something like BIGACE_ROOT\{CID}\config\user_blabla.ini (sorry, really do not remember the exact filename) :)
And add desired attribute name and it title (title is translatable) (e.g. "MyAttribute1 = Member Number")

2. Go to Dashboard-System-Configurations-Authentication and set "registration.additional.fields" property
Syntax is following: TITLE|NAME|TYPE|DESC|VALUE
where:
TITLE - field title (e.g. "Member Number"), obligatory
NAME - Internal attribute name (e.g. see above and set it to "MyAttribute1"), obligatory
TYPE is type (e.g. "text"), obligatory
DESC is description
VALUE is value ofcourse
You can have many self-defined attributes delimited by commas
Please do not hesitate to contact me, if any questions. Thanks!

Best regards,
Oleg
Simplicity is the ultimate sophistication (c)

Dragonslayer

  • Team
  • Bigace Expert
  • *****
  • Posts: 470
    • dragonslayer.se
Re: registration.additional.fields
« Reply #2 on: September 04, 2012, 09:17:05 AM »
Thanks.. got it working by editing
/consumer/cid1/config/user_attributes.ini
added two lines:
Code: [Select]
pistolkort = Pistolskyttekorts nr
membernr   = Medlemsnummer
and then added this line in configuration / autentication
Code: [Select]
Medlemsnummer|membernr|text|Ditt medlemsnummer i Hammenhögs PK||,Pistolskyttekorts nr|pistolkort|text|sifforna på ditt pistolskyttekort från förbundet||