Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 193 of 236  Not logged in ELOG logo
icon3.gif   userlist multiple select, posted by Emiliano Gabrielli on Mon Jul 11 09:52:52 2005 
Here I am again Smile

My goal is to put a "Co-Authors" Attribute in my logbook, giving the possibility to other people in the control room to have credits about an entry... I added a "Co-Author" attribute, but It shold permit a "multliple" selection (a checkbox is not good) ... the perfect solution would be to add the attribute "multiple" to the <select> tag, and filling the elog Attribute value with a comma separated list of the selections ...

tnx in advance Smile
    icon3.gif   Re: userlist multiple select, posted by Stefan Ritt on Mon Jul 11 12:40:13 2005 

Emiliano Gabrielli wrote:
Here I am again Smile

My goal is to put a "Co-Authors" Attribute in my logbook, giving the possibility to other people in the control room to have credits about an entry... I added a "Co-Author" attribute, but It shold permit a "multliple" selection (a checkbox is not good) ... the perfect solution would be to add the attribute "multiple" to the <select> tag, and filling the elog Attribute value with a comma separated list of the selections ...

tnx in advance Smile


Have you tried
MOptions ...
which gives you check boxes where more than one can be selected?

I presume you have, but you really would prefer a multi-selection box instead of multiple check boxes Wink . Well, let's make a deal: if you explain everybody how to do a selection in a multi-select box (with all the Shift-Click, CTRL-Click, and this under different operating systems), I will implement it Big grin
       icon3.gif   Re: userlist multiple select, posted by Emiliano Gabrielli on Mon Jul 11 14:35:00 2005 

Stefan Ritt wrote:

Emiliano Gabrielli wrote:
Here I am again Smile

My goal is to put a "Co-Authors" Attribute in my logbook, giving the possibility to other people in the control room to have credits about an entry... I added a "Co-Author" attribute, but It shold permit a "multliple" selection (a checkbox is not good) ... the perfect solution would be to add the attribute "multiple" to the <select> tag, and filling the elog Attribute value with a comma separated list of the selections ...

tnx in advance Smile


Have you tried
MOptions ...
which gives you check boxes where more than one can be selected?

I presume you have, but you really would prefer a multi-selection box instead of multiple check boxes Wink . Well, let's make a deal: if you explain everybody how to do a selection in a multi-select box (with all the Shift-Click, CTRL-Click, and this under different operating systems), I will implement it Big grin


a multiple selection box it's a standard web tool .. if one is not able to use its browser is not an elog problem IMHO Tongue

My request is becouse having a number of user (say 20) makes the checkbox solution very very nasty .. again, it's a choice you give to the smart user .. others simply will not notice any change in elog Wink
          icon2.gif   Re: userlist multiple select, posted by Stefan Ritt on Tue Jul 12 15:19:07 2005 

Emiliano Gabrielli wrote:
a multiple selection box it's a standard web tool .. if one is not able to use its browser is not an elog problem IMHO


Really? Can you point me to a common web site using this? I would really like to see how other people use this.


Emiliano Gabrielli wrote:
My request is becouse having a number of user (say 20) makes the checkbox solution very very nasty .. again, it's a choice you give to the smart user .. others simply will not notice any change in elog Wink


Ok, I put it on my wishlist. If more than one person asks for this, I will implement it. Unfortunately it's not only putting a multiple into the HTML page, it's also a different way how multiple selections are passed in the POST form and their decoding, so it will be an hour or two of work for me.
             icon2.gif   Re: userlist multiple select, posted by Emiliano Gabrielli on Wed Jul 13 10:12:38 2005 

Stefan Ritt wrote:

Emiliano Gabrielli wrote:
a multiple selection box it's a standard web tool .. if one is not able to use its browser is not an elog problem IMHO


Really? Can you point me to a common web site using this? I would really like to see how other people use this.


I can't remember just now a web site using it .. what I mean is that "multiple" attribute for the "select" tag is a standard for the web (it's not an IE extension or so on ..) so every web browser implements it.

It's normally used, for example, when you fill a form describing your attitudes, here you can often choose from a select box a number of interest you are concerded.. but it is only an example

Stefan Ritt wrote:


Emiliano Gabrielli wrote:
My request is becouse having a number of user (say 20) makes the checkbox solution very very nasty .. again, it's a choice you give to the smart user .. others simply will not notice any change in elog Wink


Ok, I put it on my wishlist. If more than one person asks for this, I will implement it. Unfortunately it's not only putting a multiple into the HTML page, it's also a different way how multiple selections are passed in the POST form and their decoding, so it will be an hour or two of work for me.

Yes I know, uhm... if you point me to the right piece of code to be adjusted I can see if I'll be able to do the job Smile
icon3.gif   Suppress Email notification checkbox, posted by Gary Clayson on Thu Jul 7 05:30:24 2005 
Hello All. Stefan, would it be possible to add one more option to the Suppress Default flag? I'd appreciate a setting that would suppress emails being sent and remove the option from the page. Or, has this been accomplished? And, if so, what is that setting. Thanks in advance!! Keep up the great work.

Gary ;->
    icon2.gif   Re: Suppress Email notification checkbox, posted by Stefan Ritt on Thu Jul 7 22:02:52 2005 

Gary Clayson wrote:
Hello All. Stefan, would it be possible to add one more option to the Suppress Default flag? I'd appreciate a setting that would suppress emails being sent and remove the option from the page. Or, has this been accomplished? And, if so, what is that setting. Thanks in advance!! Keep up the great work.


I added
Suppress default = 3

which always suppresses email notifications. The addition is under CVS and will be included in the next release.

- Stefan
       icon14.gif   Re: Suppress Email notification checkbox, posted by Gary Clayson on Fri Jul 8 22:20:19 2005 

Stefan Ritt wrote:

Gary Clayson wrote:
Hello All. Stefan, would it be possible to add one more option to the Suppress Default flag? I'd appreciate a setting that would suppress emails being sent and remove the option from the page. Or, has this been accomplished? And, if so, what is that setting. Thanks in advance!! Keep up the great work.


I added
Suppress default = 3

which always suppresses email notifications. The addition is under CVS and will be included in the next release.

- Stefan


Thanks Stefan.
       icon2.gif   Re: Suppress Email notification checkbox, posted by Gary Clayson on Tue Jul 12 17:41:30 2005 

Stefan Ritt wrote:

Gary Clayson wrote:
Hello All. Stefan, would it be possible to add one more option to the Suppress Default flag? I'd appreciate a setting that would suppress emails being sent and remove the option from the page. Or, has this been accomplished? And, if so, what is that setting. Thanks in advance!! Keep up the great work.


I added
Suppress default = 3

which always suppresses email notifications. The addition is under CVS and will be included in the next release.

- Stefan


Hello Stefan. I used this setting with the beta2 version and it works great. THANX!!! Many kudos to you for an elegant solution to the logging 'problem'.
icon4.gif   icon comment not display using firefox, posted by Laurent S. Nadolski on Mon Jul 11 11:16:59 2005 
Hi,

I found out the following bug.
Icon comment are not displayed when browsing with firefox. But it works fine with IE.
A goo test page is this very elog entry.
If you move your mouse on a icon nothing will be displayed using Firefox.

In the following example, I noticed, that the tooltip Icon is displayed instead (whenever existing).
This means, it displays info (for all icons if several) and not "showbug" on icon1.gif

Attributes = Icone
IOptions Icone = icon1.gif
Tooltip Icone = info
Icon comment icon1.gif = showbug

Thanks for your help,

Laurent.
    icon2.gif   Re: icon comment not display using firefox, posted by Stefan Ritt on Mon Jul 11 12:35:40 2005 

Laurent S. Nadolski wrote:
I found out the following bug.
Icon comment are not displayed when browsing with firefox. But it works fine with IE.
A goo test page is this very elog entry.
If you move your mouse on a icon nothing will be displayed using Firefox.


Thanks for reporting this bug. I fixed it in the current CVS version. You can try it with this page.


Laurent S. Nadolski wrote:
In the following example, I noticed, that the tooltip Icon is displayed instead (whenever existing). This means, it displays info (for all icons if several) and not "showbug" on icon1.gif

Attributes = Icone
IOptions Icone = icon1.gif
Tooltip Icone = info
Icon comment icon1.gif = showbug

Icon comment
is used for email notification, and
Tooltip
is used for tooltips. So the behaviour you describe is intentional.

