Gossamer Forum
Home : Products : DBMan : Customization :

User Data Collection

Quote Reply
User Data Collection
I made all the changes I thougt should have been made and it does not work. To refresh what I would like to happen. When a new user clicks on the Signup button on my front page. I want them first to go to a page where they enter their name address and phone number. Then go to the next page where they choose a user name. I have the auto password setup and running. But now, when the new user clicks Signup <a href="http://sherwingaddis.hypermart.net/cgi-bin/dbman/db.cgi?member_form">Sign Up</a> They go directly to the Log on screen and does not display the Information screen I would like them to go to first. The code is located at: http://www.jse.net/testsite/members_html_pl.txt http://www.jse.net/testsite/members_db_cgi.txt http://www.jse.net/testsite/members_default_cfg.txt


------------------
Sherwin Sales@jse.net
Quote Reply
Re: User Data Collection In reply to
None are the files are found. Please re-upload to your server and post the correct URLs.

Thanks.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: User Data Collection In reply to
Eliot,
I wrote this all on my own. My first try at logic. Didn't really know what to do so. I just tried something to see if it worked. I searched the threads for a mod first. I will search again.

------------------
Sherwin Sales@jse.net
Quote Reply
Re: User Data Collection In reply to
Sherwin - make sure the files are in a web accessible directory (not cgi directory) - but a directory where your other html documents are so they can be read.
Quote Reply
Re: User Data Collection In reply to
It was a name problem. I left off the "s" in the word member. They all work now. I usually check my links but this time I did not check close enough. Thanks!

------------------
Sherwin Sales@jse.net
Quote Reply
Re: User Data Collection In reply to
Sherwin,

I have looked at your files. There are a bunch of red flags that went off in my mind. Your html.pl file seems to be fine. The problems are in your db.cgi and default.cfg files.

In your db.cgi file, I saw that your members form and add forms may be conflicting with the following set of codes:

Code:
# This line was added to collect users Name and address during the signup process. New users will be required to fill this out to gain access to the db.
# If we allow users to signup, and they want to, go to the signup form.
elsif ($auth_member and $in{'member_form'}) {
&html_member_form;
}
elsif ($auth_member and $in{'member'}) {
&member;
}

# If we allow users to signup, and they want to, go to the signup form.
elsif ($auth_signup and $in{'signup_form'}) {
&html_signup_form;
}
elsif ($auth_signup and $in{'signup'}) {
&signup;
}

# Following two lines added for secure_password_lookup mod
elsif ($in{'lookup_form'}) { &html_lookup_form; }
elsif ($in{'lookup'}) { &lookup; }

Syntax wise, the codes are fine. In terms of logic, it is confusing that you have the two add forms. My initial reaction is that additional permissions may have to be created as not to conflict with the $per_add permission.

In your default.cfg file, a couple codes raise concern:

1) @auth_default_permissions = (1,1,0,0,0);

While you are forcing people to log into your system and you do not have a default user, this seems odd to me. Do you want to have only one record per member?

2) $auth_user_field = 9;

You do not even have a field number 9. This may be causing problems as well.

3) Two %db_def routines

This definitely looks odd to me. Did JPDeni help you with this or did you come up with this on your own? I do know that utilizing two database files needs to have db_cols identified for each database in the default.cfg file.

JPDeni wrote a nice mod for another DBMAN user who wanted to have exactly like you have: a membership database and a resume/job database.

My recommendation is the following:

1) Look at the Thread over in the DBMAN Installation Forum that discusses Multiple Forms.

2) Wait for JPDeni's return so that she can assist you with writing some mods that will accomplish your goals.

Sorry I cannot be more helpful.

Regards,








------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: User Data Collection In reply to
I forgot to answer your other questions. I want each user to put in as many records as they would like. I do not want a default user for safty reason. The access to the system is under strict control.

------------------
Sherwin Sales@jse.net