If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
change censor word functionality  XML
Forum Index » Support Forum
Author Message
ikki831
Newbie

Joined: 05/12/2007 02:48:11
Messages: 3
Offline

Is there a way to change some code on a couple lines so that if someone enters a word that I have already defined as a Censor Word as a gb_comment.value, that I can just make the form submission die? I don't even want the form submision to go thru and replace the text for viagra as @#$@%. I want it to just fail.

I've tried editing the templates/form.php as well as the addentry.php file to check the gb_comment.value field durring the form submission but i'm doing something wrong obviously because i can't get it working.

thanks

rick
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Search is your friend http://proxy2.de/forum/viewtopic.php?t=5540

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
ikki831
Newbie

Joined: 05/12/2007 02:48:11
Messages: 3
Offline

Carbonize wrote:Search is your friend http://proxy2.de/forum/viewtopic.php?t=5540


Thank you! I had done some searching but never came across that page.

Thanks again!


rick
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum