Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 724 of 806  Not logged in ELOG logo
    icon2.gif   Re: How to configure eLog to send an e-mail notification when new logbook entry time is reached?, posted by W.Koster on Thu Apr 9 09:54:39 2009 

Tero Suominen wrote:

 

 Hi! Thanks for the quick response. Do you have any suggestions on which calendar applications I should start looking for for this purpose?

Thanks,

Tero

 

You could write a shell script, run it through cron and send mail from that. (even in windows I assume)

 

 

icon3.gif   conditional attributes, posted by W.Koster on Thu Apr 9 10:39:34 2009 
I'm (ab)using elog as a database and would like to use conditional attributes, like:

Attributes = PC Name, Operating System, Version, Distribution
Options Operating System = Linux{1}, Windows{2}
{1} Show Attributes Edit = Operating System, Distribution, PC Name
{2} Show Attributes Edit = Operating System, PC Name, Version

Problem is that there are several conditions and the list of attributes is rather long. Also, since it's a
rather dynamic environment I have to make new attributes all the time, and adding them to all "show attributes"
 lists is not only tedious, but bound to cause errors as well.
 

So... 

I was thinking, would it be an idea to make the list of attributes to be shown or hidden on a per attribute base.

 

Like:

Attributes = PC Name, Operating System, Version, Distribution

# hide specific attributes
Hide attributes = Distribution, PC Name

# or configure which fields should be shown allways
Show Attributes = Operating System, Version

# add attributes based on OS
Options Operating System = Linux{1}, Windows{2}
{1} Show Attribute Edit = Distribution
{2} Show Attribute Edit = PC Name

(just thinking out loud here).
icon5.gif   wrapping long lines in config file, posted by W.Koster on Fri Jun 12 16:59:18 2009 
Greetings,

I was wondering, is it possible to wrap lines in the config file ? 

I have to add a dropdown lost which is kinda long and typing everything on one line will make ik kinda unreadable.
Somehow wrapping the line so each entry will get on a separate line would make it much better readable. (which
makes less errors).

W.
 
    icon2.gif   Re: wrapping long lines in config file, posted by W.Koster on Mon Jun 15 12:57:17 2009 

Stefan Ritt wrote:

What I do is to use an editor with automatic wrapping functions, like the free PSPad editor. It nicely wraps line and indicates that:



Hmmm... I have to use vi and was hoping an \ at the end of the line (before the LF) would be supported.
icon1.gif   wrapping of text in edit field, posted by Willem Koster on Fri Nov 1 13:33:01 2002 
I noticed a long url got hard-wrapped when I entered a long one, I patched 
the source code. I don't know if this was done intentionally, otherwise you 
might want to change this also.

diff elogd.c elogd.c.org 
4468c4468
<     rsprintf("<textarea rows=20 cols=%d wrap=soft name=Text>", width);
---
>     rsprintf("<textarea rows=20 cols=%d wrap=hard name=Text>", width);

BTW, why is the editor window 20 rows by 76 columns ?
(20 is fixed in the source code, but 76 is the width-variable that is set 
hard to:

  /* set textarea width */
  width = 76;

Now I don't like both parameters. 20 is too long for my display (1024x768) 
and 76 is too short. Something dynamically would be cool, but a parameter 
somewhere in a config file would also be acceptable. (just a thought, makes 
it easier to upgrade)
icon1.gif   New ELOG entry, posted by Willem Koster on Fri Nov 1 13:39:41 2002 
When I make a new entry I get an email with 

   subject: New ELOG entry

But when I or someone else changes an entry I also get an email with a 

   subject: New ELOG entry

I would prefer to see "Changed" , "Edited", or "Updated". This is beyond my 
programming capabilities so I enter this request.
icon5.gif   Compiling elog-2.2.2 in Solaris 8, posted by Willem Koster on Thu Nov 14 12:04:09 2002 
On our:
   SunOS operator 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-5_10

I get:

% make
gcc -g -O -o elog elog.c 
Undefined                       first referenced
 symbol                             in file
socket                              /var/tmp/ccgK4x1V.o
recv                                /var/tmp/ccgK4x1V.o
gethostbyname                       /var/tmp/ccgK4x1V.o
send                                /var/tmp/ccgK4x1V.o
gethostbyaddr                       /var/tmp/ccgK4x1V.o
connect                             /var/tmp/ccgK4x1V.o
ld: fatal: Symbol referencing errors. No output written to elog
collect2: ld returned 1 exit status
make: *** [elog] Error 1


I have no idea what is going on here
icon5.gif   Show all entries made by ME ?, posted by Willem Koster on Thu Nov 14 12:16:49 2002 
In my bottom.html file I have:

<A Href="host/Forum/?mode=summary&reverse=1&npp=10&Status=Open">Open</A> 
<A Href="host/Forum/?mode=threaded&reverse=1&npp=10&Status=
Open">(Threaded)</A> /                                                   
  <A Href="host/Forum/?mode=summary&reverse=1&npp=10&Status=C
losed">Closed</A> /  
<A Href="host/Forum/?mode=summary&reverse=1&npp=10">All</A>
<A Href="host/Forum/?mode=threaded&reverse=1&npp=10">(threaded)</A> 
tickets.

This sort of implements some of the buttons you have in your whishlist.

This works, because it is the same for all users, now what I would like 
is to add some sort of linke that will "show all entries from ME". I 
could do this on a per user basis, but that's not what I want, Something 
general with $user would be preferable.

Something like:

http://midas.psi.ch/elogdemo/Forum/?mode=threaded&reverse=1&npp=8&Author=$user

Is this possible ?
ELOG V3.1.5-3fb85fa6