Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 136 of 806  Not logged in ELOG logo
    icon2.gif   Re: Edit an existing message overwrites attributes with preset values, posted by Stefan Ritt on Fri Aug 9 12:50:58 2002 
> Is there a possibility to prevent elog to overwrite attribute values when 
> editing an old message? The old values are overwriten with the preset 
> options for that attribute. 
> But sometimes you will preserve attribute text and /or options from the old 
> message.

The option "Fixed attributes = ..." will do the job.
    icon5.gif   Re: Edit an existing message overwrites attributes with preset values, posted by Stefan Ritt on Fri Aug 9 14:59:17 2002 
> Ok, but is there a possibility to preserve the fields of the old message, 
but 
> still be able to edit it. This would be a nice feature in the case of an 
entry 
> with lots of attributes (set to something different then the preset 
values). 
> After submiting the message you realize : one option was wrong and now you 
> want to edit it without changing the other options again.
> Is this possible?

Actually this is a good idea. After thinking a while, I wonder if anybody at 
all would like not to preserve the preset values. So if nobody complains, I 
will set the behaviour such that elog always preserves the entries if one 
edits an existing message.
    icon2.gif   Re: self-registration, posted by Stefan Ritt on Sat Aug 10 13:00:26 2002 elogd.cfg
> i seem to be unable to find a clear explanation of how to enable self-
registration in the docs.
> 
> just to be sure i grepped the doc directory, but the two references to it 
were in the changelog and the faq.
> 
> it could be just me but i'm not reading between the lines or connecting the 
various places in the docs to get it going :/

Sorry, I haven't fully documented it yet, will do on Monday next week. For 
now, see the configuration file for this forum which is attached.
    icon2.gif   Re: Error while trying to change password (elogd 2.1.0), posted by Stefan Ritt on Mon Aug 12 17:04:30 2002 
> When logging in with a username and password; then trying to logout or 
> change password one gets the following message:
> 
> Error: Parameter value too big. Please increase VALUE_SIZE and recompile 
> elogd ; Please use your browser's back button to go back 
> 
> (up to now I have not yet tried to recompile - may be it works then)

That's strange. This error should only occur if someone uses a user name or 
password with more than 256 characters, which I hope is not the case. Have 
you tried changing your password etc. in this forum? It also runs 2.1.0 on 
Linux.

I made a version under 

http://midas/cgi-bin/cvsweb/~checkout~/elog/elogd.c?rev=2.67&content-
type=text/plain

which has improved error output for this problem, maybe this helps.
icon3.gif   elogd.cfg for this demo site, posted by Stefan Ritt on Wed Aug 14 00:04:44 2002 
Just since some people asked for: Here is the elogd.cfg for this demo 
logbooks:

========= cut here ===================

[global]
logbook tabs = 1
SMTP host = mailsend.psi.ch
URL = http://midas.psi.ch/elogdemo/
user = midas
group = midas

[Linux]
Theme = default
Comment = General linux Tips & Tricks
Data dir = /usr/local/elogdemo/logbooks/Linux
Attributes = Author, Type, Icon, Category, Subject
Options Type = Routine, Software Installation, Problem Fixed, 
Configuration, Tips & Tricks, Info, Other
IOptions Icon = icon1.gif, icon3.gif, icon4.gif, icon5.gif, icon6.gif, 
icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
Options Category = General, Hardware, Software, Network, Applications, 
Shell, Account, Packages, Daemons, Other
Required Attributes = Author
Subst Author = $author
Summary on default = 1
Summary lines = 0
Email all = stefan.ritt@psi.ch
Email message body = 1

[Database]
Theme = default
Comment = Demo of database-like elog
Data dir = /usr/local/elogdemo/logbooks/database
Attributes = Type, Operating system, Location, Status, Comment
Required Attributes = Type, Operating system, Location, Status
Options Type = PC, Router, Bridge
Options Operating system = Linux, Windows NT, Windows 2000, Windows XP, 
Windows ME, Embedded
Options Location = Building1, Building2, Building3
Options Status = working, defect, in repair
Show text = 0
Start page = ?cmd=Search&mode=summary
Display search = #, Type, Location, Status
Summary lines = 0
Find menu commands = New, Find, Last
Menu commands = Back, New, Edit, Delete, Find, Config, Help
Number Attachments = 0
Suppress default = 2
Entries per page = 10

[Forum]
; general options
Password file = /usr/local/elogdemo/logbooks/forum/passwd
Admin user = stefan
Self register = 2
Theme = default
Comment = Discussion forum about ELOG
Data dir = /usr/local/elogdemo/logbooks/forum
Display mode = threaded
Start page = ?cmd=Search&mode=threaded
Menu commands = Back, New, Edit, Reply, Find, Last day, Last 10, Admin, 
Config, Logout, Help
Find menu commands = New, Find, Last x, Admin, Config, Logout, Help
Guest menu commands = Back, Find, Login, Help
Guest find menu commands = Find, Login, Help
Number Attachments = 1
Message comment = <img src=icons/icon6.gif> Please enter only serious 
messages here, for testing use the <b>Linux</b> Logbook:
Filtered browsing = 0
Entries per page = 8
Reverse sort = 1
Restrict edit = 1

; Attributes
Attributes = Icon, Author, Author Email, Category, Subject
IOptions Icon = icon1.gif, icon2.gif, icon3.gif, icon4.gif, icon5.gif, 
Options Category = Info, Bug report, Bug fix, Question, Request, Comment, 
Other
icon6.gif, icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
Required Attributes = Author, Author Email, Subject, Icon
Subst on reply subject = Re: $subject
Thread display = $subject, posted by $author on $Entry date
Thread icon = Icon
Remove on reply = Author, Author Email
Date format = %B %d, %Y
Preset Author = $long_name
Preset Author Email = $user_email
Locked Attributes = Author

; Email notification
Email message body = 1
Display Email recipients = 0
    icon2.gif   Re: Multiple eLogs, posted by Stefan Ritt on Tue Sep 10 17:09:59 2002 
> I have two different groups who want elogs for all of their members. How do
> I set elog up so group 1 uses port 8082 and group 2 uses 8083 (and they
> don't see each other's messages in the initial "menu" screen.

You run two instances of the elogd daemon like:

elogd -p 8082 -c /usr/local/elog/elogd1.cfg
elogd -p 8083 -c /usr/local/elog/elogd2.cfg
    icon2.gif   Re: logical search operators, posted by Stefan Ritt on Tue Sep 10 17:13:32 2002 
> It is posible to use logical search operators like "and" and "or" ?
> 
> Which Operators can i use how do i so ?
> 
> 
> Thank you for your anwser.

No, not yet. I put it on the wishlist. I'm looking for a C function which can 
doe lexical evaluations like

  author="stefan ritt" AND (category=Question OR category="Bug Fix")

does anybody know such a function?
    icon3.gif   Re: Problem with konqueror and pulldown menu (in config menu), posted by Stefan Ritt on Tue Sep 10 17:15:15 2002 
> Hi ,
> 
> currently I am running Elog 2.1.1; when using a konqueror browser (ver. 
> 2.2.1, kde 2.2.1) the admin user cannot access in the Config menu the Login 
> infos for other users except himself. The pulldown menu "Select user" is 
> shown, but when the admin selects another user the info fields (Login name, 
> full name, email) are not updated. They still show the attribute values for 
> the admin user himself.
> 
> Is there a solution available?
> Thanks (also for this very useful tool) and regards,
> 
> Stefan

This operation is done via Java Script, which has to be enabled in the 
browser. If anybody knows a better way, please let me know.
ELOG V3.1.5-3fb85fa6