Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 464 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  69074   Wed Dec 4 20:39:41 2019 Reply Johnsecondcomingtechnologies@fastmail.comInfoLinux | WindowsELOG V3.1.4-eadRe: How to selectively use Top/Bottom Text JavaScript.

Wow thanks again Stefan for your kind and prompt responses!!

John

Stefan Ritt wrote:

In JS, you have access to the browser URL via window.location. So you can write conditional code depending on the actual elog command.

Stefan

John wrote:

I think I know what the answer(s) will be already.. that I will need to address this in JS. I don't want each screen to run/show the same code, other than the ones I want to.  AND I do not want to have to create a custom form for each 'menu option' to achieve this (if possible).

Thanx,

John

 

 

  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
  67561   Thu Sep 5 11:20:41 2013 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionWindows2.9-2475Re: How to remove "Remove user" button ?

Mark Campbell wrote:

Is there a way to remove the "Remove user" button from non-Amin users config page?

BTW Stefan ELOG is a Great Solution!

Thanks Mark. 

Hi Mark,
I've had a quick look in the code: currently it is not possible to remove the "Remove user" button.
But a non-admin user would only be able to remove his own user account. Shouldn't a user have the ability to remove his own account?
 
Detect language » English
 

 

Andreas

 

 

Andreas

  67562   Thu Sep 5 12:56:37 2013 Reply Mark CampbellCAMP2MAR@police.nsw.gov.auQuestionWindows2.9-2475Re: How to remove "Remove user" button ?

Andreas Luedeke wrote:

Mark Campbell wrote:

Is there a way to remove the "Remove user" button from non-Amin users config page?

BTW Stefan ELOG is a Great Solution!

Thanks Mark. 

Hi Mark,
I've had a quick look in the code: currently it is not possible to remove the "Remove user" button.
But a non-admin user would only be able to remove his own user account. Shouldn't a user have the ability to remove his own account?
 
Detect language » English
 

 

Andreas

 

 

Andreas

 Hi Andreas,

we would prefer only admin users to be able to remove user accounts.

I have just tested the Remove user command with a regular user account and get this error " Error: Command "Remove user" not allowed" so it looks like users can't remove their own account, so that is OK.

 

Thanks

Mark.

  67409   Thu Dec 27 12:52:00 2012 Reply David PilgramDavid.Pilgram@epost.org.ukQuestionAll2.92Re: How to put "Quote text" _below_ new message?

Valentin wrote:

Hi there,

It seems that by default in a message created as "reply" of another message, the "quoted text" of the original entry is put at the _TOP_ of the new entry and not movable (Firefox 17, elog 2.92). I would strongly like to have it opposite, i.e. that one is able to create a new text first and only then has the "quoted text" since people are interested to see a new information and only then the previous messages as sort of "reminder". It was like this in older (2.6?) version but now I did not find how to change this default behavior. Did I miss something?

Cheers

Valentin

I use plain encoding, cannot answer for the others but it should do the trick as it's in the documentation.  I'm using Firefox some large number and 2.9.2.-2475

I do what I believe you want, and get it by having the following line in my config file for that logbook (which is part of elog.cfg):

 Prepend on reply = \n

This gives a blank line at the "top" of the entries when you start a reply, and all the previous entries gain another "> " unless you've also altered that default behaviou (as in fact I have).  The result then looks like:

Latest line of text

> Previous entry

> > Previous entry to that

  67415   Mon Jan 7 16:43:27 2013 Reply Stefan Rittstefan.ritt@psi.chQuestionAll2.92Re: How to put "Quote text" _below_ new message?

If you use HTML encoding, you can do that with

Prepend on reply = <br />

to achieve the same thing (as I did just here in this reply).

Stefan

 

David Pilgram wrote:

Valentin wrote:

Hi there,

It seems that by default in a message created as "reply" of another message, the "quoted text" of the original entry is put at the _TOP_ of the new entry and not movable (Firefox 17, elog 2.92). I would strongly like to have it opposite, i.e. that one is able to create a new text first and only then has the "quoted text" since people are interested to see a new information and only then the previous messages as sort of "reminder". It was like this in older (2.6?) version but now I did not find how to change this default behavior. Did I miss something?

Cheers

Valentin

I use plain encoding, cannot answer for the others but it should do the trick as it's in the documentation.  I'm using Firefox some large number and 2.9.2.-2475

I do what I believe you want, and get it by having the following line in my config file for that logbook (which is part of elog.cfg):

 Prepend on reply = \n

This gives a blank line at the "top" of the entries when you start a reply, and all the previous entries gain another "> " unless you've also altered that default behaviou (as in fact I have).  The result then looks like:

Latest line of text

> Previous entry

> > Previous entry to that

 

  67638   Mon Dec 16 11:16:33 2013 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionLinux2.9.2Re: How to property install?

Ryan Blakeslee wrote:

 Hello,

I have followed the very simple steps on the Download page for checking out and compiling from GIT.  That works perfect and there is no issue.  

The problem I have is-- it is not clear to me where to put the 'elog' dir that I have after I 'make' and 'make install'.  Or, is there an installer script afterwards that I run? I'm installing on Debian 7 and trying to upgrade from 2.5.2 (which was installed using apt-get.)

Hi Ryan,

as far as I remember the Debian package is not supported any more. The "make install" assumes Red-hat style installation directories (you can see it in elog/Makefile, all the installation directories are installed there).

I have no idea where Debian is supposed to install the binaries. But you should be able to use GNU "locate" to find the old files: "locate elog" and "locate elogd" should tell you where the old binaries had been installed.

Kind Regards, Andreas

 
English (auto-detected) » English
 
ELOG V3.1.5-3fb85fa6