- Stefan
icon3.gif   show/hide attachments, posted by Emiliano Gabrielli on Sat Jul 9 17:21:51 2005 
It would be nice ad usefull to have a "show/hide attachments" just at the side of "show only last" link ..
BTW, it would be nice if those settings would be stored in a cooky too Smile

thanx againg Stefan
icon1.gif   Subst on Reply, posted by Emiliano Gabrielli on Fri Jul 8 10:52:36 2005 
the "subst on reply" parameter seems to correctly work only on the first reply..
since the second reply has the author locked to the one having replyed the first time.

Here is my config:
; preset author and email
Preset Author                 = $short_name
Preset Author Email           = $user_email
Subst on reply Author         = $short_name
Subst on reply Author Email   = $user_email
Subst on reply subject        = Re: $subject

; these attributes cannot be changed
Locked Attributes             = Author, Author Email
Fixed Attributes Reply        = Subject

My poor man solution is for now to allow everyone to change the author (unlock the field ..)
    icon1.gif   Re: Subst on Reply, posted by Stefan Ritt on Fri Jul 8 22:38:51 2005 

Emiliano Gabrielli wrote:
the "subst on reply" parameter seems to correctly work only on the first reply..
since the second reply has the author locked to the one having replyed the first time.

Here is my config:
; preset author and email
Preset Author                 = $short_name
Preset Author Email           = $user_email
Subst on reply Author         = $short_name
Subst on reply Author Email   = $user_email
Subst on reply subject        = Re: $subject

; these attributes cannot be changed
Locked Attributes             = Author, Author Email
Fixed Attributes Reply        = Subject

My poor man solution is for now to allow everyone to change the author (unlock the field ..)


You need
Preset on reply Author = $short_name
. Subst is supposed to work after a submission, Preset before you open the edit mask. See this forum. If you reply to this entry, your name appears as the Author even if it's locked. Here is the config:
Preset Author = $long_name
Preset Author Email = $user_email
Preset on reply Author = $long_name
Preset on reply Author Email = $user_email
Locked Attributes = Author

The Subst can be used for your image category thing. So instead using
Display Category = $category <img src="icons/$category.png" border="0">

you can use
Subst Category = $category <img src="icons/$category.png" border="0">

which physically rewrites the category. This is probably not what you want, but take it as an example. We use it in one place to replace a user name by a link to our internal telephonbook searching for this username, so if one clicks on the user, one ends up in the user's telephonebook entry.
       icon1.gif   Re: Subst on Reply, posted by Emiliano Gabrielli on Sat Jul 9 14:13:10 2005 

Stefan Ritt wrote:

You need
Preset on reply Author = $short_name
. Subst is supposed to work after a submission, Preset before you open the edit mask. See this forum. If you reply to this entry, your name appears as the Author even if it's locked. Here is the config:
Preset Author = $long_name
Preset Author Email = $user_email
Preset on reply Author = $long_name
Preset on reply Author Email = $user_email
Locked Attributes = Author

The Subst can be used for your image category thing. So instead using
Display Category = $category <img src="icons/$category.png" border="0">

you can use
Subst Category = $category <img src="icons/$category.png" border="0">

which physically rewrites the category. This is probably not what you want, but take it as an example. We use it in one place to replace a user name by a link to our internal telephonbook searching for this username, so if one clicks on the user, one ends up in the user's telephonebook entry.


Ok it's working perfectly, my bad Iwas lost in the huge set of config parameters elog accept the first time I installed it Smile

Thank you so much Stefan
icon5.gif   New Message Formatting and Default Settings, posted by Gary Clayson on Thu Jul 7 04:44:12 2005 
Hello All. Please Help! How can I turn off the formatting controls above the message text when making a new or reply entry? I included the flat 'Default Encoding = 1' in my config file, but it seems to have no effect. The log has been set up to suppress all email notification, as SMTP is not being used at my location (MS Exchange Server is being used). Also How can I turn off the icon selection panel to the left of a new message text box? And, finally, is it possible to turn off the Suppress Email notification checkbox AND not send emails? Forgive me for asking yet another - but the same question about turning off the Encoding buttons - Is there some method of setting I can enter into the config file to turn off the Encoding and default it to text entry only?

Forgive this entry being so long, I'm new to using ELOG; Thanks Stefan for an incredible application. Well thought out and elegant. Keep up the good work.

Gary ;->

