This MOD makes the profile link under a member's name disappear when a site visitor is not logged in.
For example, when not logged in, the site visitor sees Etymon, and when logged in, the site member sees Etymon.
Demo site: www.CricketsCreations.com
Username: demo
Password: demo
----------------------------------------------------
MOD: Strip profileLink Tease
* Open inc_func_common.asp and replace function profileLink(fName, fID) with the modified profileLink function below:
function profileLink(fName, fID)
if MemberID < 1 or mlev < 1 then
profileLink = "<b>" & strReturn & fName & "</b>"
else
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 = "<b><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></b>"
end if
end function