Ive just looked at the code and realised that you will get emails when a
new entry is added.
For the moment the easiest way to stop this is to add the line
$need_to_send_mail = FALSE;
near the beginning of edit_entry_handler.php, just after the lines
require_once "defaultincludes.inc";
require_once "mrbs_sql.inc";
That should fix it for your case. But I think we will also look at (after
the 1.4.5 release) changing the settings so that you can specify separately
whether you want emails on (a) deleted, (b) new, (c) changed entries.
Campbell
From: Campbell Morrison [mailto:***@gmail.com]
Sent: 17 November 2010 16:14
To: 'General purpose list (support/developers/users)'
Subject: Re: [MRBS-general] MRBS - Problem to configure notification when a
user deletes a booking
Have you got
$mail_settings['admin_all'] = FALSE;
?
Campbell
From: Céline Grousson [mailto:***@mines-nantes.fr]
Sent: 17 November 2010 16:09
To: General purpose list (support/developers/users)
Subject: Re: [MRBS-general] MRBS - Problem to configure notification when a
user deletes a booking
Hello Campbell,
Tanks for your help.
I set these variables to TRUE and I receive many notifications when the
reservation is deleted, but I also receive a notification when the
reservation is added, is this normal?
Can we only receive notifications when reservations are removed?
Céline.
Le 17 nov. 2010 à 16:34, Campbell Morrison a écrit :
You need to set the following in your config file:
$mail_settings['area_admin_on_bookings'] = TRUE; // the area administrator
$mail_settings['room_admin_on_bookings'] = TRUE; // the room administrator
$mail_settings['admin_on_delete'] = TRUE; // when an entry is deleted
$mail_settings['details'] = TRUE;
This will notify the room and area admins when a reservation is deleted.
Campbell
From: Céline Grousson [mailto:***@mines-nantes.fr]
Sent: 17 November 2010 15:24
To: General purpose list (support/developers/users)
Subject: Re: [MRBS-general] MRBS - Problem to configure notification when a
user deletes a booking
Hello,
Thank you for your answers.
We are able to use a notification when a user deletes a reservation but when
a user adds a reservation.
We want to know when a user deletes the reservation, but not when it adds
reservation.
Is this possible?
Thank you for your reply
Écouter
Céline.
Le 16 nov. 2010 à 18:15, John Beranek - MRBS Developer a écrit :
On 16/11/10 14:14, John Beranek - MRBS Developer wrote:
On 16/11/10 13:22, Céline Grousson wrote:
Hello,
In my school, we decided to update our version of MRBS with the new
version and we discover there is a feature that allows you to send a
notification when a user deletes the booking.
You've detected a bug in MRBS, well done!
You can fix MRBS by changing web/language.inc. You don't say which
version of MRBS you've upgraded to, so I'll give you the fix for the
latest version, 1.4.5rc2.
OK, listen to Campbell, not me. I had it wrong. ;)
Cheers,
John.
--
John Beranek - MRBS Developer <http://mrbs.sourceforge.net/>
To generalise is to be an idiot.
-- William Blake
----------------------------------------------------------------------------
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
mrbs-general mailing list
mrbs-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mrbs-general
Want to unsubscribe:
mailto:mrbs-general-***@lists.sourceforge.net?subject=unsubscribe
Céline BENOIT GROUSSON
Chargée de projets pédagogiques et techniques
CAPE, Centre dAppui aux Pratiques dEnseignement
École des Mines de Nantes
La Chantrerie
4, rue Alfred Kastler. B.P. 20722
F-44307 NANTES Cedex 3
Tel: +33 - (0)2 51 85 82 29
mail: ***@mines-nantes.fr
----------------------------------------------------------------------------
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev_________________________________________
______
mrbs-general mailing list
mrbs-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mrbs-general
Want to unsubscribe:
mailto:mrbs-general-***@lists.sourceforge.net?subject=unsubscribe
Céline BENOIT GROUSSON
Chargée de projets pédagogiques et techniques
CAPE, Centre dAppui aux Pratiques dEnseignement
École des Mines de Nantes
La Chantrerie
4, rue Alfred Kastler. B.P. 20722
F-44307 NANTES Cedex 3
Tel: +33 - (0)2 51 85 82 29
mail: ***@mines-nantes.fr