PS Reworking the source code, then recompiling it, is not a viable option for me at this time.
    icon3.gif   Re: New Message Formatting and Default Settings, posted by Gary Clayson on Thu Jul 7 05:26:36 2005 

Gary Clayson wrote:
Hello All. Please Help! How can I turn off the formatting controls above the message text when making a new or reply entry? I included the flat 'Default Encoding = 1' in my config file, but it seems to have no effect. The log has been set up to suppress all email notification, as SMTP is not being used at my location (MS Exchange Server is being used). Also How can I turn off the icon selection panel to the left of a new message text box? And, finally, is it possible to turn off the Suppress Email notification checkbox AND not send emails? Forgive me for asking yet another - but the same question about turning off the Encoding buttons - Is there some method of setting I can enter into the config file to turn off the Encoding and default it to text entry only?

Forgive this entry being so long, I'm new to using ELOG; Thanks Stefan for an incredible application. Well thought out and elegant. Keep up the good work.

Gary ;->

PS Reworking the source code, then recompiling it, is not a viable option for me at this time.


I just downloaded and installed beta2 and most of my questions have been answered. I now have a new question: What are the possible settings with the 'Default Encoding' flag? Can I please get a rundown on this one as the config syntax page does not list this one. Thanks in Advance.

Gary ;->
       icon3.gif   Re: New Message Formatting and Default Settings, posted by Stefan Ritt on Thu Jul 7 08:43:37 2005 

Gary Clayson wrote:
I just downloaded and installed beta2 and most of my questions have been answered. I now have a new question: What are the possible settings with the 'Default Encoding' flag? Can I please get a rundown on this one as the config syntax page does not list this one. Thanks in Advance.


The config page does list this one, but you have to access the online one since I have no access to modify the one you have on your hard disk Wink
    icon2.gif   Re: New Message Formatting and Default Settings, posted by Stefan Ritt on Thu Jul 7 09:11:45 2005 

Gary Clayson wrote:
How can I turn off the formatting controls above the message text when making a new or reply entry? I included the flat 'Default Encoding = 1' in my config file, but it seems to have no effect.


You need the current CVS version which has this implemented, or you wait for the next official release.


Gary Clayson wrote:
The log has been set up to suppress all email notification, as SMTP is not being used at my location (MS Exchange Server is being used).


MS Exchange Server has and SMTP server inside, I use this all the time.


Gary Clayson wrote:
Also How can I turn off the icon selection panel to the left of a new message text box?


By clicking on the smiley on the top row next to "FONT".


Gary Clayson wrote:
And, finally, is it possible to turn off the Suppress Email notification checkbox AND not send emails?


You can put a
Suppress email to users = 1
into the config file, but the checkbox will still be there, but non-functional. Maybe I should remove it in that case...


Gary Clayson wrote:
PS Reworking the source code, then recompiling it, is not a viable option for me at this time.


You are not supposed to rework the source code, but if you want the cutting edge features, you need to recompile from CVS or wait for official releases.
       icon2.gif   Re: New Message Formatting and Default Settings, posted by Gary Clayson on Fri Jul 8 22:25:39 2005 

Stefan Ritt wrote:

Gary Clayson wrote:
How can I turn off the formatting controls above the message text when making a new or reply entry? I included the flat 'Default Encoding = 1' in my config file, but it seems to have no effect.


You need the current CVS version which has this implemented, or you wait for the next official release.


Gary Clayson wrote:
The log has been set up to suppress all email notification, as SMTP is not being used at my location (MS Exchange Server is being used).


MS Exchange Server has and SMTP server inside, I use this all the time.


Gary Clayson wrote:
Also How can I turn off the icon selection panel to the left of a new message text box?


By clicking on the smiley on the top row next to "FONT".


Gary Clayson wrote:
And, finally, is it possible to turn off the Suppress Email notification checkbox AND not send emails?


You can put a
Suppress email to users = 1
into the config file, but the checkbox will still be there, but non-functional. Maybe I should remove it in that case...


Gary Clayson wrote:
PS Reworking the source code, then recompiling it, is not a viable option for me at this time.


You are not supposed to <b>rework</b> the source code, but if you want the cutting edge features, you need to recompile from CVS or wait for official releases.


