Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 170 of 238  Not logged in ELOG logo
icon13.gif   Elog v2.6.2-1722 appears to have broken "Suppress default [0|1|2|3]" option on Windows XP box, posted by Gregory M. Caughey on Wed Oct 11 11:37:03 2006 
Hi Stefan!

Been running Elog-2.6.2-1714 successfully for a while and yesterday decided to download and experiment with the latest Elog-2.6.2-1722 build. I want to report a possible bug involving the "Suppress default" option when running build 2.6.2-1722 on a Windows XP laptop. I installed 2.6.2-1722 into a development folder and copied my current production 'elogd.cfg' file and other custom files to the development folder. Test postings produced the following results:

1.) The "Suppress default [0|1|2|3]" option causes the [] Suppress Email notification to display or not display as expected.

2.) However, email notifications will be sent under all circumstances regardless of which parameter selected.

3.) Downgrading to Elog-2.6.2-1714 produces the expected behavior.

I am running Windows XP with all current upgrades and security patches and Internet Explorer 7 - version: 7.0.5700.6

Regards, Greg
    icon2.gif   Re: Elog v2.6.2-1722 appears to have broken "Suppress default [0|1|2|3]" option on Windows XP box, posted by Stefan Ritt on Wed Oct 11 11:47:29 2006 

Gregory M. Caughey wrote:
2.) However, email notifications will be sent under all circumstances regardless of which parameter selected.


Thanks for reporting that problem. I just implemented Suppress email on edit and this could have had some side effect. I tried however to reproduce your problem and was not able to. Trying the "minimal" configuration file, the email notifications were suppressed if the check box was checked, or if Suppress default = 3. Can you check if it works with a minimal config file, and if yes, what option in your "full" config file causes this effect?
       icon3.gif   Re: Elog v2.6.2-1722 appears to have broken "Suppress default [0|1|2|3]" option on Windows XP box, posted by Gregory M. Caughey on Wed Oct 11 19:37:10 2006 Capture10-11-2006-5.05.21_AM.jpgCapture10-11-2006-5.06.40_AM.jpgCapture10-11-2006-5.09.34_AM.jpg

Stefan Ritt wrote:

Gregory M. Caughey wrote:
2.) However, email notifications will be sent under all circumstances regardless of which parameter selected.


Thanks for reporting that problem. I just implemented Suppress email on edit and this could have had some side effect. I tried however to reproduce your problem and was not able to. Trying the "minimal" configuration file, the email notifications were suppressed if the check box was checked, or if Suppress default = 3. Can you check if it works with a minimal config file, and if yes, what option in your "full" config file causes this effect?

OK, you're absolutely correct. When I run Elog-2.6.2-1722 with a minimal 'elogd.cfg' the "Suppress default [0|1|2|3]" flag does appear to behave as expected. Taking your advice I went through my local 'elogd.cfg' evaluating items to see where the problem starts and I found a problem. In my local config file I use conditional attributes to modify the "category" and "type" fields (in the posting form) and here is what I'm finding wrong. For this example I have set "Suppress default = 3" and the following actions take place:

1.) Select "New" to begin a post and the form displays correctly with NO "[] Suppress Email notification" checkbox showing.

2.) When selecting "Category" an choosing an appropriate menu item the form is then redrawn and now there is a problem, the "[] Suppress Email notification" checkbox is displaying. The checkbox does work correctly but the behavior I'm expecting is for no checkbox to display during the composition of this posting. Am I misunderstanding the behavior of the "Suppress default = 3" flag?

3.) Each of the other flag parameters appear to work as expected as used in the above example.

I have attached screenshots that demonstrate this behavior as well as a snippet of the 'elogd.cfg' file.

Hope this helps a little...

Thanks, Greg
          icon2.gif   Re: Elog v2.6.2-1722 appears to have broken "Suppress default [0|1|2|3]" option on Windows XP box, posted by Stefan Ritt on Fri Oct 13 16:59:13 2006 

Gregory M. Caughey wrote:
Hope this helps a little...


