Author |
Topic |
JJenson
Advanced Member
USA
2121 Posts |
Posted - 27 June 2007 : 19:26:46
|
Great what was it if you don't mind me asking? < |
|
|
CodeMan7
New Member
USA
88 Posts |
Posted - 28 June 2007 : 08:02:43
|
When I was installing your mod I just commented out the old blocks with single quotes. Which worked fine except when I got to the two includes of the countrylist file. After I took those out of the commented block, everything was fine.
BUT, I do have a new problem. While checking out your mod, I changed the options to require the date of birth. Now when I register as a new user, I get an error that I must enter the date of birth, even though I know that I did it. It's not giving me an invalid date of birth though.
I'm running through the code this morning to see where the error is.
< |
Edited by - CodeMan7 on 28 June 2007 08:05:12 |
|
|
JJenson
Advanced Member
USA
2121 Posts |
Posted - 28 June 2007 : 09:18:12
|
I will go test on my site and see if I get this same error< |
|
|
JJenson
Advanced Member
USA
2121 Posts |
Posted - 28 June 2007 : 09:23:30
|
Yeah I get the same error. I have a 13 hour day at work today but I should have time tomorrow afternoon or this weekend for sure if you don't find it first < |
|
|
CodeMan7
New Member
USA
88 Posts |
Posted - 28 June 2007 : 09:32:42
|
Ok. I discovered something else.
If you enter that DOB is required and show DOB as off, there is no way to enter the DOB.
All the code should be changed to automatically check the "show" box on any field that is required. If someone clicks "off" on the "show" part of any field, then the "required" box should automatically click to "off". (This is not a big deal. It just takes time to go through the code and make the changes. I think I'll do that while I'm thinking about the DOB problem.)
< |
|
|
JJenson
Advanced Member
USA
2121 Posts |
Posted - 28 June 2007 : 10:11:43
|
Sounds good so you know codeman I was trying to figure out how to change the radio buttons in the admin section to check boxes and just ad another TD with that in it. I thought that would shorten the page down again and make it a little easier to use for the end user?
Let me know what you think. Also then you can keep that in mind as you are making changes? < |
|
|
CodeMan7
New Member
USA
88 Posts |
Posted - 28 June 2007 : 14:19:21
|
How about this:
Response.Write " <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Age:</b> </font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
" On: <input type=""radio"" class=""radio"" name=""strAge"" value=""1""" & chkRadio(strAge,0,false) & "> " & vbNewLine & _
" Off: <input type=""radio"" class=""radio"" name=""strAge"" value=""0""" & chkRadio(strAge,0,true) & ">" & vbNewLine & _
" <select name=""strReqAge"">" & vbNewLine & _
" <option value=""0""" & chkSelect(strReqAge,"0") & ">Not Required</option>" & vbNewLine & _
" <option value=""1""" & chkSelect(strReqAge,"1") & ">Required</option>" & vbNewLine & _
" </select>" & vbNewLine & _
" <a href=""JavaScript:openWindow3('pop_config_help.asp?mode=members#Age')"">" & getCurrentIcon(strIconSmileQuestion,"","") & "</a></td>" & vbNewLine & _
" </tr>" & vbNewLine
If strReqAge = "1" Then
strAge = "1"
End If
< |
|
|
JJenson
Advanced Member
USA
2121 Posts |
Posted - 28 June 2007 : 14:52:14
|
I think that looks good have you tried it out? Also Just remember I am going to attempt to take out the radio buttons and replace them with check boxes. I will start that this weekend and hopfully get it all done this next week.< |
|
|
CodeMan7
New Member
USA
88 Posts |
Posted - 28 June 2007 : 17:21:54
|
Actually, I had to make a couple of changes so that the selected items would stay selected.
What I need now is something which will switch a radio button to ON when REQUIRED is selected for that item.
As for style, I think the menu looks pretty good.
Response.Write " <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Age:</b> </font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
" On: <input type=""radio"" class=""radio"" name=""strAge"" value=""1""" & chkRadio(strAge,0,false) & "> " & vbNewLine & _
" Off: <input type=""radio"" class=""radio"" name=""strAge"" value=""0""" & chkRadio(strAge,0,true) & ">" & vbNewLine & _
" <select name=""strReqAge"">" & vbNewLine & _
" <option value=""0"""
If strReqAge = "0" Then Response.Write " selected"
Response.Write ">Not Required</option>" & vbNewLine & _
" <option value=""1"""
If strReqAge = "1" Then Response.Write " selected"
Response.Write ">Required</option>" & vbNewLine & _
" </select>" & vbNewLine & _
" <a href=""JavaScript:openWindow3('pop_config_help.asp?mode=members#Age')"">" & getCurrentIcon(strIconSmileQuestion,"","") & "</a></td>" & vbNewLine & _
" </tr>" & vbNewLine
< |
|
|
CodeMan7
New Member
USA
88 Posts |
Posted - 07 July 2007 : 22:36:44
|
Jeff, I just wanted to touch base with you on your mod. I've tried a couple of different changes to it in the admin options.
One way was to have the show [field] with On and Off radio buttons and the Required and Not Required in a drop down box. What I was trying for there was to have the Required in red so that the admin could quickly look at the options and see which ones were required.
Then I switched it up and had On and Off radio buttons for the Show [field] and Yes or No radio buttons for Required.
I haven't had a chance to get back to it, but what I was after was trying to have the Show field checked as On if Required is set to Yes. If Required is set to No, then it doesn't matter whether Show is On or Off. But a person will never be able to register if the field is Required and Show is set to Off.
As for that error on the Birth Date that we both got, I believe that is probably just a statement nested wrong. I haven't had a chance to check it out yet. I wanted to get the admin section finished first.
< |
|
|
designgoddess
Starting Member
USA
11 Posts |
Posted - 13 July 2007 : 12:17:01
|
Okay so I'm new to this forum. And I'm new to setting up a forum. Although, I was pretty stoked when I got it first up. Then realized that it wasn't requiring certain fields. So I found this forum. And did all the requested steps, I then was getting an expected end error and did as requested to adjust and still didn't work so I removed the files and began working on them again, thinking I had to of missed something. And now i can't even get the forum to load at all! GRRR!!1
I do have to say JJensen that you did a fantastic job and I just wish I could figure out what piece of the puzzle I am missing. Maybe if I step away and come back in a little bit it will either come to me, or you'll have responded :)
Thanks!!!< |
|
|
CodeMan7
New Member
USA
88 Posts |
Posted - 14 July 2007 : 13:27:16
|
Jeff is having a problwm with his computer now but perhaps we could help you.
What problems are you having with the Require Member Profile mod?< |
|
|
JJenson
Advanced Member
USA
2121 Posts |
Posted - 14 July 2007 : 13:40:15
|
Like codeman said what is the problem you are having any errors? I will do what I can all my files are on a computer that looks like it slowly going out and is out of commision at the moment so I can try and fix it.
Also will you post a link to your site?
Thanks Jeff< |
|
|
designgoddess
Starting Member
USA
11 Posts |
Posted - 15 July 2007 : 09:37:00
|
http://www.iaff2446.com/members/forum/register.asp is the link to the error message.
It basically states: Microsoft VBScript compilation error '800a0401'
Expected end of statement
/members/forum/inc_profile.asp, line 114
Response.Write " <td bgColor=""" & strPopUpTableColor """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace """ size="" strDefaultFontSize """><font color=""" & strHiLiteFontColor """>*</font> AIM: </font></b></td>" & vbNewLine ---------------------------------------------------------------------------^
The link to the site that the forum is being used in is www.iaff2446.com and my web site is www.designgoddessllc.com. I am creating the first aforementioned site for a client.< |
|
|
modifichicci
Average Member
Italy
787 Posts |
Posted - 15 July 2007 : 10:05:22
|
You are missing some & and " ...
Response.Write " <td bgColor=""" & strPopUpTableColor & """ align=""right"" valign=""middle"" nowrap><b><font face=""" & strDefaultFontFace & """
size=""" & strDefaultFontSize & """><font color=""" & strHiLiteFontColor & """>*</font> AIM: </font></b></td>" & vbNewLine < |
Ernia e Laparocele Forum di Ernia e Laparocele Acces - MySql Migration Tutorial Adamantine forum |
Edited by - modifichicci on 15 July 2007 10:07:16 |
|
|
Topic |
|