I apologize for my using the incorrect language. I did not mean I would be rewriting your code, merely compiling, linking, and running the new version. The computer elog is loaded one is not one I have access to a compiler on. Sorry if I misspoke!

Gary
icon3.gif   Request: can the comment for a log book be put in the status bar on hover, posted by Tim Iskander on Wed Jul 6 16:02:30 2005 
We have several logbooks running here with somewhat cryptic names. The comment field for the
logbook describes its intent well enough, so the thought was that the comment could show up in the
status bar (or tooltip) when you hover over the logbook name in the tabs at the top of the page.

___ yea Smile

___ nea Frown

/Tim
    icon3.gif   Re: Request: can the comment for a log book be put in the status bar on hover, posted by Gary Clayson on Thu Jul 7 04:47:09 2005 

Tim Iskander wrote:
We have several logbooks running here with somewhat cryptic names. The comment field for the
logbook describes its intent well enough, so the thought was that the comment could show up in the
status bar (or tooltip) when you hover over the logbook name in the tabs at the top of the page.

___ yea Smile

___ nea Frown

/Tim


I wonder if there is any way to use the javascript 'window.status' method to accomplish this. It would be a nice addition when there are many logbooks.
Gary ;->
    icon2.gif   Re: Request: can the comment for a log book be put in the status bar on hover, posted by Stefan Ritt on Thu Jul 7 21:48:31 2005 

Tim Iskander wrote:
We have several logbooks running here with somewhat cryptic names. The comment field for the
logbook describes its intent well enough, so the thought was that the comment could show up in the
status bar (or tooltip) when you hover over the logbook name in the tabs at the top of the page.


_X_ yea Smile

___ nea Frown


I added a tooltip to the logbook showing the comment field. The status bar is a bit difficult since it requires Javascript and is not supported by all browsers. But I hope the tooltip is good enough. The modification is in CVS, you can try it at the forum.

- Stefan
       icon7.gif   Re: Request: can the comment for a log book be put in the status bar on hover, posted by Tim Iskander on Fri Jul 8 13:32:56 2005 

Stefan Ritt wrote:

Tim Iskander wrote:
We have several logbooks running here with somewhat cryptic names. The comment field for the
logbook describes its intent well enough, so the thought was that the comment could show up in the
status bar (or tooltip) when you hover over the logbook name in the tabs at the top of the page.


_X_ yea Smile

___ nea Frown


I added a tooltip to the logbook showing the comment field. The status bar is a bit difficult since it requires Javascript and is not supported by all browsers. But I hope the tooltip is good enough. The modification is in CVS, you can try it at the forum.

- Stefan


I like it!
thanks...
/Tim
icon5.gif   A comprehensive listing of all commands elog performs, posted by Gary Clayson on Thu Jun 2 06:45:55 2005 
Can someone please enter a comprehensive list of the commands eLog will honor. I'm trying to build a 'decent' start page and am not totally familiar with eLog just yet. Thanks Stefan for an awesome application. The documentation is really decent, too. I just have been unable to locate a list of all commands available.
Thanks in advance.
Gary ;->
    icon5.gif   Re: A comprehensive listing of all commands elog performs, posted by Emiliano Gabrielli on Fri Jun 3 18:11:09 2005 

Gary Clayson wrote:
Can someone please enter a comprehensive list of the commands eLog will honor. I'm trying to build a 'decent' start page and am not totally familiar with eLog just yet. Thanks Stefan for an awesome application. The documentation is really decent, too. I just have been unable to locate a list of all commands available.
Thanks in advance.
Gary ;->


there's a link in the main elog web page.. it's under the Admin guide and it is the elog.cfg syntax guide
       icon14.gif   Re: A comprehensive listing of all commands elog performs, posted by Gary Clayson on Thu Jul 7 04:49:19 2005 

Emiliano Gabrielli wrote:

Gary Clayson wrote:
Can someone please enter a comprehensive list of the commands eLog will honor. I'm trying to build a 'decent' start page and am not totally familiar with eLog just yet. Thanks Stefan for an awesome application. The documentation is really decent, too. I just have been unable to locate a list of all commands available.
Thanks in advance.
Gary ;->


there's a link in the main elog web page.. it's under the Admin guide and it is the elog.cfg syntax guide


thanks for the advice. DuH on me, I just needed to read the syntax page a little more closely.
ELOG V3.1.5-3fb85fa6