Yepp it helped. I could reproduce your problem and fix it. Can you try elog262-4.exe (Revision 1729)?
             icon2.gif   Re: Elog v2.6.2-1722 appears to have broken "Suppress default [0|1|2|3]" option on Windows XP box, posted by Gregory M. Caughey on Sat Oct 14 10:01:17 2006 

Stefan Ritt wrote:

Gregory M. Caughey wrote:
Hope this helps a little...


Yepp it helped. I could reproduce your problem and fix it. Can you try elog262-4.exe (Revision 1729)?

Hi Stefan!
Just installed elog-2.6.2-1729 and it's working perfectly. I haven't had enough time to test it thoroughly yet but will report any problems I might find. As always thanks for your excellent work, I appreciate it.

Regards, Greg
icon7.gif   Turn off smileys?, posted by Ben Shepherd on Thu Aug 24 11:12:18 2006 
Can we please have an option to turn off the thing that changes smileys automatically into pictures?

cheers

ben
    icon2.gif   Re: Turn off smileys?, posted by Stefan Ritt on Tue Oct 10 09:00:08 2006 

Ben Shepherd wrote:
Can we please have an option to turn off the thing that changes smileys automatically into
pictures?


Two ways:

  • Submit your entry in plain mode (insted of ELCode)
  • Put a \ in front of anything which is turned into a smiley, so ;) gets converted into Wink, but \;) does not get converted
       icon2.gif   Re: Turn off smileys?, posted by Ben Shepherd on Tue Oct 10 11:13:16 2006 

Stefan Ritt wrote:

  • Submit your entry in plain mode (insted of ELCode)
  • Put a \ in front of anything which is turned into a smiley, so ;) gets converted into Wink, but \;) does not get converted


I realise that's possible, but things are getting converted into smileys that aren't intended to be smileys. Specifically, when I enter a question in brackets, the end bracket is converted into a smiley. (Like this?) should be (Like this\?). That is very annoying, and to be honest, I don't need the smileys. An option to switch them off would be the best thing.
          icon2.gif   Re: Turn off smileys?, posted by Stefan Ritt on Tue Oct 10 11:27:30 2006 

Ben Shepherd wrote:

Stefan Ritt wrote:

  • Submit your entry in plain mode (insted of ELCode)
  • Put a \ in front of anything which is turned into a smiley, so ;) gets converted into Wink, but \;) does not get converted


I realise that's possible, but things are getting converted into smileys that aren't intended to be smileys. Specifically, when I enter a question in brackets, the end bracket is converted into a smiley. (Like this?) should be (Like this\?). That is very annoying, and to be honest, I don't need the smileys. An option to switch them off would be the best thing.


I agree that the ?) smiley is annoying, so I changed it to ?-) which should prevent it from showing up in questions in brackets. I updated this server (you can see the effect above), the modification is committed to subversion.
             icon2.gif   Re: Turn off smileys?, posted by Ben Shepherd on Tue Oct 10 11:36:13 2006 

Stefan Ritt wrote:

I agree that the ?) smiley is annoying, so I changed it to ?-) which should prevent it from showing up in questions in brackets. I updated this server (you can see the effect above), the modification is committed to subversion.


Thanks a lot! I'm going to pester you though - it would be really good if there was an option to turn them off completely. Surely it can't be a huge amount of work... ?
                icon2.gif   Re: Turn off smileys?, posted by Stefan Ritt on Tue Oct 10 11:45:22 2006 

Ben Shepherd wrote:

Stefan Ritt wrote:

I agree that the ?) smiley is annoying, so I changed it to ?-) which should prevent it from showing up in questions in brackets. I updated this server (you can see the effect above), the modification is committed to subversion.


Thanks a lot! I'm going to pester you though - it would be really good if there was an option to turn them off completely. Surely it can't be a huge amount of work... ?


It's not the amount of work, it the intention to minimize the number of options. If you want a switch for the smileys, the next one wants a switch for automatic hot-linking (like http://...), the next one wants that only certain ELCode options are interpreted, not others, and then we will have a mess. By changing the ?-) definition I hope I have solved most cases without another flag. So either one has the comple ELCode set, or non. In the past I had many suggestions of new flags, which I could solve somehow otherwise. If I would not have done that, the manual would be twice as long by now...
                   icon2.gif   Re: Turn off smileys?, posted by Yoshio Imai on Wed Oct 11 16:03:52 2006 

Stefan Ritt wrote:
Put a \ in front of anything which is turned into a smiley, so ;) gets converted into Wink, but \;) does not get converted

Other suggestion: What about going the other way round and making this
\?)
the smiley and this
?)
the usual question in brackets? If there was a special sequence to announce the unusual case (i.e. the smiley), I think less people would complain about having unwanted conversions ...
                      icon2.gif   Re: Turn off smileys?, posted by Stefan Ritt on Wed Oct 11 16:08:04 2006 

Yoshio Imai wrote:
Other suggestion: What about going the other way round and making this
\?)
the smiley and this
?)
the usual question in brackets? If there was a special sequence to announce the unusual case (i.e. the smiley), I think less people would complain about having unwanted conversions ...


I thought also about that, but people who are use to bulletin boards or instant messaging have the common knowledge that a ;) gives a smiley, not a \;). While it would work with the smiley button, which could insert anything, the "other" half of the people who are used to the standard smileys would complain. So I hope that ?-) is acceptable by both sides.
icon5.gif   "Supress Email Notification" checkbox, posted by Steve Jones on Mon Sep 18 18:36:07 2006 
Is there a way to allow email notification but have the "Suppress Email Notification" checked by default? We had complaints about the enormous amount of email so I turned off email notification for edits/replys, but there are times that I would like to allow email to be sent out -- this would imply allowing email by unchecking the "Suppress" box.
    icon2.gif   Re: "Supress Email Notification" checkbox, posted by Steve Jones on Mon Sep 18 18:56:19 2006 

Steve Jones wrote:
Is there a way to allow email notification but have the "Suppress Email Notification" checked by default? We had complaints about the enormous amount of email so I turned off email notification for edits/replys, but there are times that I would like to allow email to be sent out -- this would imply allowing email by unchecking the "Suppress" box.


What I think would be needed is:
Suppress Email on edit = 0|1|2
                             ^
Where a '2' denotes that the "Suppress Email Notification" shows up but *checked*
       icon2.gif   Re: "Supress Email Notification" checkbox, posted by Stefan Ritt on Fri Sep 22 07:50:39 2006 

Steve Jones wrote:

Steve Jones wrote:
Is there a way to allow email notification but have the "Suppress Email Notification" checked by default? We had complaints about the enormous amount of email so I turned off email notification for edits/replys, but there are times that I would like to allow email to be sent out -- this would imply allowing email by unchecking the "Suppress" box.


What I think would be needed is:
Suppress Email on edit = 0|1|2
                             ^
Where a '2' denotes that the "Suppress Email Notification" shows up but *checked*


Just to a
Suppress default = 1
          icon2.gif   Re: "Supress Email Notification" checkbox, posted by Steve Jones on Fri Sep 22 19:42:21 2006 

Stefan Ritt wrote:

Steve Jones wrote:

Steve Jones wrote:
Is there a way to allow email notification but have the "Suppress Email Notification" checked by default? We had complaints about the enormous amount of email so I turned off email notification for edits/replys, but there are times that I would like to allow email to be sent out -- this would imply allowing email by unchecking the "Suppress" box.


What I think would be needed is:
Suppress Email on edit = 0|1|2
                             ^
Where a '2' denotes that the "Suppress Email Notification" shows up but *checked*


Just to a
Suppress default = 1




Quote:

Not quite what I am looking for. What I need is:

"New" Logs
- Always send an email -- do not provide an option to check the box.
-- use
Suppress Default = 2

"Edits and Replys"
- Provide the option to send an email, but by default the "suppress" box is checked
-- need
Suppress Email on edit = 2 

             icon2.gif   Re: "Supress Email Notification" checkbox, posted by Stefan Ritt on Mon Oct 9 22:32:11 2006 
Suppress email on edit has been implemented in the current SVN revision just similar to the Suppress default flag having possible values of 0, 1, 2 and 3.
                icon14.gif   Re: "Supress Email Notification" checkbox, posted by Steve Jones on Tue Oct 10 23:27:41 2006 

Stefan Ritt wrote:
Suppress email on edit has been implemented in the current SVN revision just similar to the Suppress default flag having possible values of 0, 1, 2 and 3.



Works like a champ! Thanks
icon2.gif   Re: 'Inline' button for attachments, posted by Stefan Ritt on Tue Oct 10 16:09:12 2006 img.jpg

Ben Shepherd wrote:
Hi,

It would be good if when you uploaded an image as an attachment, there was a button next to it that pasted the code
[img]elog:1972/1[/img]
into the log entry. This way, it would be more easy to have inline images in a log entry.


Just hit that button:


and it does exactly what you want.
    icon2.gif   Re: Re: 'Inline' button for attachments, posted by Ben Shepherd on Tue Oct 10 16:15:21 2006 

Stefan Ritt wrote:

Ben Shepherd wrote:
Hi,

and it does exactly what you want.

cool! thanks.
icon3.gif   'Inline' button for attachments, posted by Ben Shepherd on Tue Oct 10 15:32:21 2006 
Hi,

It would be good if when you uploaded an image as an attachment, there was a button next to it that pasted the code
[img]elog:1972/1[/img]
into the log entry. This way, it would be more easy to have inline images in a log entry.

cheers

ben
    icon2.gif   Re: 'Inline' button for attachments, posted by Stefan Ritt on Tue Oct 10 16:09:12 2006 img.jpg

Ben Shepherd wrote:
Hi,

It would be good if when you uploaded an image as an attachment, there was a button next to it that pasted the code
[img]elog:1972/1[/img]
into the log entry. This way, it would be more easy to have inline images in a log entry.


Just hit that button:


and it does exactly what you want.
       icon2.gif   Re: Re: 'Inline' button for attachments, posted by Ben Shepherd on Tue Oct 10 16:15:21 2006 

Stefan Ritt wrote:

Ben Shepherd wrote:
Hi,

and it does exactly what you want.

cool! thanks.
icon3.gif   Append option for elog.exe, posted by Ben Shepherd on Tue Aug 22 10:41:42 2006 
Hi,

Would it be possible to add an 'append' option to the elog.exe client program? I would like to be able to write a simple script for adding images into a logbook - i.e. right-click in Windows and click 'add to log', or click a button in LabVIEW or Matlab and have an image immediately added to the last log entry. There would also have to be an option to either return a list of entry IDs, or just append to the last entry. Is this possible/likely?

cheers

ben
    icon2.gif   Re: Append option for elog.exe, posted by Stefan Ritt on Tue Oct 10 08:56:49 2006 

Ben Shepherd wrote:
Hi,

Would it be possible to add an 'append' option to the elog.exe client program? I would like to be able to write a simple script for adding images into a logbook - i.e. right-click in Windows and click 'add to log', or click a button in LabVIEW or Matlab and have an image immediately added to the last log entry. There would also have to be an option to either return a list of entry IDs, or just append to the last entry. Is this possible/likely?


Unfortunately it is not simple under Windows to extend the right-click functionality. What I do is to use a snapshot program (like HoverSnap). Triggered with a definable hot key, it grabs a region of the screen and puts it into a GIF file. Then you can attach it to an elog. I agree it takes a couple of clicks, but it's still a quick thing.
       icon2.gif   Re: Append option for elog.exe, posted by Ben Shepherd on Tue Oct 10 11:40:47 2006 

Stefan Ritt wrote:

Unfortunately it is not simple under Windows to extend the right-click functionality. What I do is to use a snapshot program (like HoverSnap). Triggered with a definable hot key, it grabs a region of the screen and puts it into a GIF file. Then you can attach it to an elog. I agree it takes a couple of clicks, but it's still a quick thing.


I think you misunderstand me. I was asking whether it would be possible for the elog command-line client program to have an "append to existing entry" option. That program's actually just what I need though - thanks!

ben
          icon2.gif   Re: Append option for elog.exe, posted by Stefan Ritt on Tue Oct 10 11:47:41 2006 

Ben Shepherd wrote:
I think you misunderstand me. I was asking whether it would be possible for the elog command-line client program to have an "append to existing entry" option.


The elog command-line program has a -e switch to edit existing entries, but you need to know the ID of the entry.
             icon2.gif   Re: Append option for elog.exe, posted by Ben Shepherd on Tue Oct 10 11:49:15 2006 

Stefan Ritt wrote:
The elog command-line program has a -e switch to edit existing entries, but you need to know the ID of the entry.


Yes, but if you use -e "text" it replaces the whole entry with "text". So an append option would be really useful...
icon6.gif   Conditional E-Mail Attributes, posted by Grant Jeffcote on Fri Aug 11 21:48:01 2006 
Stefen, is it possible to change an email option using conditional attributes?
I have a need under certain conditions to send an email in plain text (Encoding type 1) but as type 2 under other conditions, it seems when I do the conditional string is ignored and the global entry is used.
Can all email options be actioned using a conditional string, it only seems to work on some?

Shown here are some of the options that would be nice to set under 'conditions'.
Some appear to already work that way.

{2}Email attributes = xxx, xxy,
{2}Email All = dee@sdf.com, def@sdf.com,
{2}Preset text = This is a test
{2}Email Encoding = 1
{2}Use Email Subject = ELOG-ID $message id - Test Company
{2}Use Email Heading = Test Company Operations Report
{2}Use Email From = admin@sdf.com
{2}Suppress Email to users = 1
{2}Email Format = 27
{2}Suppress Email on edit = 1
{2}Suppress default = 2
{2}Display Email recipients = 1
{2}Omit Email To = 1

Any help would be appreciated.
    icon2.gif   Re: Conditional E-Mail Attributes, posted by Stefan Ritt on Tue Aug 15 13:44:45 2006 
Conditional attributes have been made working in email notifications sometime in version 2.6.0. You might have to upgrade to the recent version, but then it should work.
       icon2.gif   Re: Conditional E-Mail Attributes, posted by Grant Jeffcote on Fri Aug 18 14:22:07 2006 

Stefan Ritt wrote:
Conditional attributes have been made working in email notifications sometime in version 2.6.0. You might have to upgrade to the recent version, but then it should work.


I'm using your latest binary release but still can't seem to get the 'Email Encoding' function to be decided under a conditional entry? There are no other references to email encoding in the logbook but it defaults to type 2 on all emails regardless of what the conditional attribute is set to.

Example below:

{1}Email attributes = Event Date, Event Start, Event End,
{1}Email Encoding = 2

{2}Email attributes = Service Affected, Ticker Text,
{2}Email All = seg@sdf.com
{2}Preset text = Ticker Text Entry
{2}Email Encoding = 1

{3}Email attributes = SMS,
{3}Email Encoding = 1
{3}Email All = sdb@sdf.com

Thx


          icon2.gif   Re: Conditional E-Mail Attributes, posted by Stefan Ritt on Fri Aug 18 15:31:53 2006 
If I try that little configuration file:
[global]
port = 8080
password file = passwd
smtp host = your.smpt.host

[demo]
Theme = default
Comment = General linux tips & tricks
Attributes = Author, Type, Category, Subject, Email Type
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Options Email Type = plain{1}, html{2}

{1}Email encoding = 1
{2}Email encoding = 2

then the email encoding changes from plain to HTML depending on the conditional attribute Email Type. Maybe you misunderstood the concept of conditional attributes. In the above config the attribute Email Type determines the condition {1} or {2}, which leads then to different values of the email encoding. But it's important to have the line
Options Email Type = plain{1}, html{2}

in order to set a condition.
             icon2.gif   Re: Conditional E-Mail Attributes, posted by Grant Jeffcote on Sat Aug 19 15:47:52 2006 

Stefan Ritt wrote:
If I try that little configuration file:
[global]
port = 8080
password file = passwd
smtp host = your.smpt.host

[demo]
Theme = default
Comment = General linux tips & tricks
Attributes = Author, Type, Category, Subject, Email Type
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Options Email Type = plain{1}, html{2}

{1}Email encoding = 1
{2}Email encoding = 2

then the email encoding changes from plain to HTML depending on the conditional attribute Email Type. Maybe you misunderstood the concept of conditional attributes. In the above config the attribute Email Type determines the condition {1} or {2}, which leads then to different values of the email encoding. But it's important to have the line
Options Email Type = plain{1}, html{2}

in order to set a condition.


I use conditional attributes to select the fields I would like displayed on a form or page.
I understand how they work but wish to set the Email Encoding automatically depending on which item they choose from a drop down list (ie. which form they are using)

For example, if they choose 'Fred Bloggs' from the conditional drop down attribute 'Name' it will set the page so that only 'Fred Bloggs' required attributes are viewable. I wish to send this page in Plain text when submitted.

If 'Fred Jones' is chosen then only attributes applicable to 'Fred Jones' are shown. When he submits his entry then I need the email to be sent in HTML.

The email encoding option would have to be set under either Fred Bloggs{1} or Fred Jones{2} conditions.

Attributes = Name,

Options Name = Fred Bloggs{1}, Fred Jones{2}

{1}Email encoding = 1
{1}Email All = sed@frd.fg
{2}Email encoding = 2
{2}Email All = sdf@fgd.hg

I can get options like 'Email All = sed@frd.fg' to change to another email address when used as above but not Email formatting.

I have all the other conditional attributes working fine otherwise but would really like to be able to add this option.

Thanks for your help.
                icon2.gif   Re: Conditional E-Mail Attributes, posted by Stefan Ritt on Sat Aug 19 18:45:22 2006 

Grant Jeffcote wrote:

Stefan Ritt wrote:
If I try that little configuration file:
[global]
port = 8080
password file = passwd
smtp host = your.smpt.host

[demo]
Theme = default
Comment = General linux tips & tricks
Attributes = Author, Type, Category, Subject, Email Type
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Options Email Type = plain{1}, html{2}

{1}Email encoding = 1
{2}Email encoding = 2

then the email encoding changes from plain to HTML depending on the conditional attribute Email Type. Maybe you misunderstood the concept of conditional attributes. In the above config the attribute Email Type determines the condition {1} or {2}, which leads then to different values of the email encoding. But it's important to have the line
Options Email Type = plain{1}, html{2}

in order to set a condition.


I use conditional attributes to select the fields I would like displayed on a form or page.
I understand how they work but wish to set the Email Encoding automatically depending on which item they choose from a drop down list (ie. which form they are using)

For example, if they choose 'Fred Bloggs' from the conditional drop down attribute 'Name' it will set the page so that only 'Fred Bloggs' required attributes are viewable. I wish to send this page in Plain text when submitted.

If 'Fred Jones' is chosen then only attributes applicable to 'Fred Jones' are shown. When he submits his entry then I need the email to be sent in HTML.

The email encoding option would have to be set under either Fred Bloggs{1} or Fred Jones{2} conditions.

Attributes = Name,

Options Name = Fred Bloggs{1}, Fred Jones{2}

{1}Email encoding = 1
{1}Email All = sed@frd.fg
{2}Email encoding = 2
{2}Email All = sdf@fgd.hg

I can get options like 'Email All = sed@frd.fg' to change to another email address when used as above but not Email formatting.

I have all the other conditional attributes working fine otherwise but would really like to be able to add this option.

Thanks for your help.


Can you please try the above configuration example, and can you please tell me exactly which version of elog you are using? If I try that example with ELOG V2.6.2-1714, it works fine (it DOES change the email encoding).
                   icon2.gif   Re: Conditional E-Mail Attributes, posted by Grant Jeffcote on Sat Aug 19 20:12:42 2006 

Stefan Ritt wrote:

Grant Jeffcote wrote:

Stefan Ritt wrote:
If I try that little configuration file:
[global]
port = 8080
password file = passwd
smtp host = your.smpt.host

[demo]
Theme = default
Comment = General linux tips & tricks
Attributes = Author, Type, Category, Subject, Email Type
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Options Email Type = plain{1}, html{2}

{1}Email encoding = 1
{2}Email encoding = 2

then the email encoding changes from plain to HTML depending on the conditional attribute Email Type. Maybe you misunderstood the concept of conditional attributes. In the above config the attribute Email Type determines the condition {1} or {2}, which leads then to different values of the email encoding. But it's important to have the line
Options Email Type = plain{1}, html{2}

in order to set a condition.


I use conditional attributes to select the fields I would like displayed on a form or page.
I understand how they work but wish to set the Email Encoding automatically depending on which item they choose from a drop down list (ie. which form they are using)

For example, if they choose 'Fred Bloggs' from the conditional drop down attribute 'Name' it will set the page so that only 'Fred Bloggs' required attributes are viewable. I wish to send this page in Plain text when submitted.

If 'Fred Jones' is chosen then only attributes applicable to 'Fred Jones' are shown. When he submits his entry then I need the email to be sent in HTML.

The email encoding option would have to be set under either Fred Bloggs{1} or Fred Jones{2} conditions.

Attributes = Name,

Options Name = Fred Bloggs{1}, Fred Jones{2}

{1}Email encoding = 1
{1}Email All = sed@frd.fg
{2}Email encoding = 2
{2}Email All = sdf@fgd.hg

I can get options like 'Email All = sed@frd.fg' to change to another email address when used as above but not Email formatting.

I have all the other conditional attributes working fine otherwise but would really like to be able to add this option.

Thanks for your help.


Can you please try the above configuration example, and can you please tell me exactly which version of elog you are using? If I try that example with ELOG V2.6.2-1714, it works fine (it DOES change the email encoding).


My version shows V2.6.2-1699.
I noticed you have 1714, is that the latest binary or your compiled CVS release?

Thx
                      icon2.gif   Re: Conditional E-Mail Attributes, posted by Stefan Ritt on Tue Oct 10 08:52:50 2006 

Grant Jeffcote wrote:
My version shows V2.6.2-1699.
I noticed you have 1714, is that the latest binary or your compiled CVS release?


Try this one: http://midas/elog/download/windows/elog262-3.exe which is the most recent.
icon4.gif   a bug and a question, posted by mo on Wed Jul 10 22:19:47 2002 
   If you have only one entry in the logbook and have it set up in threaded 
mode like: ?cmd=Search&mode=threaded&reverse=1, when you click on the icon 
of the entry or the number of the entry to see it, it does not allow you 
to.  If there is more than one entry, it works fine.  
   Also I wanted to make a submit page from where you could either go back 
to the logbook which you just entered a message for or type a new entry for 
that logbook.  First of all, is there a way to have only one file called 
submitpage.html in which I can define this for all logbooks or do i need it 
for ever logbook.  And also, is there a way I can even set a link that will 
allow to create a new entry.  I tried: 
    <a href="demo/?cmd=new">Enter</a> another message<p>

but for some reason it does not work.  Is there a way to implement this?

Thanks,
Mo
    icon2.gif   Re: a bug and a question, posted by Stefan Ritt on Thu Jul 11 10:36:09 2002 
>    If you have only one entry in the logbook and have it set up in threaded 
> mode like: ?cmd=Search&mode=threaded&reverse=1, when you click on the icon 
> of the entry or the number of the entry to see it, it does not allow you 
> to.  If there is more than one entry, it works fine.  

Ok, has been fixed. Will come in 2.0.5

>    Also I wanted to make a submit page from where you could either go back 
> to the logbook which you just entered a message for or type a new entry for 
> that logbook.  First of all, is there a way to have only one file called 
> submitpage.html in which I can define this for all logbooks or do i need it 
> for ever logbook.  And also, is there a way I can even set a link that will 
> allow to create a new entry.  I tried: 
>     <a href="demo/?cmd=new">Enter</a> another message<p>
> 
> but for some reason it does not work.  Is there a way to implement this?

The documentation was wrong about that which has been corrected. The proper 
file contents should be

<h1>You successfully submitted a message</h1>
<a href="?cmd=Back">Back</a> to the logbook<p>
<a href="?cmd=New">Enter</a> another message

This way one only needs one file for all logbooks.
ELOG V3.1.5-3fb85fa6