Page 1 of 3

What am I doing wrong?

Posted: Wed Jan 08, 2014 1:53 pm
by ghostgirl
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Hi, first time here. Set up my guestbook according to instructions- I thought - and am checking it, but it only shows this: http://www.ravensbreath.com/Guestbook/gbook.php and I don't see where to post a message. Obviously I'm very lost on all this.

I didn't complete all the settings fields yet - the instructions just said to get this done and check to make sure the GB was working first.
Hope you can steer me in the right direction to make this GB work. I still need to add images, color, etc. Maybe make a custom template to fit with my website better. But first I just need to know how to make the GB work.

I read, as the last part of the instructions:
Make sure the following files/folders are writable by the script:
- files banned_ip.txt and entries.txt - on Unix (Linux) servers CHMOD this file to 666 (rw-rw-rw-)
- directory apptmp - on Unix (Linux) servers CHMOD this directory to 777 (rwxrwxrwx)

And thought, now I'm REALLY lost! I don't know whatever that is might be something I'm not doing.

Thank you.

Re: What am I doing wrong?

Posted: Wed Jan 08, 2014 5:39 pm
by Klemen
All your links are hidden, because you have white background and all the text and links in white.

If you open your guestbook and press CTRL+A you will see all the text selected, including the hidden one.

Uploading back original GBook style file should fix the issue.

Re: What am I doing wrong?

Posted: Wed Jan 08, 2014 9:52 pm
by ghostgirl
Thank you for that.

Yes, Is see what you mean, that the text is there.

When you say, Uploading back original GBook style file should fix the issue.,

I'm not sure what you mean. Do you mean I should upload the original gbook file as it is or do I make changes to it?

Many thanks for your help.

Re: What am I doing wrong?

Posted: Thu Jan 09, 2014 11:47 am
by Klemen
If you upload the original files again (you probably just need to upload the original "templates/default/style.css" file) the look will be reset to the default GBook look and the text visible again.

Re: What am I doing wrong?

Posted: Thu Jan 09, 2014 11:52 am
by ghostgirl
Thanks so much. I'll try that as soon as possible.
Thx

Re: What am I doing wrong?

Posted: Thu Jan 09, 2014 6:53 pm
by ghostgirl
Hi, Finally got the default gbook to work. I had to change a text color in the style sheet to get it to show up, but that worked. Plus I had an upercase letter on one file and not a corresponding one - can't see how I did that but I did.
Anyway, now I'm trying to find out how, if and where I can add an image to the header: my logo. I probably should know these things but I'm not that familiar with all css and I worked with php but it's been years. Gone right out of my head.

Where can I add it? And if it's code please can you tell me exactly how it's written and where it goes?
Here's the image url: http://www.ravensbreath.com/headers/Rav ... h-head.jpg

I made a folder in templates called ravensbreath_ghostbook and in it I copied over all the files that are in the defaut templates folder. Is that correct? Obviously I don't have it working yet.
I need to know if I will have to reflect the new path in the settings file to get to the guestbook?
If yes, then can you give me the exact code I would write and put in the settings file, if that's where it goes?

Lastly, I just can't see where to make all the background black. I can't see where to do it in styles.
I see the comments box black and the body tag has black it but the background is white.

I really appreciate your help. And I like the guestbook, thanks!

Re: What am I doing wrong?

Posted: Fri Jan 10, 2014 5:42 pm
by Klemen
Before anything else, please note that teaching HTML/CSS is out of the scope of my support, so you cannot expect detailed customization help for the free scripts.

That said, you should be able to add a logo by placing HTML code inside "header.txt" file. Could be as simple as

Code: Select all

<div align="center"><img src="http://www.ravensbreath.com/headers/Ravensbreath-head.jpg"  alt="" border="0" /></a></div>
Yes, creating a new folder and copying default template files is the recommend way of modifying the look. To use the new template you would change

Code: Select all

$settings['template'] = 'default';
to

Code: Select all

$settings['template'] = 'ravensbreath_ghostbook';
To make the background black you can try changing this in style.css file

Code: Select all

background-image:url(images/bg.png); background-repeat:repeat-x;
to

Code: Select all

background-color: black;

Re: What am I doing wrong?

Posted: Fri Jan 10, 2014 7:08 pm
by ghostgirl
Thank you so much.
I figured out a few things but this should help me the rest of the way. I really appreicate your help.

I WILL buy you a drink. Just need to get a couple bucks to rub together first!
Meanwhile I hope you'll accept my praise and thanks. :D

All the best

Re: What am I doing wrong?

Posted: Sat Jan 11, 2014 9:08 am
by Klemen
You are welcome.

No need to buy me a drink, if you are short on money you have better things to spend it on :wink:

Re: What am I doing wrong?

Posted: Thu Jan 16, 2014 12:36 pm
by ghostgirl
Hi Klemen,

Just wanted you to know I LOVE my guestbook. Works great, looks super. Thank you.
Now I just need to gain back the multitudes who used to write in the old one before it broke down every other day. Had hundreds. People finally gave up - with good reason. I should made this new one ages ago.
Oh well, now it's done.

Thanks again for all your help.

Best wishes

Re: What am I doing wrong? got BANNED

Posted: Mon Feb 03, 2014 8:52 am
by ghostgirl
Hi again,

Well, I did it. I posted a few comments on my new guestbook from real people from my old GB in order to encourage people to start using this new one. No one wanted to be the first. So, I've just been banned forever for spamming. Can you tell me the best way to let myself back on? can't even go to it now.

Thank you.

Re: What am I doing wrong?

Posted: Mon Feb 03, 2014 4:54 pm
by Henrie
Hello ghostgirl,

To give yourself access to your guestbook again go to the Gbook folder with your ftp program. Find the file banned_ip.txt and download it. Open it in notepad (or preferably notepad++) and remove your IP-address. After you have done that upload the banned_ip.txt file to you GBook folder again.

In order to post multiple messages open settings.php and set

Code: Select all

/* Prevent multiple submissions in the same session? 1 = YES, 0 = NO */
$settings['one_per_session']=0;
Greetings,
Henrie

Re: What am I doing wrong?

Posted: Mon Feb 03, 2014 5:33 pm
by ghostgirl
Thanks Henrie, but there are hundreds of ip addresses in banned_ip.txt, unless I'm not seeing something right.
Do I just get rid of them all?
Do appreciate your help,
thx

Re: What am I doing wrong?

Posted: Mon Feb 03, 2014 5:51 pm
by Henrie
You just need to find your own IP-address and delete it.
You can also delete all the others, but than they will not be banned anymore untill they do something wrong again.
To see what your IP-address is, you can use the following webpage: http://www.myipaddress.com

Greetings,
Henrie

Re: What am I doing wrong?

Posted: Mon Feb 03, 2014 7:17 pm
by ghostgirl
Yeah that worked! Thank you Henrie. I left the other ips.

As for the setting permissions, it already is set to what you put about. One per session. Is that correct?

Will that let me add several posts if I need to?

Many thanks