erics
Starting Member
12 Posts |
Posted - 03 May 2002 : 11:17:11
|
Your Recent Topics And Topics You Have Started are not returning any matches. It recognizes the user's name...but not the recent topics a user has entered. It just returns "no matches found". I can't figure out why this is?
To get the forum to work with my network I changed some code in the inc_function.asp file..that might have something to do with it:
sub NTAuthenticate() dim strUser, strNTUser, checkNT 'strNTUser = Request.ServerVariables("LOGON_USER") --didn't work 'strNTUser = Request.ServerVariables("svUserName") --Couldn't call Server Variable strNTUser = Session("svUserName") 'strNTUser = Request.ServerVariables("AUTH_USER") --didn't work strNTUser = replace(strNTUser, "\", "/") if Session(strCookieURL & "userid") = "" then strUser = Mid(strNTUser,(instr(1,strNTUser,"/")+1),len(strNTUser)) Session(strCookieURL & "userid") = strUser end if if strNTGroups="1" then strNTGroupsSTR = Session(strCookieURL & "strNTGroupsSTR") if Session(strCookieURL & "strNTGroupsSTR") = "" then '#################CHANGE##################### Set strNTUserInfo = GetObject("WinNT://"+strNTAuthDomainName+"/"+strNTUser) 'Set strNTUserInfo = GetObject("WinNT://"+strNTUser)--didn't work For Each strNTUserInfoGroup in strNTUserInfo.Groups strNTGroupsSTR=strNTGroupsSTR+", "+strNTUserInfoGroup.name NEXT Session(strCookieURL & "strNTGroupsSTR") = strNTGroupsSTR end if end if if strAutoLogon="1" then strNTUserFullName = Session(strCookieURL & "strNTUserFullName") if Session(strCookieURL & "strNTUserFullName") = "" then '#################CHANGE################ Set strNTUserInfo = GetObject("WinNT://"+strNTAuthDomainName+"/"+strNTUser) 'Set strNTUserInfo = GetObject("WinNT://"+strNTUser) strNTUserFullName=strNTUserInfo.FullName Session(strCookieURL & "strNTUserFullName") = strNTUserFullName end if
|
|