Script URL: http://www.hearoyisrael.net/guestbook/gbook.php?page=1
Version of script: 1.7
Hosting company: iPage
URL of phpinfo.php: I don't know what this is.
URL of session_test.php: I don't know what this is.
What terms did you try when SEARCHING for a solution: badwords not working bad words filter en php
Write your message below: Hello, I have had your gbook for over a year and I love it, but yest. I discovered that my bad words filter is not working. Apparently no one used any bad words all this time. I changed it manually, but how can I get it to work? I have:
1 checked CHMOD folder:755 en.php 644
2 uploaded original file sans my own list.
still not working. I do not get any error pages.
/* All bad words should be in this format:
"BADWORD" => "REPLACEMENT",
You can add as many bad words as you wish.*/
/* INSERT NEW BAD WORDS BELOW THIS LINE */
Do I add my list here (after the above) or below the following?
/* DO NOT EDIT BELOW */
before I re-uploaded the original en.php I had my list AFTER /* DO NOT EDIT BELOW */ was that wrong? However I did also place it between the 2 statements and it did not seem to help.
Please help!
Thanks again for what is otherwise a GREAT gbook
Benmara
My bad words filter does not work.
Re: My bad words filter does not work.
The badwords filter seems to be working as you have a post with two blocked words in your guestbook (first page, post by Nicholas).
To add your own words to the filter it doesn't really matter if they are up or above the "/* INSERT NEW BAD WORDS BELOW THIS LINE */" line - this is just a guide for people who are not familiar with PHP so they don't break the code and make GBook unusable.
You can simply add new words just below
/* INSERT NEW BAD WORDS BELOW THIS LINE */
Make sure you use this exact format:
If you can't get it to work paste your entire code here so we can check for errors.
To add your own words to the filter it doesn't really matter if they are up or above the "/* INSERT NEW BAD WORDS BELOW THIS LINE */" line - this is just a guide for people who are not familiar with PHP so they don't break the code and make GBook unusable.
You can simply add new words just below
/* INSERT NEW BAD WORDS BELOW THIS LINE */
Make sure you use this exact format:
Code: Select all
"word_here" => "* * *",
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: My bad words filter does not work.
Greetings Klemen,
Thanks for the quick reply and thanks so very much for the cool gbook! I get complements all the time (even by people who do not actually sign it) and I have two friends who DL'd the gbook on my recommendation and they think it is great. Here is the code (those: two blocked words in your guestbook (first page, post by Nicholas) were done manually as I thought I had left the particular words off my list - I hadn't):
(REMOVED)
Thanks for the quick reply and thanks so very much for the cool gbook! I get complements all the time (even by people who do not actually sign it) and I have two friends who DL'd the gbook on my recommendation and they think it is great. Here is the code (those: two blocked words in your guestbook (first page, post by Nicholas) were done manually as I thought I had left the particular words off my list - I hadn't):
(REMOVED)
Re: My bad words filter does not work.
Seems like the normal badwords file.
I posted a test private message - the word got banned or not?
If not check your settings.php file, make sure you have $settings['filter'] set to 1.
I posted a test private message - the word got banned or not?
If not check your settings.php file, make sure you have $settings['filter'] set to 1.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: My bad words filter does not work.
Greetings again Klemen,
Yes it was banned...ok, let me ask 1 more...
maybe it is the punctuation?
If the word is to be banned is 'pest' would a comma affect it?
that is pest, would have to be "pest," => "* * *", in my en.php file to get starred?
Also, if someone posted and then I decided a add a word of their post to the list would it retro- fill it or would I need to manually do it and wait for the next usage?
Well, since it seems ok...sigh, wish I knew what occurred...Thanks again so much for the GREAT gbook and I humbly apologize for wasting your time! You and Henrie are great web-authors and patient helpers.
Benmara
Yes it was banned...ok, let me ask 1 more...
maybe it is the punctuation?
If the word is to be banned is 'pest' would a comma affect it?
that is pest, would have to be "pest," => "* * *", in my en.php file to get starred?
Also, if someone posted and then I decided a add a word of their post to the list would it retro- fill it or would I need to manually do it and wait for the next usage?
Well, since it seems ok...sigh, wish I knew what occurred...Thanks again so much for the GREAT gbook and I humbly apologize for wasting your time! You and Henrie are great web-authors and patient helpers.
Benmara
Re: My bad words filter does not work.
No, "pest" => "* * *" should equally ban "pest", "pest," and also isn't case sensitive (it will ban "PEST,").
And no, the filter doesn't work retro-actively, it will only effect new posts.
And no, the filter doesn't work retro-actively, it will only effect new posts.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools