Jump to content

Recommended Posts

Posted

1. Add a field called 'VATSIM ID', set it to both Profile and Register.

2. Logout and try to register.

3. Experience the wrath of the error ;D

  • Administrators
Posted

Hmm I was able to register just fine.

Registration Confirmation

Thanks for joining us! Your registration has been completed! You can login using your pilot ID (TAY0138), and the password you used during registration.

Posted

ezDB (v3.00) Debug..

Query [8] -- [iNSERT INTO phpvms_pilots (firstname, lastname, email, code, location, hub, password, salt, confirmed, joindate) VALUES ('Test', 'Hello', 'hello@hotmail.biz', 'VMA', 'CV', 'KJFK', '1f9e9d76c60169af08000ada76deb7c5', 'ef3e9a4ed7d0eea6db6bc9791b241dc2', 0, NOW())]

Query Result..

No Results

If ezDB has helped make a donation!? 

custom fields found:

Array

(

    [0] => stdClass Object

        (

            [fieldid] => 4

            [title] => VATSIM ID

            [fieldname] => VATSIM_ID

            [value] =>

            [type] => text

            [public] => 1

            [showonregister] => 1

        )

)

value for VATSIM_ID is "45235234"

Query [11] -- [iNSERT INTO phpvms_fieldvalues (fieldid, pilotid, value)

VALUES (4, 140, '45235234')]

Query Result..

No Results

If ezDB has helped make a donation!? 

Registration Confirmation

Thanks for joining us! Your registration has been completed! You can login using your pilot ID (VMA0140), and the password you used during registration.

Posted

Hmmm.....

I Might rewrite a registration module...

How do I access the variables for the database name, table prefix etc that are required for the mysql query?

Also, where are the list of custom fields stored?

  • Administrators
Posted

Hmmm.....

I Might rewrite a registration module...

How do I access the variables for the database name, table prefix etc that are required for the mysql query?

Also, where are the list of custom fields stored?

It's all done through the API's RegistrationData::AddUser() function.

So, are you still not able to register?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...