Skip to Content Skip to Menu

where is the CB file which processes registration?

13 years 3 months ago #169721 by serverxeon
[PROBLEM]
I need to add a field during registration which requires user to input a 'CD-KEY' sort of thing, which is a unique, one time key for every (paid) user.

[PROPOSED SOLUTION]
I need to look for the php which processes the registration, and modify the code to do a check on the key if it is unique on the database, and validate the CDKEY.

Anyone can point me to where i can process this additional registration field?

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
13 years 3 months ago #169726 by nant
Another solution is to use the CB API (see download area for doc) to code a clean new CB field type plugin that does exactly this.

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

13 years 3 months ago #169741 by serverxeon
i need to be a paying member to access the documentation?

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
13 years 3 months ago #169765 by nant

serverxeon wrote: i need to be a paying member to access the documentation?


CB API documentation is in the FREE download area - did you look?

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

13 years 3 months ago - 13 years 3 months ago #169784 by serverxeon
ok thanks. i'll ask if i have more questions
Last edit: 13 years 3 months ago by serverxeon.

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

13 years 3 months ago #169807 by serverxeon
how do you access the database to search if the CDKEY entered is already used?
the API dont seem to say much SQL stuffs.

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

Moderators: beatnantkrileon
Powered by Kunena Forum