Zubrag.com
April 25, 2018, 12:53:06 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Adding more fields at signup  (Read 3830 times)
baysidegraphics
Newbie
*
Posts: 1


« on: February 07, 2010, 12:01:15 PM »

Hope someone is out ther to help fix these issues for me - Thanks in advance!

1) I read an article that explained how to add fields since field 4 is assigned to the redirect, however, even though the new fields are entered in the signup.php page, they are not populating the manager.php page.

2) I would like to have the Redirect URL field auto populate in manager.php with the same address in the settings. Here is the code for the changes so far.

Here is a link to the code changes in text format for review:

http://www.baysidegraphics.com/kings/signup.txt

Logged
1ststop
Newbie
*
Posts: 30


« Reply #1 on: March 14, 2010, 05:29:02 AM »

What you've done so far seems to be correct, but you haven't mentioned if you have modified the users.def file to include the new fields.

Use notepad to open the .def file and add the new field parameters to it.
e.g.

Login,STRING,30
Password,STRING,15
Email,STRING,15
Redirect URL,STRING,20
Prescriber,STRING,20
npi,STRING,20
dea,STRING,20

The above will add the new fields and display them in manager.php
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC