Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 136 of 807  Not logged in ELOG logo
icon5.gif   'Click through' order of elog enteries, posted by Fergus Lynch on Mon Jun 5 14:19:52 2006 
Hi There,

When you find a set of records in ELOG and then 'click through' the returned list it runs through then in order of ID. - I s there a way to modify this behaviour?

Many Thanks
Fergus
    icon2.gif   Re: 'Click through' order of elog enteries, posted by Stefan Ritt on Tue Jun 6 16:20:42 2006 

Fergus Lynch wrote:
Hi There,

When you find a set of records in ELOG and then 'click through' the returned list it runs through then in order of ID. - I s there a way to modify this behaviour?

Many Thanks
Fergus


Unfortunately not.
icon1.gif   Change default for suppressing email notification and/or targeting entries manually, posted by Alan Stone on Thu Jun 22 16:01:58 2006 
I want to change the default for suppressing email notification.

I want to be able to send email to Elog subscribers and to other people
not yet subscribed to the Elog. However, after polling the current
subscribers, they do NOT want to receive email notification for every
new Elog entry by default.

Instead of toggling the "Suppress Email notification", I would like
to toggle "Send Email notification".

I would also like the option to add additional email addresses on the fly.

Thanks in advance for any help.
Alan
    icon2.gif   Re: Change default for suppressing email notification and/or targeting entries manually, posted by Stefan Ritt on Thu Jun 22 17:19:32 2006 

Alan Stone wrote:
I want to be able to send email to Elog subscribers and to other people
not yet subscribed to the Elog. However, after polling the current
subscribers, they do NOT want to receive email notification for every
new Elog entry by default.


The admin user can change the email subscriptions to all users in the Config page, so you just have to go through each user. Alternatively, you can stop the elog server, change the password file manually in any editor, and then restart the elog server.


Alan Stone wrote:
I would also like the option to add additional email addresses on the fly.


You have to change the config file to add new email addresses or you have to add new users.
    icon2.gif   Re: Change default for suppressing email notification and/or targeting entries manually, posted by Alan Stone on Thu Jun 22 20:43:39 2006 
Thank you for your response. I do not think I posed my questions clearly. Let me try a different way.

If I set the following logbook configuration:

Suppress Email to users = 0

then, every time someone makes a new entry to that logbook, all subscribers get an email, unless
someone checks the "Suppress Email notification" box.

I want to preserve the configuration option. However, I want to invert the default check box, so
that no email is sent to subscribers unless someone takes the extra step to check a box which might
read "Send Email notification".

> You have to change the config file to add new email addresses or you have to add new users.

That would not work for non-admins. I was looking for a non-required
"email to/cc/send to" attribute. Obviously, one can just cut and paste
the entry into your email application.


Stefan Ritt wrote:

Alan Stone wrote:
I want to be able to send email to Elog subscribers and to other people
not yet subscribed to the Elog. However, after polling the current
subscribers, they do NOT want to receive email notification for every
new Elog entry by default.


The admin user can change the email subscriptions to all users in the Config page, so you just have to go through each user. Alternatively, you can stop the elog server, change the password file manually in any editor, and then restart the elog server.


Alan Stone wrote:
I would also like the option to add additional email addresses on the fly.


You have to change the config file to add new email addresses or you have to add new users.
    icon2.gif   Re: Change default for suppressing email notification and/or targeting entries manually, posted by Stefan Ritt on Thu Jun 22 21:02:16 2006 

Alan Stone wrote:
However, I want to invert the default check box, so that no email is sent to subscribers unless someone takes the extra step to check a box which might read "Send Email notification".


Ahh, now I understand Wink
Suppress default =1

should do the job.
icon1.gif   Setting Subject for ELog email notification, posted by Alan Stone on Wed Jul 12 17:52:45 2006 
Hi,

I have the following elogd.cfg syntax:

; Email notification
Suppress Email to users = 1
Omit Email To = 1
User Email Subject = $subject
Use Email Heading Edit = $subject
Email Report Notify-CMSROC = alstone@fnal.gov

However, the resulting email is not exactly what I want:

*****************************************
Date: Wed, 12 Jul 2006 10:43:09 -0500
From: Alan Stone <alstone@fnal.gov>
To: ELOG@fnal.gov
Subject: New ELOG entry


A new entry has been submitted on nippon.fnal.gov:

Logbookcmsroc
AuthorAlan Stone
SystemAdmin
ReportNotify-CMSROC
Subjecttest email subject again
Logbook URLhttp://nippon.fnal.gov:8081/cmsroc/85
***************************************************

1) The subject is using some default, instead of capturing the $subject string (as
it does with Reply).

2) I want to control the output header "A new entry...".

3) The formatting of email body is awkward. For example, "AuthorAlan Stone"
should have at least a space, and maybe a hyphen or colon, "Author: Alan Stone"

Any help would be appreciated.

Thanks, Alan
    icon2.gif   Re: Setting Subject for ELog email notification, posted by Stefan Ritt on Thu Jul 13 08:11:33 2006 

Alan Stone wrote:
Hi,

I have the following elogd.cfg syntax:

; Email notification
Suppress Email to users = 1
Omit Email To = 1
User Email Subject = $subject
Use Email Heading Edit = $subject
Email Report Notify-CMSROC = alstone@fnal.gov

1) The subject is using some default, instead of capturing the $subject string (as
it does with Reply).


You made a typo. It should be

Use Email Subject = $subject

instead of User Email ...


Alan Stone wrote:
2) I want to control the output header "A new entry...".


You do with with

Use Email Heading = $subject

The option Use Email Heading Edit = $subject is only for entries which are edited (as opposed to new entries). Just read the manual!


Alan Stone wrote:
3) The formatting of email body is awkward. For example, "AuthorAlan Stone"
should have at least a space, and maybe a hyphen or colon, "Author: Alan Stone"


The email is formatted in HTML. Standard email programs like Thunderbird display them properly. If you email client has a problem with it, you can switch to plain text encoding with

Email encoding = 1

Best regards,

Stefan
ELOG V3.1.5-3fb85fa6