Page 1 of 1
IP ADDRESS
Posted: Thu Jun 03, 2010 3:51 pm
by mirnot
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:
does the "IP" option allow me to see where the spam came from?
when i set up my gbook i deleted the "IP" image.
wondering if i put it back on, is there anyway to block messages coming frim specific addresses?
is so how do i reinstate it?
thanks
Posted: Thu Jun 03, 2010 9:19 pm
by Henrie
mirnot wrote:does the "IP" option allow me to see where the spam came from?
Yes, when clicking the IP image you will be able to see the IP-address of the poster of the message, after you have entered your admin password.
mirnot wrote:wondering if i put it back on, is there anyway to block messages coming frim specific addresses?
When clicking the IP image, you also get the option to ban this IP address.
mirnot wrote:is so how do i reinstate it?
You should copy the original comments.php file from the GBook you downloaded from
www.phpjunkyard.com. It is placed in the templates/default/ folder.
Or you could add
Code: Select all
<a href="gbook.php?a=viewIP&num=<?php echo $i; ?>"><img src="<?php echo $settings['tpl_path']; ?>images/ip.gif" alt="<?php echo $lang['t09']; ?>" class="gbook_nobrd" title="<?php echo $lang['t09']; ?>" /></a>
to your current comments.php file.
Greetings,
Henrie
Posted: Fri Jun 04, 2010 12:00 am
by mirnot
i have gbook 1.43
i dont see an option to ban the ip
could i?
Posted: Fri Jun 04, 2010 5:19 am
by Henrie
Hello mirnot,
No you can not see an option to ban the IP when you are using GBook 1.43. The ban IP function was added in GBook version 1.5.
You did not say what version you were using, so i presumed you were using the latest version (which is version 1.7).
Greetings,
Henrie
Posted: Fri Jun 04, 2010 1:30 pm
by mirnot
OK
if i want to update do i have to overwrite my gbook.php script or are there newer files to upload?
there is a lot of html on the look and set up of my gbook in the php script.
i dont know php well and i always get messed up fixing htings up.
thanks
Posted: Sat Jun 05, 2010 5:39 am
by Henrie
Hello mirnot,
As you did not post a link to your guestbook, I can not see how much you changed. But with GBook version 1.7 a template function was introduced, so you would have to totally redo your guestbook. The only thing you can re-use are the entries.txt (or whatever you have named it), header.txt and footer.txt files (and possibly the badwords file en.php).
Greetings,
Henrie
Posted: Sun Jun 06, 2010 3:34 am
by mirnot
Posted: Sun Jun 06, 2010 7:17 am
by Henrie
It would require some editing as you have moved some texts. But I don't think it would be to hard to do.
But you have to edit it, so it really is your call. I would prepare the new version in a different folder untill you have it as you want it to be and only than replace the old version.
And you can always ask here in the forum when you have problems.
Greetings,
Henrie
Posted: Sun Jun 06, 2010 3:38 pm
by mirnot
Thanks
I will give it a try.