Welcome to Geeklog Monday, December 16 2019 @ 12:29 am EST

Geeklog Forums

Could somebody try to sign my guestbook (geekbook)?


Status: offline

geirj

Forum User
Junior
Registered: 15/11/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. Rolling Eyes

The guestbook can be found here

Thanks.

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

 Quote

Status: offline

geKow

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

Status: offline

geirj

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

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

Status: offline

geKow

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

geKow
 Quote

Status: offline

geirj

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

geKow


Eek! Big Grin
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.. Smile

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

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?
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?
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
 Quote

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.


 Quote

All times are EST. The time is now 12:29 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content