Author |
Topic |
designgoddess
Starting Member
USA
11 Posts |
Posted - 15 July 2007 : 10:10:52
|
okay so all that is working i can now get tothe register piece.
How do i choose what fields should be required?< |
|
|
JJenson
Advanced Member
USA
2121 Posts |
Posted - 15 July 2007 : 11:38:02
|
In the admin section goto admin config members. It is in there.< |
|
|
designgoddess
Starting Member
USA
11 Posts |
Posted - 20 July 2007 : 10:09:33
|
in the admin segment there is only the member details configuration. and it doesn't show which ones need to be required.
< |
|
|
CodeMan7
New Member
USA
88 Posts |
Posted - 20 July 2007 : 13:13:54
|
There are no set required fields. You, as the admin, are the one who 'requires' what info is necessary.
If you're asking what info most admins require, I can give you some suggestions. It is a good idea to require the first and last name to make sure you have a real person. (The username, password and email address are already required.) Also, you need to require either the date of birth or age to make sure they meet the minimum age requirement of your forum.
Right now there is a problem with the date of birth routine in this mod, so you probably just want to require them to put in their age. (Note: You cannot require the date of birth and age at the same time. You also can't have them both shown at the same time.)
Make sure that any field you check as required is also checked to be shown. Otherwise, there will be no way anybody can complete your registration. Just make sure the field is checked as "On" if it is required.
You might want additional fields required. That is up to you and your needs.
Hope that answered your question. < |
|
|
CodeMan7
New Member
USA
88 Posts |
Posted - 21 July 2007 : 15:04:21
|
Jeff, just wanted to let you know that I solved the problem which was giving an error on the date of birth. As I was going through the code, I noticed some other changes that need to be made.
What I'd like to do is work on a few more things and then I can get you the changes so that you can update your mod file.
In the meantime, if you need the change I made to get the date of birth to work, let me know and I'll post it.
< |
Edited by - CodeMan7 on 21 July 2007 15:05:36 |
|
|
JJenson
Advanced Member
USA
2121 Posts |
Posted - 21 July 2007 : 17:00:03
|
Yeah post that fix cause I am sure people will want that fix. I will look for the other things as well I try and update the readme and so forth and the files for the mod.
THanks Jeff< |
|
|
CodeMan7
New Member
USA
88 Posts |
Posted - 21 July 2007 : 18:06:46
|
Ok.
This will be for those who have the Require Member Profile mod already installed.
In Register.asp and Pop_profile.asp, look for this:
if strReqAgeDOB = "1" then
if trim(Request.Form("AgeDOB")) = "" then
Err_Msg = Err_Msg & "<li>You Must Provide Your Date Of Birth</li>"
end if
end if
Delete that (or comment it out).
Look for these lines:
if len(strMAge) > 0 then
if not isNumeric(strMAge) then
Err_Msg = Err_Msg & "<li>You must enter a numerical value for your age.</li>"
elseif strMinAge > 0 and strMAge < strMinAge then
Err_Msg = Err_Msg & "<li>You must be at least " & strMinAge & " years old to join this forum.</li>"
end if
end if
Right after these lines add:
' #### Require Member Profile mod #####
if strReqAgeDOB = "1" then
If len(strMDOB) <> 8 Then
Err_Msg = Err_Msg & "<li>You Must Provide Your Date Of Birth</li>"
end if
end if
' ##### End Require Member Profile mod ####
< |
|
|
CodeMan7
New Member
USA
88 Posts |
Posted - 21 July 2007 : 18:18:58
|
There are a lot of changes to make to admin_config_members.asp, but the following lines should be commented out or deleted:
if Request.Form("strAge") = "1" and Request.Form("strAgeDOB") = "1" then
Err_Msg = Err_Msg & "<li>Age and Birth Date cannot both be On at the same time</li>"
end if
The reason that should be taken out is because you want both the age and DOB fields to show in the profile form. After the DOB is calculated, the age will show up in the "Age:" field.
< |
|
|
designgoddess
Starting Member
USA
11 Posts |
Posted - 23 July 2007 : 09:58:30
|
I'm still not set on this requirements, JJenson said he would send me the required file that my upload was missing, in the meantime, you all seem to be pretty knowledgable in this set up and I have an additional question not related to this MOD.
I am wondering if there is a way to use the database associated with the forum prior to actually getting to the forum.
I have a "segment" of a web site that needs to be access only, and I'm wanting to eliminate duplicate registration. I'm wondering if there is a way to set it up that when they first get to this segment they are prompted to login or register using the same database and set up as there is for the forum?
Thanks to all of you who have helped me in my novice understanding of how all this works.< |
|
|
JJenson
Advanced Member
USA
2121 Posts |
Posted - 23 July 2007 : 09:59:54
|
Look over at snitzbitz for the universal login mod. That should do what you would like it to do.< |
|
|
designgoddess
Starting Member
USA
11 Posts |
Posted - 27 July 2007 : 02:19:53
|
JJenson...still waiting on the admin config file....:)< |
|
|
JJenson
Advanced Member
USA
2121 Posts |
Posted - 27 July 2007 : 08:19:41
|
Sorry design send me an email again I lost your email somewhere along the way and I can't find it anymore. I will send that to you today for sure.< |
|
|
Beaux
Starting Member
3 Posts |
Posted - 28 July 2007 : 08:10:42
|
I am very interested in this MOD but I can't find a download which contains all the files. Also, in the readme file there appears to be some oddities with the display of some of the code in the 'changes' area.
Thanks< |
|
|
texanman
Junior Member
United States
410 Posts |
Posted - 09 January 2008 : 10:05:20
|
Jeff:
Anything new on the new on the README file?! I tried installing this some time back. The DB was set up fine. I had trouble with the files that need to be changed. If you have the README file fixed that will be greatly appreciated. Thanks< |
|
|
JJenson
Advanced Member
USA
2121 Posts |
Posted - 09 January 2008 : 12:32:01
|
I am really sorry I have been meaning to do this now for a few months I just got 2 gigantic side jobs on top of my work and have put much time into my forums for that long. I plan on try to do a rewrite and make it alot easier to install I will let you know when I get an update.
< |
|
|
Topic |
|