Guestbook 1.6 is great
Guestbook 1.6 is great
Script URL: www.jimgratton.co.uk/guestbook.htm
Version of script: 1.6
Hosting company: www.cleverdot.com
URL of phpinfo.php: N/A
URL of session_test.php: N/A
What terms did you try when SEARCHING for a solution: N/A
Write your message below:
Klemen,
Thank you for the new version of gbook 1.6. It contains a lot of new items that are great, such as the email address hiding, spaces between entries and particularly the smileys on the sign page.
I know that it is looked upon by yourself as a stand alone guestbook, but some of us like to incorporate it in our web pages, in my case in a dynamic iFrame, so that a menu and W3C links can be on the page. This involved the removal of the “back to” link.
Before it was simple to do by removing part of a couple of lines in gbook. Now it involves commenting out 19 lines and removing one divider. Perhaps one day you would consider this, with the opportunity to have the back to link option to be on or off in setting.php.
This is the best guestbook available, and your work is greatly appreciated. I rather suspect that a lot of other people will also be very happy with the additions.
Regards, Jim.
Version of script: 1.6
Hosting company: www.cleverdot.com
URL of phpinfo.php: N/A
URL of session_test.php: N/A
What terms did you try when SEARCHING for a solution: N/A
Write your message below:
Klemen,
Thank you for the new version of gbook 1.6. It contains a lot of new items that are great, such as the email address hiding, spaces between entries and particularly the smileys on the sign page.
I know that it is looked upon by yourself as a stand alone guestbook, but some of us like to incorporate it in our web pages, in my case in a dynamic iFrame, so that a menu and W3C links can be on the page. This involved the removal of the “back to” link.
Before it was simple to do by removing part of a couple of lines in gbook. Now it involves commenting out 19 lines and removing one divider. Perhaps one day you would consider this, with the opportunity to have the back to link option to be on or off in setting.php.
This is the best guestbook available, and your work is greatly appreciated. I rather suspect that a lot of other people will also be very happy with the additions.
Regards, Jim.
Hi Jim,
Thanks for the kudos.
I knew I forgot something
Anyway, doesn't just removing line 1084 (and | in the next line) do the trick for you?
Thanks for the kudos.
I knew I forgot something

Code: Select all
<a href="'.$settings['website_url'].'">'.$lang['t61'].' '.$settings['website_title'].'</a>
|
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
Hello Klemen,
That does work in part, the code you have shown is after the "centre" code, so it is not the whole line, which in any case will not comment out, so does have to be removed, but it still requires line 16 in settings.php to be commented out, otherwise the "my lovely guestbook" still shows, which in my case is not used.
It is cetainly a lot quicker to do than the lines I commented out, but then, you do know what you are doing, unlike myself
Thank you.
Regards, Jim
That does work in part, the code you have shown is after the "centre" code, so it is not the whole line, which in any case will not comment out, so does have to be removed, but it still requires line 16 in settings.php to be commented out, otherwise the "my lovely guestbook" still shows, which in my case is not used.
It is cetainly a lot quicker to do than the lines I commented out, but then, you do know what you are doing, unlike myself

