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)
 Name filter question...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

SiSL
Average Member

Turkey
671 Posts

Posted - 19 April 2009 :  15:16:24  Show Profile  Visit SiSL's Homepage
I made a test with blocked "oros" at UserName filter with username test "orospu" (LOL, Turkish users forgive me using that!)

It passed name filter, with UserName filter on setting selected...Is that supposed to work like that?

if instr(1,lcase(fString), lcase(unames(i)),1) <> 0 then

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod

Edited by - SiSL on 19 April 2009 15:17:04

SiSL
Average Member

Turkey
671 Posts

Posted - 19 April 2009 :  15:32:12  Show Profile  Visit SiSL's Homepage
Alright, seems I've been missing a Dim Err_Msg not returning back from inside Function...

Not sure if this is also applies to current Snitz as well. It may (I could not locate Dim Err_Msg or so in original files too)

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod

Edited by - SiSL on 19 April 2009 15:45:05
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 19 April 2009 :  16:17:27  Show Profile  Visit HuwR's Homepage
seems to work fine here, I just tested using the same settings as you and it refused the username
Go to Top of Page

SiSL
Average Member

Turkey
671 Posts

Posted - 19 April 2009 :  16:20:42  Show Profile  Visit SiSL's Homepage
Thanks HuwR, must be either because of my server settings or my application that does not allow variables go out of a function unless used Dim on them. I tested W word here as well, yes, it works here.

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod

Edited by - SiSL on 19 April 2009 16:21:11
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 19 April 2009 :  18:20:01  Show Profile  Visit HuwR's Homepage
Option Explicit means you have to Dim variables, but then it should complain if you haven't dimmed them
Go to Top of Page

SiSL
Average Member

Turkey
671 Posts

Posted - 19 April 2009 :  19:51:58  Show Profile  Visit SiSL's Homepage
My Problem is more like if a function has a variable in it, it does not allow them set after function ended.

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 20 April 2009 :  05:08:20  Show Profile
If you haven't "dimmed" the variable outside of the function/sub then it's only available within that function/sub.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

SiSL
Average Member

Turkey
671 Posts

Posted - 20 April 2009 :  09:27:46  Show Profile  Visit SiSL's Homepage
quote:
Originally posted by Shaggy

If you haven't "dimmed" the variable outside of the function/sub then it's only available within that function/sub.





Well, yes and I can't locate where it is Dimmed in 3.4.0.7 code as well.

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20587 Posts

Posted - 20 April 2009 :  13:00:27  Show Profile  Visit HuwR's Homepage
it probably isn't dimmed, most Snitz variables are not dimmed
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.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07