MOD - ADDITIONAL RANKS
Adds five new ranks and stars.
Original mod posted: 14 Aug 2003
Applies to Snitz Forums Version 3.4.03
Requires changes to three files: CONFIG.ASP, INC_FUNC_MEMBER.ASP, and ADMIN_CONFIG_RANKS.ASP
The two functions getMember_Level and getStar_Level were re-written to use if / elseif / elseif / else syntax rather than multiple if-then statements. This should slightly improve execution speed.
Level of difficulty (1-10, 10 = most difficult): 2.
Make backup copies of your original files. Make the changes indicated. After setting your new member levels, be sure to click on the Admin option "Check Installation" to read the new configuration variables into your Application data.
MORE RANKS MOD INSTRUCTIONS
CONFIG.ASP
Around line 370, find
intRankLevel5 = Application(strCookieURL & "INTRANKLEVEL5")
and add the following lines immediately after:
'## MORE RANKS MOD
intRankLevel6 = Application(strCookieURL & "INTRANKLEVEL6")
intRankLevel7 = Application(strCookieURL & "INTRANKLEVEL7")
intRankLevel8 = Application(strCookieURL & "INTRANKLEVEL8")
intRankLevel9 = Application(strCookieURL & "INTRANKLEVEL9")
intRankLevelA = Application(strCookieURL & "INTRANKLEVELA")
Around line 364 find
strRankColor5 = Application(strCookieURL & "STRRANKCOLOR5")
and add the following lines immediately after:
'## MORE RANKS MOD
strRankColor6 = Application(strCookieURL & "STRRANKCOLOR6")
strRankColor7 = Application(strCookieURL & "STRRANKCOLOR7")
strRankColor8 = Application(strCookieURL & "STRRANKCOLOR8")
strRankColor9 = Application(strCookieURL & "STRRANKCOLOR9")
strRankColorA = Application(strCookieURL & "STRRANKCOLORA")
Around line 351 find
strRankLevel5 = Application(strCookieURL & "STRRANKLEVEL5")
and add the following lines immediately after:
'## MORE RANKS MOD
strRankLevel6 = Application(strCookieURL & "STRRANKLEVEL6")
strRankLevel7 = Application(strCookieURL & "STRRANKLEVEL7")
strRankLevel8 = Application(strCookieURL & "STRRANKLEVEL8")
strRankLevel9 = Application(strCookieURL & "STRRANKLEVEL9")
strRankLevelA = Application(strCookieURL & "STRRANKLEVELA")
Around line 123 find
Dim strRankLevel0, strRankLevel1, strRankLevel2, strRankLevel3, strRankLevel4, strRankLevel5
Dim strRankColor0, strRankColor1, strRankColor2, strRankColor3, strRankColor4, strRankColor5
Dim intRankLevel0, intRankLevel1, intRankLevel2, intRankLevel3, intRankLevel4, intRankLevel5
and add the following lines immediately after:
'## MORE RANKS MOD
Dim strRankLevel6, strRankLevel7, strRankLevel8, strRankLevel9, strRankLevelA
Dim strRankColor6, strRankColor7, strRankColor8, strRankColor9, strRankColorA
Dim intRankLevel6, intRankLevel7, intRankLevel8, intRankLevel9, intRankLevelA
INC_FUNC_MEMBER.ASP
Replace the Function getMember_Level with the following:
function getMember_Level(fM_TITLE, fM_LEVEL, fM_POSTS)
'## MORE RANKS MOD - 14 Aug 2003
dim Member_Level
Member_Level = ""
if Trim(fM_TITLE) <> "" then
Member_Level = fM_TITLE
else
select case fM_LEVEL
case "1"
if (fM_POSTS >= cLng(intRankLevelA)) then
Member_Level = Member_Level & strRankLevelA
elseif (fM_POSTS >= cLng(intRankLevel9)) then
Member_Level = Member_Level & strRankLevel9
elseif (fM_POSTS >= cLng(intRankLevel8)) then
Member_Level = Member_Level & strRankLevel8
elseif (fM_POSTS >= cLng(intRankLevel7)) then
Member_Level = Member_Level & strRankLevel7
elseif (fM_POSTS >= cLng(intRankLevel6)) then
Member_Level = Member_Level & strRankLevel6
elseif (fM_POSTS >= cLng(intRankLevel5)) then
Member_Level = Member_Level & strRankLevel5
elseif (fM_POSTS >= cLng(intRankLevel4)) then
Member_Level = Member_Level & strRankLevel4
elseif (fM_POSTS >= cLng(intRankLevel3)) then
Member_Level = Member_Level & strRankLevel3
elseif (fM_POSTS >= cLng(intRankLevel2)) then
Member_Level = Member_Level & strRankLevel2
elseif (fM_POSTS >= cLng(intRankLevel1)) then
Member_Level = Member_Level & strRankLevel1
else
Member_Level = Member_Level & strRankLevel0
end if
case "2"
Member_Level = Member_Level & strRankMod
case "3"
Member_Level = Member_Level & strRankAdmin
case else
Member_Level = Member_Level & "Error"
end select
end if
getMember_Level = Member_Level
end function
Replace the function getStar_Level with the following:
function getStar_Level(fM_LEVEL, fM_POSTS)
'## MORE RANKS MOD - 14 Aug 2003
dim Star_Level
select case fM_LEVEL
case "1"
if (fM_POSTS >= cLng(intRankLevelA)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorA),"","") & getCurrentIcon(getStarColor(strRankColorA),"","") & getCurrentIcon(getStarColor(strRankColorA),"","") & getCurrentIcon(getStarColor(strRankColorA),"","") & getCurrentIcon(getStarColor(strRankColorA),"","")& "<br>" & getCurrentIcon(getStarColor(strRankColorA),"","") & getCurrentIcon(getStarColor(strRankColorA),"","") & getCurrentIcon(getStarColor(strRankColorA),"","") & getCurrentIcon(getStarColor(strRankColorA),"","") & getCurrentIcon(getStarColor(strRankColorA),"","")
elseif (fM_POSTS >= cLng(intRankLevel9)) then
Star_Level = getCurrentIcon(getStarColor(strRankColor9),"","") & getCurrentIcon(getStarColor(strRankColor9),"","") & getCurrentIcon(getStarColor(strRankColor9),"","") & getCurrentIcon(getStarColor(strRankColor9),"","") & "<br>" & getCurrentIcon(getStarColor(strRankColor9),"","") & getCurrentIcon(getStarColor(strRankColor9),"","") & getCurrentIcon(getStarColor(strRankColor9),"","") & getCurrentIcon(getStarColor(strRankColor9),"","") & getCurrentIcon(getStarColor(strRankColor9),"","")
elseif (fM_POSTS >= cLng(intRankLevel8)) then
Star_Level = getCurrentIcon(getStarColor(strRankColor8),"","") & getCurrentIcon(getStarColor(strRankColor8),"","") & getCurrentIcon(getStarColor(strRankColor8),"","") & "<br>" & getCurrentIcon(getStarColor(strRankColor8),"","") & getCurrentIcon(getStarColor(strRankColor8),"","") & getCurrentIcon(getStarColor(strRankColor8),"","") & getCurrentIcon(getStarColor(strRankColor8),"","") & getCurrentIcon(getStarColor(strRankColor8),"","")
elseif (fM_POSTS >= cLng(intRankLevel7)) then
Star_Level = getCurrentIcon(getStarColor(strRankColor7),"","") & getCurrentIcon(getStarColor(strRankColor7),"","") & "<br>" & getCurrentIcon(getStarColor(strRankColor7),"","") & getCurrentIcon(getStarColor(strRankColor7),"","") & getCurrentIcon(getStarColor(strRankColor7),"","") & getCurrentIcon(getStarColor(strRankColor7),"","") & getCurrentIcon(getStarColor(strRankColor7),"","")
elseif (fM_POSTS >= cLng(intRankLevel6)) then
Star_Level = getCurrentIcon(getStarColor(strRankColor6),"","") & "<br>" & getCurrentIcon(getStarColor(strRankColor6),"","") & getCurrentIcon(getStarColor(strRankColor6),"","") & getCurrentIcon(getStarColor(strRankColor6),"","") & getCurrentIcon(getStarColor(strRankColor6),"","") & getCurrentIcon(getStarColor(strRankColor6),"","")
elseif (fM_POSTS >= cLng(intRankLevel5)) then
Star_Level = getCurrentIcon(getStarColor(strRankColor5),"","") & getCurrentIcon(getStarColor(strRankColor5),"","") & getCurrentIcon(getStarColor(strRankColor5),"","") & getCurrentIcon(getStarColor(strRankColor5),"","") & getCurrentIcon(getStarColor(strRankColor5),"","")
elseif (fM_POSTS >= cLng(intRankLevel4)) then
Star_Level = getCurrentIcon(getStarColor(strRankColor4),"","") & getCurrentIcon(getStarColor(strRankColor4),"","") & getCurrentIcon(getStarColor(strRankColor4),"","") & getCurrentIcon(getStarColor(strRankColor4),"","")
elseif (fM_POSTS >= cLng(intRankLevel3)) then
Star_Level = getCurrentIcon(getStarColor(strRankColor3),"","") & getCurrentIcon(getStarColor(strRankColor3),"","") & getCurrentIcon(getStarColor(strRankColor3),"","")
elseif (fM_POSTS >= cLng(intRankLevel2)) then
Star_Level = getCurrentIcon(getStarColor(strRankColor2),"","") & getCurrentIcon(getStarColor(strRankColor2),"","")
elseif (fM_POSTS >= cLng(intRankLevel1)) then
Star_Level = getCurrentIcon(getStarColor(strRankColor1),"","")
else
Star_Level = ""
end if
case "2"
if (fM_POSTS >= cLng(intRankLevelA)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & "<br>" & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","")
elseif (fM_POSTS >= cLng(intRankLevel9)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & "<br>" & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","")
elseif (fM_POSTS >= cLng(intRankLevel8)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & "<br>" & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","")
elseif (fM_POSTS >= cLng(intRankLevel7)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & "<br>" & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","")
elseif (fM_POSTS >= cLng(intRankLevel6)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorMod),"","") & "<br>" & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","")
elseif (fM_POSTS >= cLng(intRankLevel5)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","")
elseif (fM_POSTS >= cLng(intRankLevel4)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","")
elseif (fM_POSTS >= cLng(intRankLevel3)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","")
elseif (fM_POSTS >= cLng(intRankLevel2)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorMod),"","") & getCurrentIcon(getStarColor(strRankColorMod),"","")
elseif (fM_POSTS >= cLng(intRankLevel1)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorMod),"","")
else
Star_Level = ""
end if
case "3"
if (fM_POSTS >= cLng(intRankLevelA)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & "<br>" & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","")
elseif (fM_POSTS >= cLng(intRankLevel9)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & "<br>" & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","")
elseif (fM_POSTS >= cLng(intRankLevel8)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & "<br>" & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","")
elseif (fM_POSTS >= cLng(intRankLevel7)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & "<br>" & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","")
elseif (fM_POSTS >= cLng(intRankLevel6)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorAdmin),"","") & "<br>" & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","")
elseif (fM_POSTS >= cLng(intRankLevel5)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","")
elseif (fM_POSTS >= cLng(intRankLevel4)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","")
elseif (fM_POSTS >= cLng(intRankLevel3)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","")
elseif (fM_POSTS >= cLng(intRankLevel2)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorAdmin),"","") & getCurrentIcon(getStarColor(strRankColorAdmin),"","")
elseif (fM_POSTS >= cLng(intRankLevel1)) then
Star_Level = getCurrentIcon(getStarColor(strRankColorAdmin),"","")
else
Star_Level = ""
end if
case else
Star_Level = "Error"
end select
getStar_Level = Star_Level
end function
ADMIN_CONFIG_RANKS.ASP
Around line 251, find
Response.Write " <a href=""JavaScript:openWindow3('pop_config_help.asp?mode=ranks#RankColor')"">" & getCurrentIcon(strIconSmileQuestion,"RankColor","") & "</a> </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Member Level 5 Name:</b> </font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><input type=""text"" name=""strRankLevel5"" size=""30"" value=""" & chkExistElse(chkString(strRankLevel5,"edit"),"Advanced Member") & """>" & vbNewLine & _
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Number:</b> </font><input type=""text"" name=""intRankLevel5"" size=""5"" value=""" & chkExistElse(intRankLevel5,2000) & """>" & vbNewLine & _
" " & getCurrentIcon(strIconSmileQuestion,"(Member who has more than Member Level 5 posts)","") & "</td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Star Color:</b></font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """>" & vbNewLine
for c = 0 to ubound(strStarColor)
Response.Write " <input type=""radio"" class=""radio"" name=""strRankColor5"" value=""" & strStarColor(c) & """" & chkRadio(strRankColor5,strStarColor(c),true) & ">" & getCurrentIcon(arrIconStarColors(c),"","") & vbNewLine
next
Response.Write " <a href=""JavaScript:openWindow3('pop_config_help.asp?mode=ranks#RankColor')"">" & getCurrentIcon(strIconSmileQuestion,"RankColor","") & "</a> </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ colspan=""2"" align=""center""><input type=""submit"" value=""Submit New Config"" id=""submit1"" name=""submit1""> <input type=""reset"" value=""Reset Old Values"" id=""reset1"" name=""reset1""></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" </table>" & vbNewLine & _
" </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" </table>" & vbNewLine & _
" </form>" & vbNewLine
end if
After the next, add the following lines
'## MORE RANKS MOD
Response.Write " <a href=""JavaScript:openWindow3('pop_config_help.asp?mode=ranks#RankColor')"">" & getCurrentIcon(strIconSmileQuestion,"RankColor","") & "</a> </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Member Level 6 Name:</b> </font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><input type=""text"" name=""strRankLevel6"" size=""30"" value=""" & chkExistElse(chkString(strRankLevel6,"edit"),"Mentor") & """>" & vbNewLine & _
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Number:</b> </font><input type=""text"" name=""intRankLevel6"" size=""5"" value=""" & chkExistElse(intRankLevel6,5000) & """>" & vbNewLine & _
" " & getCurrentIcon(strIconSmileQuestion,"(Member who has more than Member Level 6 posts)","") & "</td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Star Color:</b></font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """>" & vbNewLine
for c = 0 to ubound(strStarColor)
Response.Write " <input type=""radio"" class=""radio"" name=""strRankColor6"" value=""" & strStarColor(c) & """" & chkRadio(strRankColor6,strStarColor(c),true) & ">" & getCurrentIcon(arrIconStarColors(c),"","") & vbNewLine
next
Response.Write " <a href=""JavaScript:openWindow3('pop_config_help.asp?mode=ranks#RankColor')"">" & getCurrentIcon(strIconSmileQuestion,"RankColor","") & "</a> </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Member Level 7 Name:</b> </font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><input type=""text"" name=""strRankLevel7"" size=""30"" value=""" & chkExistElse(chkString(strRankLevel7,"edit"),"Virtuoso") & """>" & vbNewLine & _
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Number:</b> </font><input type=""text"" name=""intRankLevel7"" size=""5"" value=""" & chkExistElse(intRankLevel7,10000) & """>" & vbNewLine & _
" " & getCurrentIcon(strIconSmileQuestion,"(Member who has more than Member Level 7 posts)","") & "</td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Star Color:</b></font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """>" & vbNewLine
for c = 0 to ubound(strStarColor)
Response.Write " <input type=""radio"" class=""radio"" name=""strRankColor7"" value=""" & strStarColor(c) & """" & chkRadio(strRankColor7,strStarColor(c),true) & ">" & getCurrentIcon(arrIconStarColors(c),"","") & vbNewLine
next
Response.Write " <a href=""JavaScript:openWindow3('pop_config_help.asp?mode=ranks#RankColor')"">" & getCurrentIcon(strIconSmileQuestion,"RankColor","") & "</a> </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Member Level 8 Name:</b> </font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><input type=""text"" name=""strRankLevel8"" size=""30"" value=""" & chkExistElse(chkString(strRankLevel8,"edit"),"Maestro") & """>" & vbNewLine & _
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Number:</b> </font><input type=""text"" name=""intRankLevel8"" size=""5"" value=""" & chkExistElse(intRankLevel8,15000) & """>" & vbNewLine & _
" " & getCurrentIcon(strIconSmileQuestion,"(Member who has more than Member Level 8 posts)","") & "</td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Star Color:</b></font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """>" & vbNewLine
for c = 0 to ubound(strStarColor)
Response.Write " <input type=""radio"" class=""radio"" name=""strRankColor8"" value=""" & strStarColor(c) & """" & chkRadio(strRankColor8,strStarColor(c),true) & ">" & getCurrentIcon(arrIconStarColors(c),"","") & vbNewLine
next
Response.Write " <a href=""JavaScript:openWindow3('pop_config_help.asp?mode=ranks#RankColor')"">" & getCurrentIcon(strIconSmileQuestion,"RankColor","") & "</a> </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Member Level 9 Name:</b> </font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><input type=""text"" name=""strRankLevel9"" size=""30"" value=""" & chkExistElse(chkString(strRankLevel9,"edit"),"Guru") & """>" & vbNewLine & _
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Number:</b> </font><input type=""text"" name=""intRankLevel9"" size=""5"" value=""" & chkExistElse(intRankLevel9,20000) & """>" & vbNewLine & _
" " & getCurrentIcon(strIconSmileQuestion,"(Member who has more than Member Level 9 posts)","") & "</td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Star Color:</b></font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """>" & vbNewLine
for c = 0 to ubound(strStarColor)
Response.Write " <input type=""radio"" class=""radio"" name=""strRankColor9"" value=""" & strStarColor(c) & """" & chkRadio(strRankColor9,strStarColor(c),true) & ">" & getCurrentIcon(arrIconStarColors(c),"","") & vbNewLine
next
Response.Write " <a href=""JavaScript:openWindow3('pop_config_help.asp?mode=ranks#RankColor')"">" & getCurrentIcon(strIconSmileQuestion,"RankColor","") & "</a> </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Member Level 10 Name:</b> </font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><input type=""text"" name=""strRankLevelA"" size=""30"" value=""" & chkExistElse(chkString(strRankLevelA,"edit"),"Wizard") & """>" & vbNewLine & _
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Number:</b> </font><input type=""text"" name=""intRankLevelA"" size=""5"" value=""" & chkExistElse(intRankLevelA,25000) & """>" & vbNewLine & _
" " & getCurrentIcon(strIconSmileQuestion,"(Member who has more than Member Level 10 posts)","") & "</td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr valign=""top"">" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Star Color:</b></font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """>" & vbNewLine
for c = 0 to ubound(strStarColor)
Response.Write " <input type=""radio"" class=""radio"" name=""strRankColorA"" value=""" & strStarColor(c) & """" & chkRadio(strRankColorA,strStarColor(c),true) & ">" & getCurrentIcon(arrIconStarColors(c),"","") & vbNewLine
next
Around line 114, find
if cLng(Request.Form("intRankLevel4")) > cLng(Request.Form("intRankLevel5")) then
Err_Msg = Err_Msg & "<li>Rank Level 4 can not be higher than 5</li>"
end if
and add the following lines after it
'## MORE RANKS MOD
if cLng(Request.Form("intRankLevel5")) > cLng(Request.Form("intRankLevel6")) then
Err_Msg = Err_Msg & "<li>Rank Level 5 can not be higher than 6</li>"
end if
if cLng(Request.Form("intRankLevel6")) > cLng(Request.Form("intRankLevel7")) then
Err_Msg = Err_Msg & "<li>Rank Level 6 can not be higher than 7</li>"
end if
if cLng(Request.Form("intRankLevel7")) > cLng(Request.Form("intRankLevel8")) then
Err_Msg = Err_Msg & "<li>Rank Level 7 can not be higher than 8</li>"
end if
if cLng(Request.Form("intRankLevel8")) > cLng(Request.Form("intRankLevel9")) then
Err_Msg = Err_Msg & "<li>Rank Level 8 can not be higher than 9</li>"
end if
if cLng(Request.Form("intRankLevel9")) > cLng(Request.Form("intRankLevelA")) then
Err_Msg = Err_Msg & "<li>Rank Level 9 can not be higher than 10</li>"
end if
Upload your modified files, set your new ranks, and run "Check Installation"
[edited 14 Aug 2003 to include version applicability]