in inc_func_common.asp
Replace
function profileLink(fName, fID)
if instr(fName,"img src=") > 0 then
strExtraStuff = ""
else
strExtraStuff = " title=""View " & fName & "'s Profile""" & dWStatus("View " & fName & "'s Profile")
end if
if strUseExtendedProfile then
strReturn = "<a href=""pop_profile.asp?mode=display&id=" & fID & """" & strExtraStuff & ">"
else
strReturn = "<a href=""JavaScript:openWindow3('pop_profile.asp?mode=display&id=" & fID & "')""" & strExtraStuff & ">"
end if
profileLink = strReturn & fName & "</a>"
end function
With
function profileLink(fName, fID)
if instr(fName,"img src=") > 0 then
strExtraStuff = ""
else
strExtraStuff = " title=""View " & fName & "'s Profile""" & dWStatus("View " & fName & "'s Profile")
end if
'## Forum SQL - Get user status
strSql = "SELECT M_LEVEL "
strSql = strSql & "FROM " & strMemberTablePrefix & "MEMBERS "
strSql = strSql & "WHERE MEMBER_ID = " & fID & " "
strSql = strSql & "AND M_NAME = '" & fName & "' "
strSql = strSql & "AND M_STATUS = " & 1
Set rsLink2 = my_Conn.Execute(strSql)
if rsLink2.EOF or rsLink2.BOF then
LinkLevelStyle = ""
else
if fID = intAdminMemberID then
LinkLevelStyle = "class=""strAdminStyle2"""
elseif rsLink2("M_LEVEL") = 3 then
LinkLevelStyle = "class=""strAdminStyle2"""
elseif rsLink2("M_LEVEL") = 2 then
LinkLevelStyle = "class=""strModoStyle2"""
else
LinkLevelStyle = ""
end if
end if
rsLink2.Close
Set rsLink2 = nothing
if strUseExtendedProfile then
strReturn = "<a " & LinkLevelStyle & " href=""pop_profile.asp?mode=display&id=" & fID & """" & strExtraStuff & ">"
else
strReturn = "<a " & LinkLevelStyle & " href=""JavaScript:openWindow3('pop_profile.asp?mode=display&id=" & fID & "')""" & strExtraStuff & ">"
end if
profileLink = strReturn & fName & "</a>"
end function
In inc_header.asp
Replace
"<style type=""text/css"">" & vbNewLine & _
"<!--" & vbNewLine & _
"a:link {color:" & strLinkColor & ";text-decoration:" & strLinkTextDecoration & "}" & vbNewLine & _
"a:visited {color:" & strVisitedLinkColor & ";text-decoration:" & strVisitedTextDecoration & "}" & vbNewLine & _
"a:hover {color:" & strHoverFontColor & ";text-decoration:" & strHoverTextDecoration & "}" & vbNewLine & _
"a:active {color:" & strActiveLinkColor & ";text-decoration:" & strActiveTextDecoration & "}" & vbNewLine & _
".spnMessageText a:link {color:" & strForumLinkColor & ";text-decoration:" & strForumLinkTextDecoration & "}" & vbNewLine & _
".spnMessageText a:visited {color:" & strForumVisitedLinkColor & ";text-decoration:" & strForumVisitedTextDecoration & "}" & vbNewLine & _
".spnMessageText a:hover {color:" & strForumHoverFontColor & ";text-decoration:" & strForumHoverTextDecoration & "}" & vbNewLine & _
".spnMessageText a:active {color:" & strForumActiveLinkColor & ";text-decoration:" & strForumActiveTextDecoration & "}" & vbNewLine & _
".spnSearchHighlight {background-color:" & strSearchHiLiteColor & "}" & vbNewLine & _
"input.radio {background:" & strPopUpTableColor & ";color:#000000}" & vbNewLine & _
"-->" & vbNewLine & _
"</style>" & vbNewLine & _
with
"<style type=""text/css"">" & vbNewLine & _
"<!--" & vbNewLine & _
"a:link {color:" & strLinkColor & ";text-decoration:" & strLinkTextDecoration & "}" & vbNewLine & _
"a:visited {color:" & strVisitedLinkColor & ";text-decoration:" & strVisitedTextDecoration & "}" & vbNewLine & _
"a:hover {color:" & strHoverFontColor & ";text-decoration:" & strHoverTextDecoration & "}" & vbNewLine & _
"a:active {color:" & strActiveLinkColor & ";text-decoration:" & strActiveTextDecoration & "}" & vbNewLine & _
".spnMessageText a:link {color:" & strForumLinkColor & ";text-decoration:" & strForumLinkTextDecoration & "}" & vbNewLine & _
".spnMessageText a:visited {color:" & strForumVisitedLinkColor & ";text-decoration:" & strForumVisitedTextDecoration & "}" & vbNewLine & _
".spnMessageText a:hover {color:" & strForumHoverFontColor & ";text-decoration:" & strForumHoverTextDecoration & "}" & vbNewLine & _
".spnMessageText a:active {color:" & strForumActiveLinkColor & ";text-decoration:" & strForumActiveTextDecoration & "}" & vbNewLine & _
".spnSearchHighlight {background-color:" & strSearchHiLiteColor & "}" & vbNewLine & _
"input.radio {background:" & strPopUpTableColor & ";color:#000000}" & vbNewLine & _
"a.stradminstyle2:link {color:" & strAUAdminColor & ";background-color:transparent;text-decoration:none}" & vbNewLine & _
"a.stradminstyle2:visited {color:" & strAUAdminColor & ";background-color:transparent;text-decoration:none;}" & vbNewLine & _
"a.stradminstyle2:hover {color:" & strAUAdminColor & ";background-color:transparent;text-decoration:none}" & vbNewLine & _
"a.stradminstyle2:active {color:" & strAUAdminColor & ";background-color:transparent;text-decoration:none;}" & vbNewLine & _
"a.strmodostyle2:link {color:" & strAUModColor & ";background-color:transparent;text-decoration:none}" & vbNewLine & _
"a.strmodostyle2:visited {color:" & strAUModColor & ";background-color:transparent;text-decoration:none;}" & vbNewLine & _
"a.strmodostyle2:hover {color:" & strAUModColor & ";background-color:transparent;text-decoration:none}" & vbNewLine & _
"a.strmodostyle2:active {color:" & strAUModColor & ";background-color:transparent;text-decoration:none;}" & vbNewLine & _
"-->" & vbNewLine & _
"</style>" & vbNewLine & _
<