Thank you.
Regards, Jim
Hi I was about to ask about this but managed to find it on a search. I'm using a iframe as well and wanted rid of the 'Back to' for the same reasons as everyone else.
I had already tried the approach of removing
and getting rid of the my lovely guest book bit.
But for some reason it seem to throw out all the text positioning on any comments that have been left the main message starts where the name normally is and the name is there at all!
Only happens when i remove the above.
So I came here to see what I could find and it's exactely what i did as far as I can tell!!
Needless to say I'm at the very outer limits f understand of php just to get this far, any suggetions would be greatfully recieved.
Thanks a lot
Benn
I had already tried the approach of removing
Code: Select all
<a href="'.$settings['website_url'].'">'.$lang['t61'].' '.$settings['website_title'].'</a>
|
But for some reason it seem to throw out all the text positioning on any comments that have been left the main message starts where the name normally is and the name is there at all!
Only happens when i remove the above.
So I came here to see what I could find and it's exactely what i did as far as I can tell!!
Needless to say I'm at the very outer limits f understand of php just to get this far, any suggetions would be greatfully recieved.
Thanks a lot
Benn
I might be a total Noob, but i'm trying.....very trying!
@Benn
Did you only remove that part, or more.
Take a look at the following post to see what the new code should look like
viewtopic.php?p=9076#9076
If it still does not work please post the url of your guestbook so i can take a look what goes wrong.
Greetings,
Henrie
Did you only remove that part, or more.
Take a look at the following post to see what the new code should look like
viewtopic.php?p=9076#9076
If it still does not work please post the url of your guestbook so i can take a look what goes wrong.
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.
Hi Henrie
This is my settings.php with various bits removed as i had no need for them:
In the above code I have changed password and entries.txt to XXXX, but they obviously have proper names in my script.
And this is the only bit I changed in the gbook.php:
I would leave you a link but at the moment the site is down butcause I managed to kill all my links!
should have them back tomorrow though
Oh nearly forgot to mention I also changed some of the colours in the style.css but nothing else so can't imagine that would have caused it!
This is my settings.php with various bits removed as i had no need for them:
Code: Select all
<html dir="ltr">
<head>
<title></title>
<?php
/* >>> SETUP YOUR GUESTBOOK <<< */
/* Detailed information found in the readme file */
/* File version: 1.6 $ Timestamp: 14th Feb 2008 18:37 */
/* Password for admin area */
$settings['apass']='XXXX';
/* Website title */
/* Website URL */
/* Guestbook title */
/* Name of the file where guestbook entries will be stored */
$settings['logfile']='XXXX.txt';
/* Use "Your website" field? 1 = YES, 0 = NO */
$settings['use_url']=0;
/* Open URLs in a new window? 1 = YES, 0 = NO */
$settings['url_blank']=0;
/* Allow private posts (readable only by admin)? 1 = YES, 0 = NO */
$settings['use_private']=1;
/* Hide e-mail addresses? 1 = YES, 0 = NO */
$settings['hide_emails']=1;
/* Allow smileys? 1 = YES, 0 = NO */
$settings['smileys']=1;
/* Send you an e-mail when a new entry is added? 1 = YES, 0 = NO */
$settings['notify']=0;
/* Your e-mail. Only required if $settings['notify'] is set to 1 */
$settings['admin_email']='you@yourdomain.com';
/* URL of the gbook.php file. Only required if $settings['notify'] is set to 1 */
$settings['gbook_url']='http://www.domain.com/guestbook/gbook.php';
/* Filter bad words? 1 = YES, 0 = NO */
$settings['filter']=1;
/* Filter language. Please refer to readme for info on how to add more bad words to the list! */
$settings['filter_lang']='en';
/* Prevent automated submissions (recommended YES)? 0 = NO, 1 = YES, GRAPHICAL, 2 = YES, TEXT */
$settings['autosubmit']=0;
/* Checksum - just type some digits or chars. Used to help prevent SPAM */
$settings['filter_sum']='k39dw28rh3';
/* Use JunkMark(tm) SPAM filter (recommended YES)? 1 = YES, 0 = NO */
$settings['junkmark_use']=1;
/* JunkMark(tm) score limit after which messages are marked as SPAM */
$settings['junkmark_limit']=60;
/* Ban IP address if JunkMark(tm) score is 100 (100% SPAM)? 1 = YES, 0 = NO */
$settings['junkmark_ban100']=1;
/* Ignore proxy servers from JunkMark check? 1 = YES, 0 = NO */
$settings['ignore_proxies']=0;
/* Show "NO GUESTBOOK SPAM" banner? 1 = YES, 0 = NO */
$settings['show_nospam']=0;
/* Prevent multiple submissions in the same session? 1 = YES, 0 = NO */
$settings['one_per_session']=1;
/* Maximum chars word length */
$settings['max_word']=75;
/* Language file */
$settings['language']='language.inc.php';
/* Allow IPv6 format? 1 = YES, 0 = NO */
$settings['allow_IPv6']=0;
/* DO NOT EDIT BELOW */
if (!defined('IN_SCRIPT')) {die('Invalid attempt!');}
ini_set('display_errors', 0);
ini_set('log_errors', 1);
?>
</head>
<body>
</body>
</html>
And this is the only bit I changed in the gbook.php:
Code: Select all
//-->
</script>
</head>
<body>
';
include_once 'header.txt';
echo '<h3 style="text-align:center">'.$settings['gbook_title'].'</h3>
<p style="text-align:center">
<a href="gbook.php">'.$lang['t60'].'</a>
| <a href="gbook.php?a=sign">'.$lang['t48'].'</a></p>
<div class="centered">
';
} // END printTopHTML
should have them back tomorrow though
Oh nearly forgot to mention I also changed some of the colours in the style.css but nothing else so can't imagine that would have caused it!
I might be a total Noob, but i'm trying.....very trying!
Hello Benn,
In your settings.php file, i found following code. It should not be there (is not there in original file in the GBook package):
At start of file and at end of file: Although, when i test it, it is not causing any errors here.
Also in your settings.php you have
Unless you also deleted all references to these deleted variables in your gbook.php file you should change them back, but leave the values empty, like this this way, you could use them when you have a use for them.
But as far as i know, it is not causing your problems.
It could be a problem in your changed style.css file.
Did you accidentally delete a } or forget a ; in the style definition (i forget the semi-colons often myself).
I have to wait for your guestbook to come online and you post a link to really tell you what is wrong.
Have you changed the header.txt or footer.txt file (you say you changed nothing besides what you already mentioned, but can't think of anything else)?
Greetings,
Henrie
In your settings.php file, i found following code. It should not be there (is not there in original file in the GBook package):
At start of file
Code: Select all
<html dir="ltr">
<head>
<title></title>
Code: Select all
</head>
<body>
</body>
</html>
Also in your settings.php you have
Code: Select all
/* Website title */
/* Website URL */
/* Guestbook title */
Code: Select all
/* Website title */
$settings['website_title']="";
/* Website URL */
$settings['website_url']='';
/* Guestbook title */
$settings['gbook_title']="";
But as far as i know, it is not causing your problems.
It could be a problem in your changed style.css file.
Did you accidentally delete a } or forget a ; in the style definition (i forget the semi-colons often myself).
I have to wait for your guestbook to come online and you post a link to really tell you what is wrong.
Have you changed the header.txt or footer.txt file (you say you changed nothing besides what you already mentioned, but can't think of anything else)?
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.
Don't ask me how but it's fixed!!, In fact it's better than fixed..
Before I lost my buttons it worked, but only if I disabled the security code requirement.
The I lost all my navigation buttons (nothing to do with g-book I might add, just me being thick, while working on another aspect of the site!)
Anyway got the navigation buttons back, installed a clean gbook.php and settings.php, and tested it, all working fine.
Removed the t61 reference from gbook.php and //'d a couple of the lines in settings.php now not only does it not screw up the formatting, but the securty code works as well!!
Like I said no idea why but now it works I'm as happy as, in fact happier than, Larry

Before I lost my buttons it worked, but only if I disabled the security code requirement.
The I lost all my navigation buttons (nothing to do with g-book I might add, just me being thick, while working on another aspect of the site!)
Anyway got the navigation buttons back, installed a clean gbook.php and settings.php, and tested it, all working fine.
Removed the t61 reference from gbook.php and //'d a couple of the lines in settings.php now not only does it not screw up the formatting, but the securty code works as well!!
Like I said no idea why but now it works I'm as happy as, in fact happier than, Larry

I might be a total Noob, but i'm trying.....very trying!
Spam getting through in 1.6
I have been using version 1.5 for ages with no spam. All of a sudden in the last 2 months I have had over 3 pages of spam. I read the sticky and upgraded to 1.6. Already I have had my 1st spam message. Is there anything else I can do? Maybe I am missing something in the setup.
Any advise would be much appreciated.
Regards
Any advise would be much appreciated.
Regards
You do have the anti-spam image and JunkMark filter enabled? If yes try this trick:
viewtopic.php?p=9152#9152
viewtopic.php?p=9152#9152
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