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

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Closed)
 BUG (all versions): Usernames allow Bad words
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 09 February 2001 :  03:46:48  Show Profile  Visit HuwR's Homepage
Since there is a bad word filter on posting, it seems a bit inconsistant that people can choose these Bad words as their user name.

for an example look in the test forum. where we have a user called ****wit

'Resistance is futile'

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 09 February 2001 :  08:48:41  Show Profile
this mod addresses that: http://forum.snitz.com/forum/link.asp?TOPIC_ID=3912
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 09 February 2001 :  08:57:17  Show Profile  Visit HuwR's Homepage
I realise there is a mod to filter names, just figured that badwords should be filtered by default otherwise what is the point of having a bad word filter if users can register using words they can't post, just seems a little inconsistant.

'Resistance is futile'
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 09 February 2001 :  09:00:48  Show Profile  Visit Kat's Homepage
I agree with Huw on this. Especially after the problems we had with badwords at one stage.

KatsKorner
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 09 February 2001 :  09:01:16  Show Profile
I agree...
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 09 February 2001 :  15:47:42  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
awesome... thanks guys :)

Reinsnitz (Mike)
><)))'>
"Blessed are those who hear the word of God and obey it." - Luke 11:28
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 17 February 2001 :  22:09:13  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
ok... in order for this to work properly... I need somone to help me write a function as follows:


function chkNameBadWords(fString)
bwords = split(strBadWords, "|")
'## check here
end function


in the '## check here section... I need it to basicaly give a "TRUE" or "FALSE" statement if the passed variable contains the text in the strBadWords

This will be used to verify weather or not the username in register.asp contains text in the strBadWords section... and kick back on the results.
Thanks!

Reinsnitz (Mike)
><)))'>
"Therefore go and make disciples of all nations,..." Matthew 28:19a
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 17 February 2001 :  22:47:44  Show Profile
How about this?


function chkNameBadWords(fString)
bwords = split(strBadWords, "|")
'## check here
for i = 0 to ubound(bwords)
if instr(fString, bwords(i)) <> 0 then
Err_Msg = Err_Msg & "<li>Username may not contain the word <b>" & bwords(i) & "</b></li>"
exit function
end if
next
end function


I added this to line #75 of register.asp


chkNameBadWords(Request.Form("Name"))
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 17 February 2001 :  23:38:05  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
fixed in source of sf2k_31sr5a6.zip

Reinsnitz (Mike)
><)))'>
"Therefore go and make disciples of all nations,..." Matthew 28:19a
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07