Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Username filter not working
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

hzaidi
Starting Member

USA
45 Posts

Posted - 21 December 2007 :  09:10:21  Show Profile
The username filter for some reason is not working. Nor is the locking. When I enable a lock for that username and I try logging in with that same username. Snitz simply creates another account.

Where can I diagnose this. Or where is in the code are the filters being referenced......

Edited by - hzaidi on 21 December 2007 09:37:02

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 21 December 2007 :  09:41:14  Show Profile  Visit HuwR's Homepage
Snitz can not create another account without going through the registration process, so perhaps you should maybe explain a bit more of what you are doing.

1) are you using NT or DB authentication ?
2) what db are you using
3) Have you modified any of the files
Go to Top of Page

hzaidi
Starting Member

USA
45 Posts

Posted - 21 December 2007 :  09:49:44  Show Profile
I'm using NT Authentication with auto registration.

It seems the problems didn't start until I modified the following codes.

File: post.asp

Line: 294

Code:
if (mLev = 4) or (chkForumModerator(strRqForumId, strDBNTUserName) = "1") then
'## Do Nothing
else
Go_Result "Only moderators and administrators can create topics"
end if

Action: Add under the “end if” statement and above “case "Category” statement at around line 294.

File: form.asp

Line: 698

Code: CHANGE

if Forum_Status <> 0 then
TO
if Forum_Status <> 0 and ((mLev = 4) or ((chkForumModerator(Forum_ID, strDBNTUserName) = "1"))) then

File: topic.asp

Line: 878

Code: CHANGE

if ((Cat_Status = 1) and (Forum_Status = 1)) then
to
if ((Cat_Status = 1) and (Forum_Status = 1)) and ((mLev = 4) or ((chkForumModerator(Forum_ID, strDBNTUserName) = "1"))) then




This code makes sure only MODERATORS and ADMINISTRATORS can add topics....

Edited by - hzaidi on 21 December 2007 09:50:32
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 21 December 2007 :  13:08:44  Show Profile  Visit HuwR's Homepage
mmm, can't see how that would cause the problem, unfortunately I know very little about the way the NT authentication works.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07