Page 1 of 1

I use your guestbook

Posted: 13 Feb 2008, 14:59
by wolfsauge
I use your guestbook version 1.1.2 - many thanks for it, works fine.
Now I see there is an upgrade to version 1.1.4, but no installation guide. Does that mean I have to uninstall the old version and then re-install the new one, or simply overwrite the old files? Or what?
Can you help?
Best wishes
wolfsauge

Simply overwrite the

Posted: 13 Feb 2008, 16:17
by Jan
Simply overwrite the files ... e.g. via FTP

ZIP file:

all folders except: front, language, other to:
administrator/components/com_phocaguestbook/

front folder to:
components/com_phocaguestbook/

language files in language folder to langugage folders in front and admin too.

Jan

Thank you very much.

Posted: 14 Feb 2008, 10:00
by wolfsauge
Thank you very much.
But I seem to have another problem.
The guestbook is one week and the spammer already have discovered the site.
Is there a way to check the entries before they are published?
Best wishes
wolfsauge

You can enable: only

Posted: 14 Feb 2008, 14:41
by Jan
You can enable: only registered users can leave message... I think it is better solution than if user leaves a message and nothing happanes because he must wait if the admin have time to publish the message... Because if you get message from spammer and this message will be unpublished, you have still stored this message in database ...

Jan

Hi Jan, i'

Posted: 14 Mar 2008, 19:01
by PhocaUser
Hi Jan,
i'm also getting more and more spam on the guestbook...
I agree with wolfsauge that it would be helpful if the entries would be unpublished by default and the administrator gets an email, so the admin could have control, whats published.
Would be great, if you could add this function as an option! Because otherwise i will have to use a different guestbook...

The option that only registered users can post entries dosnt help me, because most entries are posted by guests.

Best Regards
PhocaUser

Yes, but with disabl

Posted: 14 Mar 2008, 23:40
by Jan
Yes, but with disabling of messages, you still get these spams, only they will be not displayed...

But there is no problem that I want not to do it, there is a problem of my time, still no time to do these changes ...

PhocaUser:&quo

Posted: 18 Mar 2008, 13:16
by steve
PhocaUser:
"I agree with wolfsauge that it would be helpful if the entries would be unpublished by default and the administrator gets an email, so the admin could have control, whats published."

here i have an easy hotfix for you by hacking 1 file...
yes i agree it would be great to have that as an option/parameter.

find this line (around l.48) in /components/com_phocaguestbook/controllers/phocaguestbook.php

$post['published'] = (int) 1;

and change it to
$post['published'] = (int) 0;


then all entries are unpublished by default.

to send an email on each new entry add this around line 315:


if ($model->store($post))
{
$msg = JText::_( 'Phoca Guestbook Item Saved' );
$emailbody = "Name: $post[username] <$post[email]>\nTitle: $post[title]\nContent
:\n$post[content]";
JUtility::sendMail('','','yourmail@adress.com','neuer Gaestebucheintrag',$emailb
ody);
}



and replace yourmail@adress.com with your mail adress of course.

Hi, please wait for

Posted: 18 Mar 2008, 14:07
by Jan
Hi, please wait for 1.3.0 version:

- added new Captcha (you can select if you want to display standard Captcha or Math Captcha or both - will be random selected)
- you can define the characters which will be displayed in Captcha
- you can send the e-mail to administrator or super administrator or user if new message will be added
- you can delete and unpublish messages in the frontend if you are logged as administrator or super administrator
- you can set that the message will be unpublished - administrator must review it...

I am testing it now, see demo:
https://www.phoca.cz/phocagallery/demo/i ... tbook-demo