problem with spam question

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
bobs75
Posts: 20
Joined: Sun Apr 19, 2015 12:40 am

problem with spam question

Post by bobs75 »

Script URL: http://www.christianityetc.org/guestbook
Version of script: 1.7.2
Hosting company: SiteGround
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:
The setting for the spam question was not completed by me, because I neglected to cite any actual question in the settings controls. And right now I can't even open this file to correct this omission. Something is wrong with the citation for "settings" in the controls. I edited this control to be gb172ets15y.txt when I installed the script, but I can't open this file. Please help me with this. I have a friend who is trying to submit a message.
bobs75
Posts: 20
Joined: Sun Apr 19, 2015 12:40 am

Re: problem with spam question

Post by bobs75 »

I was able to open the "settings" file, and I cited the question "Are you a human?" in the box between the { } characters. But the script didn't ask the question in the process of handling my test message, so it was submitted for either my "approval" or "rejection". I "rejected" it, but I don't understand why the script didn't ask the question. There still must be something wrong with the setting for this spam question, but I don't know what it is. Please help me to fix this so that this script operates completely as it should. Sorry to be so confused regarding which setting I needed to correct.
bobs75
Posts: 20
Joined: Sun Apr 19, 2015 12:40 am

Re: problem with spam question

Post by bobs75 »

I've revised the setting for this spam_question to actually cite the question "Are you a human?" right in the cited textual control for this operation along with the "answer" "yes", but these revisions to this code still did not enable the program to display and spam_question. How must this control be configured in order to get it to work? The description/setup for this setting doesn't make that clear. Does the number "1" have to be inserted somewhere in the setting in order to activate it? If so, where does it go? Please clarify the details for correctly configuring this setting.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: problem with spam question

Post by Henrie »

Hello bobs75,

If you enter the question and answer they question should automatically be displayed when the sign page is shown. Do you have the right format of the setting for the question and the answer (not removed ' or so)?

It should be like this:

Code: Select all

$settings['spam_question']='This is my question';

$settings['spam_answer']='This is my answer';
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.
bobs75
Posts: 20
Joined: Sun Apr 19, 2015 12:40 am

Re: problem with spam question

Post by bobs75 »

This problem with my guestbook has been resolved when I just appropriately cited the specific question in the line of code and revised the cited text for the answer. Both textual elements are appropriately displayed.
Post Reply