The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
As all know, I'm new here, but am hoping to run past some codes. Having thoroughly botched the install...I'm going through and being careful with things.
I did the search, and came up with a code that I adapted. Here are the intended goals:
1.) Replace all ranks so that each image has only one icon
2.) Each Icon has a different image (duh)
3.) Moderators only have one image
4.) Administrators only have one image (different from administrators)
I know that this is a work in progress...but I think I'm starting to pick things up a bit better now. There are other files that I need to edit I know, but the only one I have completed thus far is a section of the changes to inc_func_level.asp
I also plan to add a 6th level with the ranks using the additional ranks mod. At any rate...does the progress thus far look acceptable?<
I did the search, and came up with a code that I adapted. Here are the intended goals:
1.) Replace all ranks so that each image has only one icon
2.) Each Icon has a different image (duh)
3.) Moderators only have one image
4.) Administrators only have one image (different from administrators)
I know that this is a work in progress...but I think I'm starting to pick things up a bit better now. There are other files that I need to edit I know, but the only one I have completed thus far is a section of the changes to inc_func_level.asp
function getStar_Level(fM_LEVEL, fM_POSTS)Source: http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=47551
dim Star_Level
select case fM_LEVEL
case "1"
if (fM_POSTS < cLng(intRankLevel1)) then Star_Level = getCurrentIcon(strRankImagePVT,"","")
if (fM_POSTS >= cLng(intRankLevel1)) and (fM_POSTS < cLng(intRankLevel2)) then Star_Level = getCurrentIcon(getStarColor(strRankImagePFC),"","")
if (fM_POSTS >= cLng(intRankLevel2)) and (fM_POSTS < cLng(intRankLevel3)) then Star_Level = getCurrentIcon(getStarColor(strRankImageCPL),"","")
if (fM_POSTS >= cLng(intRankLevel3)) and (fM_POSTS < cLng(intRankLevel4)) then Star_Level = getCurrentIcon(getStarColor(strRankImageSGT),"","")
if (fM_POSTS >= cLng(intRankLevel4)) and (fM_POSTS < cLng(intRankLevel5)) then Star_Level = getCurrentIcon(getStarColor(strRankImageSSGT),"","")
if (fM_POSTS >= cLng(intRankLevel5)) and (fM_POSTS < cLng(intRankLevel6)) then Star_Level = getCurrentIcon(getStarColor(strRankImageMSGT),"","")
case "2"
if (fM_POSTS >= 1) then Star_Level = getCurrentIcon(getStarColor(strRankImage2LT),"","")
case "3"
if (fM_POSTS >= 1) then Star_Level = getCurrentIcon(getStarColor(strRankImage1LT),"","")
case else
Star_Level = "Error"
end select
getStar_Level = Star_Level
end function
Rank Icon Images Needed:
strRankImagePVT
strRankImagePFC
strRankImageCPL
strRankImageSGT
strRankImageSSGT
strRankImageTSGT
strRankImageMSGT
strRankImage2LT
strRankImage1LT
I also plan to add a 6th level with the ranks using the additional ranks mod. At any rate...does the progress thus far look acceptable?<