Version of script: Gbook 1.7
Hosting company: Godaddy
Write your message below:
I just have a personal website, and i am using Gbook 1.7
Eventhough i use all anti-spam tools that included in the lastest ver. 1.7, my Gbook is full of Spam.
There are about 5 spam messages per day.
Any suggestion?
thanks!
anti-spam
What's the URL of your script, where can we test it?
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
It seems you have disabled the JunkMark(tm) SPAM filter
Please enable it by settinginside the settings.php file.
Also you seem to have a codepage error (which can be seen when you open the guestbook in Firefox, there are characters  shown at the start of the page). Try changing inside your language file (language.inc.php) $lang['enc']='windows-1250'; to $lang['enc']='utf-8';
Greetings,
Henrie
Please enable it by setting
Code: Select all
$settings['junkmark_use']=1;
Also you seem to have a codepage error (which can be seen when you open the guestbook in Firefox, there are characters  shown at the start of the page). Try changing inside your language file (language.inc.php) $lang['enc']='windows-1250'; to $lang['enc']='utf-8';
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
You definitely need to enable Junkmark like Henrie suggested.
I also recommend changing the anti-SPAM question "Please type 12a9 into the box below" into something completely different (and without making the code bold).
I also recommend changing the anti-SPAM question "Please type 12a9 into the box below" into something completely different (and without making the code bold).
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
Thank you for your suggestions.
Now, i have 2 more issues here.
-- when i change "windows-1250" to "utf-8"
some characters show like question marks � (in FireFox) and some little squares (in IE)
http://viet4us.net/12a9/gbook/gbook.php?page=5
--when i able the JunkMark(tm) SPAM filter
then, it doesn't let me post something like
Now, i have 2 more issues here.
-- when i change "windows-1250" to "utf-8"
some characters show like question marks � (in FireFox) and some little squares (in IE)
http://viet4us.net/12a9/gbook/gbook.php?page=5
--when i able the JunkMark(tm) SPAM filter
Code: Select all
$settings['junkmark_use']=1;
error messagehere is a good site http://developers.phpjunkyard.com
Error
You cannot sign this guestbook at this time!
#1: that's because the old chars are still written in the old charset (coded in windows-1250 but displayed as utf-8). Do you get the question marks with new posts as well?
#2: true, the Junkmark filter doesn't allow posting URLs because allowing URLs in comments is the main reason websites get guestbook (forum, comments, ...) spam.
You can enable posting URLs in a separate field by enabling $settings['use_url'] , but posts with URLs in comments will still be blocked.
If you want to have JunkMark disabled changing the anti-spam question to a something completely unique with no bold text is your best bet.
#2: true, the Junkmark filter doesn't allow posting URLs because allowing URLs in comments is the main reason websites get guestbook (forum, comments, ...) spam.
You can enable posting URLs in a separate field by enabling $settings['use_url'] , but posts with URLs in comments will still be blocked.
If you want to have JunkMark disabled changing the anti-spam question to a something completely unique with no bold text is your best bet.
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
Ah, better to change it back the way it was then. The few characters on top will only be seen by Firefox users, and it will not make the older posts of the guestbook unreadable as it is now.winky wrote:Now, i have 2 more issues here.
-- when i change "windows-1250" to "utf-8"
some characters show like question marks � (in FireFox) and some little squares (in IE)
http://viet4us.net/12a9/gbook/gbook.php?page=5
The right codepage should be chosen when making the website and not be changed afterwards. You could try converting the entries.txt (or whatever you have called it) by opening it in a suitable editor, changing the codepage and saving it as utf-8.
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
it's great !
no more spam.
and the characters are fixed.
thank you so much guys
----
however, i think it will be really helpful if GBOOK has a feature that let its ADMIN deletes multi comments at a time.
For example, since i have a lot of spam messages.
Let see 10 of them.
i need to click on the delete button 10 times and enter the password ten times. Do you think its kinda too much work? ( iam a lazy guy)
hahaha.....lol
)
no more spam.
and the characters are fixed.
thank you so much guys

----
however, i think it will be really helpful if GBOOK has a feature that let its ADMIN deletes multi comments at a time.

For example, since i have a lot of spam messages.
Let see 10 of them.
i need to click on the delete button 10 times and enter the password ten times. Do you think its kinda too much work? ( iam a lazy guy)
hahaha.....lol

I have thought of that myself too one time when I had very many spam messages. But I thought it would be to much hassle for the few times I need it to ask Klemen this feature (and certainly to much hassle for me to attempt to code it myself).winky wrote:however, i think it will be really helpful if GBOOK has a feature that let its ADMIN deletes multi comments at a time.
So when I had that many spam messages. I downloaded the guestbook entries file and opened it in a text editor, deleted the spam messages and uploaded the guestbook again.
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.