Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 368 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OSdown ELOG Version Subject
  1120   Mon May 2 13:34:12 2005 Reply Emiliano GabrielliAlberT@SuperAlberT.itBug reportLinux2.5.8-6Re: rss feed title & conditional attributes
> > When I define 2 attributes, by default and the second one has to be showed
> > depending on the first one value the elog correctly handle the thing, but
> > the rss feed shows an empty comma separeted field corresponding to the
> > conditional attribute not filled ...
> 
> Can you send me the part of your config files with those things so that I can
> reproduce it?

it is attached
Attachment 1: rssbug.cfg
Theme = arco
Comment = ARCO eLogBook
Logfile = /var/log/elog/feedback.log
Logging level = 3
Self register = 3
Restrict edit = 1
Password file = arco.users
Admin user = albert
;no email notification by default
Suppress default = 1
Display mode = threaded
List display = Subject, Type, Author, Date
Thread display = $subject, posted by $author on $entry time
Show attachments = 1
Start page = ?mode=threaded&attach=1
Expand default = 0

Page Title = eLogbook feedback - $subject
Title image URL               = http://ares.roma2.infn.it/ARCO/
Title image                   = <img border=0 src="ARCO_logo.jpg" alt="ARCO logo">
Menu commands = Back, New, Edit, Delete, Reply, Find, Config, Login, Help

Attributes = Author, Type, Category, Subject
Required Attributes = Author, Type, Subject
Options Type = Suggestion{1}, Bug{2}, Other{3}
Show Attributes = Author, Subject, Type

{2}ROptions Category = opened, to be verified, solved
{2}Preset Category = opened

{2}Show Attributes = Author, Subject, Type, Category

; preset author and email
Subst on reply Author = $short_name
Subst on reply Author Email = $user_email
Preset Author = $short_name
Preset Author Email = $user_email
; these attributes cannot be changed
Locked Attributes = Author, Author Email
Fixed Attributes Reply = Subject

Reverse sort = 1
Quick filter = Date, Type
  1124   Mon May 2 14:58:27 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.5.8-6Re: rss feed title & conditional attributes
Ok, fixed. I do however not evaluate the conditional attribute, but just remove any
empty attribute, I guess that makes more sense.
  1126   Mon May 2 15:40:02 2005 Agree Emiliano GabrielliAlberT@SuperAlberT.itBug reportLinux2.5.8-6Re: rss feed title & conditional attributes
> Ok, fixed. I do however not evaluate the conditional attribute, but just remove any
> empty attribute, I guess that makes more sense.

ok, it work perfectly, tnx .. I agree with you choice of course :-)
  1132   Mon May 9 11:45:05 2005 Question Johan Nybergjohan.nyberg@tsl.uu.seQuestionLinux2.5.9-1How to remove email addresses from Guest Display?
Hi,

I would like to have the author email addresses listed only for users which
have logged in, but not for guest users. In the elogd.cfg file I have:

Attributes = Author, Author Email, Category, Subject
Guest Display = Author, Category, Subject, Text

But these attributes

  ID Date Author Author Email Category Subject Text

are shown also when visting the logbook as a guest. For the guests I would
like to show only these attributes

  ID Date Author Category Subject Text

Any ideas what I am doing wrong or why this does not work?

Johan
  1134   Mon May 9 14:46:54 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.5.9-1Re: How to remove email addresses from Guest Display?
> I would like to have the author email addresses listed only for users which
> have logged in, but not for guest users. In the elogd.cfg file I have:
> 
> Attributes = Author, Author Email, Category, Subject
> Guest Display = Author, Category, Subject, Text
> 
> But these attributes
> 
>   ID Date Author Author Email Category Subject Text
> 
> are shown also when visting the logbook as a guest. For the guests I would
> like to show only these attributes
> 
>   ID Date Author Category Subject Text
> 
> Any ideas what I am doing wrong or why this does not work?

Guest List Display = Author, Category, Subject, Text
      ^^^^

- Stefan
  1135   Mon May 9 16:37:08 2005 Smile Johan Nybergjohan.nyberg@tsl.uu.seQuestionLinux2.5.9-1Re: How to remove email addresses from Guest Display?
> > I would like to have the author email addresses listed only for users which
> > have logged in, but not for guest users. In the elogd.cfg file I have:
> > 
> > Attributes = Author, Author Email, Category, Subject
> > Guest Display = Author, Category, Subject, Text
> > 
> > But these attributes
> > 
> >   ID Date Author Author Email Category Subject Text
> > 
> > are shown also when visting the logbook as a guest. For the guests I would
> > like to show only these attributes
> > 
> >   ID Date Author Category Subject Text
> > 
> > Any ideas what I am doing wrong or why this does not work?
> 
> Guest List Display = Author, Category, Subject, Text
>       ^^^^
> 
> - Stefan

Hi Stefan,

Thanks for the prompt answer and sorry for not reading the docs carefully enough.
The "Guest List Display" is of course what I should use. It works perfectly. And
thanks for the fantastic and very useful ELOG package!

Johan
  1150   Wed May 18 14:12:02 2005 Warning Heiko Scheith.scheit@mpi-hd.mpg.deBug reportLinux2.5.9reverse sort option does not work for quick filter
The 'reverse sort' option does not work for quick filter searches. In the
URL there is always written 'reverse=0'. For normal 'Find' it works OK.
  1151   Wed May 18 14:18:07 2005 Warning Heiko Scheith.scheit@mpi-hd.mpg.deBug reportLinux2.5.9elog crashes when admin tries to register new users
When pasting the URL for the registration of new users (with 'Self register = 3') elog
crashes with segmentation fault. I don't have the time currently to give you more
debuging information but maybe you can have a look the same. It crashes after
the user is registered. The Email is sent, too.
ELOG V3.1.5-3fb85fa6