Update?

Phoca Guestbook - creating guestbooks in Joomla! CMS
wolfsauge
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 13 Feb 2008, 14:57
Location: Netherlands

I use your guestbook

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Simply overwrite the

Post 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
If you find Phoca extensions useful, please support the project
wolfsauge
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 13 Feb 2008, 14:57
Location: Netherlands

Thank you very much.

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

You can enable: only

Post 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
If you find Phoca extensions useful, please support the project
PhocaUser
Phoca Member
Phoca Member
Posts: 13
Joined: 07 Feb 2008, 18:38
Location: Switzerland
Contact:

Hi Jan, i'

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Yes, but with disabl

Post 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 ...
If you find Phoca extensions useful, please support the project
steve
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 03 Mar 2008, 14:16
Contact:

PhocaUser:&quo

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi, please wait for

Post 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
If you find Phoca extensions useful, please support the project
Post Reply