Author |
Topic  |
|
Josh
Junior Member
 
United Kingdom
151 Posts |
Posted - 16 November 2001 : 13:30:59
|
This is a fairly obvious one which I assume is more something that has been overlooked, if a user name does not start with a letter then it is you can not call it up like you can the a, b, c etc. Why not add one called # for all names beginning with sybols. Is something that could very easily be added and included in v4
Josh
´There's a crack in everything, that's what makes the world go round' |
|
GauravBhabu
Advanced Member
    
4288 Posts |
Posted - 16 November 2001 : 15:23:43
|
You mean for Search Option?
Find the following statements in members.asp
<td colspan="3" align="center" valign="top"> <font color="<% =strDefaultFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> <a href="members.asp?mode=search&M_NAME=&initial=1&method=<%=SortMethod %> ">All</a> <a href="members.asp?mode=search&M_NAME=A&initial=1&method=<%=SortMethod %> ">A</a> <a href="members.asp?mode=search&M_NAME=B&initial=1&method=<%=SortMethod %> ">B</a> <a href="members.asp?mode=search&M_NAME=C&initial=1&method=<%=SortMethod %> ">C</a> <a href="members.asp?mode=search&M_NAME=D&initial=1&method=<%=SortMethod %> ">D</a> <a href="members.asp?mode=search&M_NAME=E&initial=1&method=<%=SortMethod %> ">E</a> <a href="members.asp?mode=search&M_NAME=F&initial=1&method=<%=SortMethod %> ">F</a> <a href="members.asp?mode=search&M_NAME=G&initial=1&method=<%=SortMethod %> ">G</a> <a href="members.asp?mode=search&M_NAME=H&initial=1&method=<%=SortMethod %> ">H</a> <a href="members.asp?mode=search&M_NAME=I&initial=1&method=<%=SortMethod %> ">I</a> <a href="members.asp?mode=search&M_NAME=J&initial=1&method=<%=SortMethod %> ">J</a> <a href="members.asp?mode=search&M_NAME=K&initial=1&method=<%=SortMethod %> ">K</a> <a href="members.asp?mode=search&M_NAME=L&initial=1&method=<%=SortMethod %> ">L</a> <a href="members.asp?mode=search&M_NAME=M&initial=1&method=<%=SortMethod %> ">M</a> <a href="members.asp?mode=search&M_NAME=N&initial=1&method=<%=SortMethod %> ">N</a> <a href="members.asp?mode=search&M_NAME=O&initial=1&method=<%=SortMethod %> ">O</a> <a href="members.asp?mode=search&M_NAME=P&initial=1&method=<%=SortMethod %> ">P</a> <a href="members.asp?mode=search&M_NAME=Q&initial=1&method=<%=SortMethod %> ">Q</a> <a href="members.asp?mode=search&M_NAME=R&initial=1&method=<%=SortMethod %> ">R</a> <a href="members.asp?mode=search&M_NAME=S&initial=1&method=<%=SortMethod %> ">S</a> <a href="members.asp?mode=search&M_NAME=T&initial=1&method=<%=SortMethod %> ">T</a> <a href="members.asp?mode=search&M_NAME=U&initial=1&method=<%=SortMethod %> ">U</a> <a href="members.asp?mode=search&M_NAME=V&initial=1&method=<%=SortMethod %> ">V</a> <a href="members.asp?mode=search&M_NAME=W&initial=1&method=<%=SortMethod %> ">W</a> <a href="members.asp?mode=search&M_NAME=X&initial=1&method=<%=SortMethod %> ">X</a> <a href="members.asp?mode=search&M_NAME=Y&initial=1&method=<%=SortMethod %> ">Y</a> <a href="members.asp?mode=search&M_NAME=Z&initial=1&method=<%=SortMethod %> ">Z</a><br> </font></td>
Replace with this:
<td colspan="3" align="center" valign="top"> <font color="<% =strDefaultFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> <a href="members.asp?mode=search&M_NAME=&initial=1&method=<%=SortMethod %>">All</a> Dim iNumber <%for iNumber = 0 to 9%> <a href="members.asp?mode=search&M_NAME=<%=iNumber%>&initial=1&method=<%=SortMethod %>"><%=iNumber%></a> <%next Dim iAdd : iADD = 1 Dim iLetter for iLetter = 64 to 89%> <a href="members.asp?mode=search&M_NAME=<%=chr(iLetter+iADD)%>&initial=1&method=<%=SortMethod %>"><%=chr(iLetter+iADD)%></a> <%next %> </td>
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
 |
|
Josh
Junior Member
 
United Kingdom
151 Posts |
Posted - 17 November 2001 : 07:08:45
|
So this will display
All A B C D E ..... X Y Z # . ? It is the adding of the # that I am thinking about, is that what the code above will add? Thanks
Josh
´There's a crack in everything, that's what makes the world go round' |
 |
