Status: offline

geirj

Forum User
Junior
Registered: 11/15/03
Posts: 19
Just wondering if somebody could try and sign my guestbook, and post back with any error-messages.

A friend of me told me he had tryed, but got an error saying something about 'Anti-Leech'..?? I'v tryed signing it my self, and it seems to work.

The guestbook can be found here

Thanks.

(The messages already there, have been imported from another guestbook)


Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
works for me

Status: offline

geirj

Forum User
Junior
Registered: 11/15/03
Posts: 19
Thank's for helping out geKow.

Seems like my friend, who ain't to familiar with computers and internet is the one doing somthing wrong.

Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
funny thing was: I get a mail about my new entry in your guestbook

geKow

Status: offline

geirj

Forum User
Junior
Registered: 11/15/03
Posts: 19
Quote by geKow: funny thing was: I get a mail about my new entry in your guestbook

geKow



Well, ever since I installed and modifyed geekbook, it has been behaving a little strange...

The first thing i noticed was that all registred users got an "Admins Only" - block, where they could edit and delete guestbook entrys. I have now idea how this is possible, I thought that only admins had access to those sort of things.

So I disabled the geekbook under my admin-->plugins menu.
I then logged out and tryed logging in as a normal user. The admin block was gone.
I then tryed to sign the guestbook, and it worked. A little strange considering it's disabled..

And now the 'email notification you pointed out. (Thanks for letting me now )

I think I have solved it by removing the following code from gkaddentry.php:

//Notify of new messages
if($notifynew = 1){
$subject = "NOTICE: You have a New Guestbook Entry";

$headers .= "MIME-Version: 1.0rn";
$headers .= "Content-type: text/html; charset=iso-8859-1rn";
$headers .= "From: ".$email."
rn";
$headers .= "To: ".$adminemail."
rn";
$headers .= "Reply-To: ".$email."
rn";
$headers .= "X-Priority: 1rn";
$headers .= "X-MSMail-Priority: Highrn";
$headers .= "X-Mailer: GeekBook server";
$comments="Entry made on $date by $namern Comments: $comment";

mail($adminemail, $subject, $comments, $headers);
}

(First I tryed setting $notifynew = 0 in gbfunctions.php, but it didn't work)






EDIT:
Back to my friend who got that "Anti-Leech" error when he tryed to sign the guestbook.
When I was looking through the code in gkaddentry.php, i found this:

// add upper case referrers
$httprefer = stripslashes($HTTP_REFERER);
if(ereg("$HTTP_HOST",$httprefer))
{
// Continue
}else{
echo COM_startBlock('Anti-Leech');
echo "Please enter through $hostname to perform this operation.";
echo COM_endBlock();
echo COM_siteFooter(true);
exit;
}

Do you know what this means / does?

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
BTW signing you guestbook works fine, but it's a pity that it shows my e-mail adress. I don't have ANY spam at the moment and would like to keep it that way...So please delete my entry...
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

geirj

Anonymous
Hi there beewee.
Your post has been deleted.

It's been a long time since I put up the guestbook, and I'v done a few modifications to it since my last post here in the forum.
It's working ok now, but like you pointed out, the fact that it shows the e-mail addresses might be a problem. I'll try and fix it later.