Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 Change needed in members search
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

James
Average Member

USA
539 Posts

Posted - 01 September 2002 :  19:38:57  Show Profile  Visit James's Homepage
Since the fullname (first and lastname) can be turned on/off in Member details, then the Members Search box should check if it's turn on/off and if it's off, then the check boxes for First Name and Last Name should not display.

*Interested in Radio Control*
*The RC Web Board - http://www.rcwebboard.com/*

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 01 September 2002 :  19:48:14  Show Profile
that's easy enough to fix.

on line # 274 of members.asp find the following section of code:

		"                <input type=""checkbox"" name=""UserName"" value=""1"""
if ((srchUName <> "")  or (srchUName = "" and srchFName = "" and srchLName = "") ) then Response.Write(" checked")
Response.Write	">User Names" & vbNewline & _
		"                  <input type=""checkbox"" name=""FirstName"" value=""1""" & chkRadio(srchFName,1,true) & ">First Name" & vbNewline & _
		"                  <input type=""checkbox"" name=""LastName"" value=""1""" & chkRadio(srchLName,1,true) & ">Last Name" & vbNewline & _
		"                </font></td>" & vbNewline & _


and change it to this:

		"                <input type=""checkbox"" name=""UserName"" value=""1"""
if ((srchUName <> "")  or (srchUName = "" and srchFName = "" and srchLName = "") ) then Response.Write(" checked")
Response.Write	">User Names" & vbNewline
if strFullName = "1" then
	Response.Write	"                  <input type=""checkbox"" name=""FirstName"" value=""1""" & chkRadio(srchFName,1,true) & ">First Name" & vbNewline & _
			"                  <input type=""checkbox"" name=""LastName"" value=""1""" & chkRadio(srchLName,1,true) & ">Last Name" & vbNewline
end if
Response.Write	"                </font></td>" & vbNewline & _
Go to Top of Page

James
Average Member

USA
539 Posts

Posted - 01 September 2002 :  20:10:48  Show Profile  Visit James's Homepage
Works like a charm except that now you only have one choice with a checkbox. Instead it should of done a check similar to

if strFullName <> "1"

If it is true then the cell should say something like:

Search: User Names

without the checkbox and if it's not true then handle it as it was originally.

*Interested in Radio Control*
*The RC Web Board - http://www.rcwebboard.com/*
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 01 September 2002 :  20:13:42  Show Profile
Yes, you can do that if you want to.
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 09 September 2002 :  06:12:47  Show Profile
implemented in v3.4.03 (the code change mentioned in the first reply to this topic)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07