|
GauravBhabu
Advanced Member
    
4288 Posts |
Posted - 17 November 2001 : 08:42:07
|
All 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
 |
|
Josh
Junior Member
 
United Kingdom
151 Posts |
Posted - 18 November 2001 : 13:04:38
|
Maybe but what about people with things like - = + & etc at the beginning of the names? Thats why I though # to encompass them all.
Josh
´There's a crack in everything, that's what makes the world go round' |
 |
|
GauravBhabu
Advanced Member
    
4288 Posts |
Posted - 18 November 2001 : 13:11:19
|
<a href="members.asp?mode=search&M_NAME=&initial=1&method=<%=SortMethod %>">All</a> <a href="members.asp?mode=search&M_NAME=<%chr(35)%>&initial=1&method=<%=SortMethod %>"><%=chr(35)%></a>
inser the statement in red as shown
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
 |
|
Josh
Junior Member
 
United Kingdom
151 Posts |
Posted - 19 November 2001 : 09:16:57
|
Great, just think it should be added to the main forum code, who I contact to suggest this?
Josh
´There's a crack in everything, that's what makes the world go round' |
 |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 20 November 2001 : 14:34:34
|
quote:
<a href="members.asp?mode=search&M_NAME=&initial=1&method=<%=SortMethod %>">All</a> <a href="members.asp?mode=search&M_NAME=<%chr(35)%>&initial=1&method=<%=SortMethod %>"><%=chr(35)%></a>
inser the statement in red as shown
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Adding that line in red adds the # sign to the search options and gives the same result as when I click on "All". Is that what's supposed to happen?
Roland
- here to help when possible -
 http://www.frutzle.com |
 |
|
GauravBhabu
Advanced Member
    
4288 Posts |
Posted - 20 November 2001 : 14:49:32
|
Nope!. It should be searching for names beginning with #
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
 |
|
GauravBhabu
Advanced Member
    
4288 Posts |
Posted - 20 November 2001 : 14:55:57
|
You are correct. However the statement was not correct
<a href="members.asp?mode=search&M_NAME=<%=chr(35)%>&initial=1&method=<%=SortMethod %>"><%=chr(35)%></a>
This did not work either.
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
 |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 20 November 2001 : 14:58:32
|
quote:
Nope!. It should be searching for names beginning with #
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
I'm not going to fight over this. I'm not 100% stupid. Try it on http://www.frutzle.com/forum/members.asp and see that it shows all members the same as when you click on All. I used this code:
<td colspan="3" align="center" valign="top"><font color="<% =strDefaultFontColor %>" face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> <a href="members.asp?mode=search&M_NAME=&initial=1&method=<%=SortMethod %>">All</a> <a href="members.asp?mode=search&M_NAME=<%chr(35)%>&initial=1&method=<%=SortMethod %>"><%=chr(35)%></a> <% Dim iNumber for iNumber = 0 to 9%> <a href="members.asp?mode=search&M_NAME=<%=iNumber%>&initial=1&method=<%=SortMethod %>"><%=iNumber%></a> <%next Dim iAdd : iADD = 1 Dim iLetter for iLetter = 64 to 89%> <a href="members.asp?mode=search&M_NAME=<%=chr(iLetter+iADD)%>&initial=1&method=<%=SortMethod %>"><%=chr(iLetter+iADD)%></a> <%next %> </font> </td>
Roland
- here to help when possible -
 http://www.frutzle.com |
 |
|
GauravBhabu
Advanced Member
    
4288 Posts |
Posted - 20 November 2001 : 15:09:30
|
quote: I'm not going to fight over this. I'm not 100% stupid
You missed my post just before yours!
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
 |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 20 November 2001 : 15:35:05
|
quote:
quote: I'm not going to fight over this. I'm not 100% stupid
You missed my post just before yours!
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Yeah I guess I did. Well mistakes are there to be made, right? The important thing is that it works.
It doesn't work. Try http://www.frutzle.com/forum/members.asp and click on the # there. I updated the code but it still shows the entire member list.
Edited by - FrutZle on 20 November 2001 15:40:06 |
 |
|
GauravBhabu
Advanced Member
    
4288 Posts |
Posted - 20 November 2001 : 15:39:53
|
what do you mean by it works? Search by # is not working? or it is my turn to be lost somwhere?
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
 |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 20 November 2001 : 15:41:40
|
lol... I was cheering too soon. I was editing my previous post while you were writing yours.  |
 |
|
GauravBhabu
Advanced Member
    
4288 Posts |
Posted - 20 November 2001 : 15:48:53
|
I have a clue why it is not working, But then not found a solution yet.
GauravBhabu There is only one miracle...That is LIFE! | It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying. |
 |
|
|
Topic  |
|