Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 628 of 808  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
    icon2.gif   Re: Author field read only in new posts, posted by Stefan Ritt on Mon Oct 13 10:37:27 2008 

 

Brassmann wrote:

Hi,

how can i make the author field read only on new postings? It should take the value from $long_name after login and without login there is no way to make new postings.

This is a part of my elogd.cfg


[global]
.......

Logfile = elogd.log
Logging level = 3
Login expiration = 24
Password file = ./passwd ....... [Informations] .......
Logout to main = 1
Logbook tabs = 1
Guest menu commands = Back, Find, Login, Help
Guest find menu commands = Find, Select, Login, Help
Preset Author = $long_name
Attributes = Author, Subject
Required Attributes = Author, Subject ........

Thanks Brassmann

 

 All you need is an addition

Locked Attributes = Author


    icon2.gif   Re: Author field read only in new posts, posted by Brassmann on Mon Oct 13 10:43:28 2008 

Stefan Ritt wrote:

 

Brassmann wrote:

Hi,

how can i make the author field read only on new postings? It should take the value from $long_name after login and without login there is no way to make new postings.

This is a part of my elogd.cfg


[global]
.......

Logfile = elogd.log
Logging level = 3
Login expiration = 24
Password file = ./passwd ....... [Informations] .......
Logout to main = 1
Logbook tabs = 1
Guest menu commands = Back, Find, Login, Help
Guest find menu commands = Find, Select, Login, Help
Preset Author = $long_name
Attributes = Author, Subject
Required Attributes = Author, Subject ........

Thanks Brassmann

 

 All you need is an addition

Locked Attributes = Author


 Thanks, works fine.

Regards Brassmann

    icon2.gif   Re: Author field read only in new posts, posted by Brassmann on Mon Oct 13 10:43:30 2008 

Stefan Ritt wrote:

 

Brassmann wrote:

Hi,

how can i make the author field read only on new postings? It should take the value from $long_name after login and without login there is no way to make new postings.

This is a part of my elogd.cfg


[global]
.......

Logfile = elogd.log
Logging level = 3
Login expiration = 24
Password file = ./passwd ....... [Informations] .......
Logout to main = 1
Logbook tabs = 1
Guest menu commands = Back, Find, Login, Help
Guest find menu commands = Find, Select, Login, Help
Preset Author = $long_name
Attributes = Author, Subject
Required Attributes = Author, Subject ........

Thanks Brassmann

 

 All you need is an addition

Locked Attributes = Author


 Thanks, works fine.

Regards Brassmann

    icon5.gif   Re: Author field on reply, posted by Stefan Ritt on Wed Jul 28 14:14:05 2004 
> I followed copied the example config provide to run on my server .
> Apparently , the author field was blank when i do a reply .
> I was hoping to get it to be the actual reply author.
> Just like the way the forum is done up.
> Please help ..

This (new) behaviour came from the request that some people id *NOT* want to
have the new author on the reply, but the *ORIGINAL* (they used an attribute
"Origial author" which should not be replaced on a reply). Therefor I added a
new option to resolve that. So please use

Preset Author = $long_name
Preset on reply Author = $long_name

if you want to have the attribut "Author" replaced by the current one both on
new entries and on replies.
    icon2.gif   Re: Author drop-down menu length, posted by Andreas Luedeke on Mon Mar 10 15:18:51 2014 

Kay Graf wrote:

I am handling several ELOGs for medium-sized collaborations (scientific experiments) with a large number of authors (~250) and chose to have single-user access and entries for every author - in the config file, the "Options Author"-List contains ~150 name for now.

However, the Author drop-down menu stops after ~100 names - is that a ELOG-webserver hard limit? I checked there is nothing strange in the author names following (no strange character, etc.).

I tested it on Firefox, Chrome, Safari - it does not seem to be a browser issue.

Any help would be highly appreciated.

Hello Kay,

I had to look it up in the source code: yes, you are right, it is hard-coded in elogd.h

 
English (auto-detected) » English
 

elogd.h:#define MAX_N_LIST      100

You can of course change the limit and recompile.

As an alternative, you could have sub-menus with less than 100 entries  (disclaimer: the following is untested example):

Attributes = author_range, author, ...
options author_range = A-K{1}, L-Z{2}
{1} options author = Andi, Bob, Camilla, Dennis, ..., Kay
{2} options author = Lily, Max, Norbert, Oscar, ..., Zeta

Cheers

Andreas

    icon14.gif   Re: Author drop-down menu length, posted by Kay Graf on Tue Mar 11 09:19:06 2014 

Andreas Luedeke wrote:

Kay Graf wrote

Hello Kay,

I had to look it up in the source code: yes, you are right, it is hard-coded in elogd.h

 
English (auto-detected) » English
 

elogd.h:#define MAX_N_LIST      100

You can of course change the limit and recompile.

As an alternative, you could have sub-menus with less than 100 entries  (disclaimer: the following is untested example):

Attributes = author_range, author, ...
options author_range = A-K{1}, L-Z{2}
{1} options author = Andi, Bob, Camilla, Dennis, ..., Kay
{2} options author = Lily, Max, Norbert, Oscar, ..., Zeta

Cheers

Andreas

Hello Andreas,

thanks a lot for your quick reply - both options are valid and working. For simplicity (the author list is generated automatically from a shell script) I opted for the first one.

Best regards,

Kay

 

    icon2.gif   Re: Author attribute as a Quick Filter?, posted by Stefan Ritt on Thu Feb 6 15:46:11 2003 
> When ELOG is configured for Self-Register=3, is it still possible
> to use the Author attribute as a Quick Filter? 
> 
> When I try it, the Author drop down box doesn't display anything.
> 
> Thanks,
> Eric

The "Quick Filter" facility only works for attributes which are avaiable as 
an "Options <attribute> = ..." list. So if you have a "free" attribute like 
the author, the systen would have to scan the whole logbook to find all 
possible authors, which would result in some unacceptable performance 
degradation. Nevertheless, in systems with a limited number of authors one 
can add the "options author = ..." statement to get the selection box. The 
behaviour is independent of the "Self-Register" setting.
    icon2.gif   Re: Author & pwd case sensitive ?, posted by Stefan Ritt on Tue Sep 10 17:24:25 2002 
> Is it possible to make the author and pwd check case in-sensitive??  I 
> noticed that unless you type your userid and password in the same case each 
> time, the system doesn't recognize your or thinks the info is invalid.
> 
> thanks,
> eric

Well, that's how it should be. All other systems I know like Windows NT 
Login, Linux login etc. are case-sensitive, so we should follow that standard.
ELOG V3.1.5-3fb85fa6