Hello Jonathan,

Thanks. I will try your suggestion.

Regards

 
Olugbenga Adara


Skype: gbengaadara
Blog: http://gbengaadara.blogspot.com
Twitter: http://twitter.com/gbengaadara
Profile: http://www.linkedin.com/in/gbengaadara


>________________________________
> From: Jonathan Druart <jonathan.dru...@biblibre.com>
>To: Olugbenga Adara <gbengaad...@yahoo.com> 
>Cc: "koha@lists.katipo.co.nz" <koha@lists.katipo.co.nz> 
>Sent: Thursday, August 29, 2013 3:35:42 AM
>Subject: Re: [Koha] Enhanced messages
> 
>
>Hello Olugbenga,
>
>You have to switch on the EnhancedMessagingPreferences for theses
>messages to be sent.
>
>If you want to enable options for all patrons, you must do that in the
>cli of your dbms.
>
>For example, for Item checkout and Item check-in:
>
>insert into borrower_message_preferences(borrowernumber,message_attribute_id)
>select borrowernumber, 5 from borrowers;
>insert ignore into
>borrower_message_transport_preferences(borrower_message_preference_id,
>message_transport_type) select borrower_message_preference_id, 'email'
>from borrower_message_preferences where message_attribute_id = 5;
>
>insert into borrower_message_preferences(borrowernumber,message_attribute_id)
>select borrowernumber, 6 from borrowers;
>insert ignore into
>borrower_message_transport_preferences(borrower_message_preference_id,
>message_transport_type) select borrower_message_preference_id, 'email'
>from borrower_message_preferences where message_attribute_id = 6;
>
>The 5 and 6 values correspond to the message_attribute_id in the
>message_attributes table (select * from message_attributes;)
>
>Regards,
>Jonathan
>
>2013/8/28 Olugbenga Adara <gbengaad...@yahoo.com>:
>>
>>
>> Hello all,
>>
>> Is it possible to have all Koha patrons get messages like checkin, checkout 
>> etc without setting the
>> EnhancedMessagingPreferences to Allow? I had assumed that this was not 
>> necessary but Koha was not sending messages until I turned this on and 
>> enabled it for the patron.
>>
>> If the EnhancedMessagingPreferences must be set, is there any way to auto 
>> enable the messaging options for all patrons who are already on the system 
>> as a default?
>>
>> I am running 3.12.3 on Debian 7
>>
>>
>> Thanks
>>
>> Olugbenga Adara
>>
>>
>> Skype: gbengaadara
>> Blog: http://gbengaadara.blogspot.com
>> Twitter: http://twitter.com/gbengaadara
>> Profile: http://www.linkedin.com/in/gbengaadara
>> _______________________________________________
>> Koha mailing list  http://koha-community.org
>> Koha@lists.katipo.co.nz
>> http://lists.katipo.co.nz/mailman/listinfo/koha
>_______________________________________________
>Koha mailing list  http://koha-community.org
>Koha@lists.katipo.co.nz
>http://lists.katipo.co.nz/mailman/listinfo/koha
>
>
>
_______________________________________________
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to