Jump to content

Recommended Posts

Posted (edited)

If any one has questions about the advanced guest book

please ask here, so we may all benefit from the answers.

Thanks.

Edited by turtle
Posted

from Karl (he can't seem to post, because of isp trouble)

I'm using the adv.guestbook that is powered by PHP and MySQL.

The guestbook does show the date and time record of a comment,but no date and time records for replies.

I want to add records for the replies.

I found there is a com.php file that is the code of a replies.

code:


$com[name]:

 

$com[comments]

 

I also found there is a defined $DATE that shows the date,I added $DATE to com.php,it did show a date and time record for a reply,but the records of the replies are the same as the comment,that means the replies do not have their own date and time records.

Can you teach me to add the records?Thank you!

 

--------------------

Karl

Posted

Hi -

 

I am a newbie, so be kind if this is a stupid question. I want to set up a guestbook, and have. My question is this, can I customize the "look" of the guestbook so that it is consistent with the rest of my site?

 

Russ

Posted

You do not say which guestbook you have installed,

but if it is the Advanced Guestbook, yes can make it fit in with your look.

 

login as the admin and play with the styles (page colors)

 

If you understand html, you can change the html templates, Give write permissions to the webserver on the template files!

 

Generally the styes will do the trick.

Posted

Thanks for the quick replies. I installed the advanced guestbook. I see how you can change background colors, etc., but I use a background image on my site. can the advanced guestbook be modified to use a background image?

 

Also, i would like to give it a title other than "Advanced Guestbook." I would like to personalize the title. Is this possible.

 

How do you "Give write permissions to the webserver on the template files?"

 

Thanks again.

 

Russ

Posted

For the title

if you right click the logo

you will see the path to the image.

Just create a new image and

save it in the same place, like guestbook/img/logo.gif

 

As to permissions, use an ftp program or your cpanel file manager

Posted

Also with the title if your really good at picking apart the code then you can write your own custom header by editing the template files. I have done that before when I used to run that.

 

Just a thought. B)

Posted

Hi Russ,it is indeed possible to add a background image,add a new logo and also customize the "look" of the guestbook.

(1)To add a background image,look into the header.php ,then find <body bgcolor ="................................" add background="http://www.yoursite.com/yourimage".

(2)To have your own logo,just rename yours to logo.gif(if ver 2.3.1 then gbook.gif) and overwrite the one that is in your ftp.Don't forget to change the size of the logo.gif in the body.php,otherwise your own logo will be resized.

(3)To customize the "look" of the guestbook is even easier,you can go to admin section and have a look,there you can change the text color,text font size,etc.

You can go to my guestbook and have a look.It is at www.alexsky.com/guestbook

Have fun :(

Posted

I tried the

background="http://www.yoursite.com/yourimage"

 

in header.php

it will only show around the edges, but It made it hard to read the text and links there.

 

My Test guest book

 

You can also edit the footer.php and body.php to customize

 

BUT be sure you make a back up of these file first.

I copy the whole folder for the guestbook to my computer and zip it up first.

Then edit the files on my computer and ftp them to the site.

that way I can go back to the original (in the zip file) if I mess it up.

Posted

turtle,there is a field called timestamp,the date of a comment is written into it.But when I use it as $com[timestamp],I get the date in Unix time format(e.g. 1058615140),do you know how to change it into normal date format that can be understood by people.

Posted

Well, I read all the postings and then made an attempt to modify an advanced guestbook.

 

I tried to change the permissions on the folder containing the guestbook, now I suspect I should have done so just on the subfolder containing the templates.

 

Anyway, now the permissions are goofed up on the main folder, and I cannot change it back. I have tried several time to change the permissions back to normal (in file manager), but they don't "take".

 

So, I tried to put the folder in the trash, and I didn't have permission, so it didn't go.

 

But, the trash can has the contents of that folder in there, but it can't empty it out.

 

And I still cannot change the permissions, not only that, I don't have permission even to edit the normal way so my username and password don't work.

 

First, can someone tell me how to get out of this mess?

Second, what would be the correct way to set the permissions?

Third, how would I uninstall a guestbook, it it were not goofed up, is just deleting the folder the right thing?

 

My URL is www.warrenweb.info

The folder in question is quiltedbook

 

Thanks.

Posted

Pam, I would suggest using an FTP client (I use FTP Surfer) to change the permissions for the file. I don't know why the cpanel wouldn't work, but I'd try the ftp approach.

 

If you want to delete a guestbook... completely... then delete the folder and then delete the tables in your database. You can use PHP myadmin or the Cpanel to do this. Cpanel would probably be faster if you were willing to delete the entire database. Just make sure that the only thing in the database are tables from the forum.

 

As to the correct way to set permissions, I'd be willing to be that there is some information on that in the readme.txt or docs folder of the script that you are using.

 

It depends on the folder and which script you are using.

 

Both invision and phpBB will have comprehensive instructions on this.

  • 2 months later...
Posted

I put the advanced guestbook up and it seems great.

 

For anyone wanting to change the line at the top "Thanks for visiting my site. You can leave your mark here" text or something close to that you can edit this at the lang/english.php file. You can add links or other text there also as long as any extra quotes (") get a (\) (omit the parentheses) in front of them.

 

One question I have. When using the comment feature I get the following error message:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/guest/lang/english.php:105) in /home/mysite/public_html/guest/lib/comment.class.php on line 152

 

It looks like my editing has created an error. The comment function still works fine it just gives this error after being used. Looks like it is expecting something a bit different from the edited english.php file. Any ideas on how to fix it?

 

Many thanks.

  • 6 months later...
Posted

Ok I'm usually pretty good at adapting JAVA scripts but I need to find them first. In the advanced guest book there is a Javascripted drop down menu that I need to add in the URL of my site so guests can return to my home page, where can I look to find that script so I can add in another selection

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...