Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
faulty or rude word detection
Old 10-25-2006, 12:14 PM faulty or rude word detection
lim888's Avatar
Novice Talker

Posts: 9
Name: Lim
Trades: 0
Any code for keyword detection use in rude word detection?
lim888 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-25-2006, 01:06 PM Re: faulty or rude word detection
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Dude, this is about the 3rd post I've seen from you with regard to this sort of thing.

It sounds like you're in way over your head. My suggestion to you would be to either purchase or download forum software rather than try to build your own.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 10-25-2006, 04:54 PM Re: faulty or rude word detection
boomers's Avatar
Extreme Talker

Posts: 229
Trades: 1
Quote:
Originally Posted by lim888 View Post
Any code for keyword detection use in rude word detection?
First of all... ignore ADAM Web Design - you should be asking questions, its the best way to learn.

My code is in .NET & will filter the word 'hello' with the replacement 'h****'. Its also assuming that you have a label on the page called 'Label1'.

- if you have any questions then just ask, do look at the code though as its not hard to impliment or expand.

codebehind:
Code:
    Public Function swearFilter(ByVal swears As String) As String
        swears = Replace(swears, "hello", "h****")

        swearFilter = swears
    End Function

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not Page.IsPostBack Then

            Label1.text = swearFilter("hello")

        EndIf
    End Sub

Last edited by boomers; 10-25-2006 at 04:55 PM..
boomers is offline
Reply With Quote
View Public Profile
 
Old 10-25-2006, 10:54 PM Re: faulty or rude word detection
lim888's Avatar
Novice Talker

Posts: 9
Name: Lim
Trades: 0
thank you
lim888 is offline
Reply With Quote
View Public Profile
 
Old 10-26-2006, 12:08 AM Re: faulty or rude word detection
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
I never said he shouldn't ask questions. But perhaps you should look at what he's posted in a few separate spots with the goal he has in mind.

Simply put, he's trying to build forum software with obviously little knowledge of what he's doing. That's not a job a rookie should take on...period. And sorry lim, but it's obvious that you're a rookie at this. This is a job that will be too much for you to handle. Period.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 10-26-2006, 05:25 AM Re: faulty or rude word detection
boomers's Avatar
Extreme Talker

Posts: 229
Trades: 1
Everyone was a rookie at some point, a forum is a good project to start with as it covers a large range of areas.

Even if he makes it and it sucks then he'll have learnt and can work in improving it with the knowledge hes picked up along the way.
boomers is offline
Reply With Quote
View Public Profile
 
Old 10-26-2006, 10:13 PM Re: faulty or rude word detection
lim888's Avatar
Novice Talker

Posts: 9
Name: Lim
Trades: 0
thank you for both expert opinion as I learn from you all, let's be friend. No hard feelings
lim888 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to faulty or rude word detection
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.43148 seconds with 12 queries