ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1837
|
Wed May 24 09:00:34 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.6.1 | Re: Display legal banner |
Ed To wrote: | I read somewhere that javascript is supported with elog. For legal reasons, I have to post a legal banner before the login prompt. Can you tell me how to do this? I'm not a programmer, but I guess I could use the javascript alert command to do this. What file would I need to change? |
Unfortunately it was not possible to do that for the login page, so I had to add a new option Bottom text login which I implemented just now. You can now indeed use the alert command to do what you want, like
in elog.cfg:
Bottom text login = alert.html
and in alert.html:
<script language="JavaScript" type="text/javascript">
<!--
alert("Hello world");
//-->
</script>
or whatever legal statement you have to make.
The new version can be downloaded as elog261-5.exe from the home page. |
1838
|
Wed May 24 18:09:51 2006 |
| Ed To | eto@arc.nasa.gov | Question | Windows | 2.6.1 | Re: Display legal banner |
Stefan Ritt wrote: |
Ed To wrote: | I read somewhere that javascript is supported with elog. For legal reasons, I have to post a legal banner before the login prompt. Can you tell me how to do this? I'm not a programmer, but I guess I could use the javascript alert command to do this. What file would I need to change? |
Unfortunately it was not possible to do that for the login page, so I had to add a new option Bottom text login which I implemented just now. You can now indeed use the alert command to do what you want, like
in elog.cfg:
Bottom text login = alert.html
and in alert.html:
<script language="JavaScript" type="text/javascript">
<!--
alert("Hello world");
//-->
</script>
or whatever legal statement you have to make.
The new version can be downloaded as elog261-5.exe from the home page. |
Wow, I wasn't expecting that quick of a response. Thanks Stefan. BTW, I really like elog. It's simple to setup and use. Keep up the good work. |
1839
|
Thu May 25 02:28:27 2006 |
| Ed To | eto@arc.nasa.gov | Question | Windows | 2.6.1 | Re: Display legal banner |
Stefan,
Thanks again. I got it to display my legal banner. |
1843
|
Fri Jun 2 21:20:06 2006 |
| Elaine Cristina Franchini dos Anjos | elaine@ccuec.unicamp.br | Question | Linux | 2.6.1-1681 | Inserting images via Internet Explorer |
Hi Stefan,
I observed that there is a difference between IE and others browsers.
When I use "insert image" button in Netscape, for instance,
it creates automatically a tag like [IMG]elog:1/1[/IMG] and
includes an attachment in the ELOG entry.
When a try to do the same action in Internet Explorer, only
the attachment is created without the tag [IMG]elog:1/1[/IMG] .
I did the same test using this forum, and the results are identical
that was related above.
Is it a bug or I'm doing something wrong ?
Thanks,
Elaine |
1849
|
Wed Jun 21 18:36:06 2006 |
| Jeremy Perkins | perkins@egret.sao.arizona.edu | Question | Linux | | Hosts Allow and Password File |
I'm trying to set up an elog that uses a password file using the "Password file = /blah" directive as well as the "Hosts allow = myhost.mydomain" directive. I used the -v command and watched the messages and elogd is recognizing that I am connecting from an allowed host but the login page is still appearing. Is there a way to use both of these? |
1850
|
Wed Jun 21 22:11:15 2006 |
| Gerald Ebberink | g.h.p.ebberink@nclr.nl | Question | Linux | 2.6.1 | restrict access |
Dear all,
I am trying to get elog used in our company but I need some help.
I have two small questions:
-1- how can I restrict the access
of a certain user such that he can only see certain logbooks.
But also not showing the other logbooks on the selection page.
So we could have a tree like this:
Stage one
|
|->Stage 2
|
|
/ \
| |
Co1 Co2
/ \
job job
So when Co1 logs in the should not be able to see Co2 and the attached job
-2- How can I have a login page instead of the logbook selection page.
When I insert the password statement the config, I get a blank page. |
1851
|
Thu Jun 22 08:04:13 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.6.1 | Re: restrict access |
> -1- how can I restrict the access
> of a certain user such that he can only see certain logbooks.
This can be achieved with the "Login user = ..." option.
> But also not showing the other logbooks on the selection page.
You could try to use "top groups". This gives you "separate" groups of logbooks, so you could make a public tree
seen by everybody and private trees only seen by a few people. Please read the documentation for details.
> -2- How can I have a login page instead of the logbook selection page.
> When I insert the password statement the config, I get a blank page.
You get a login page instead of the selection page if the "Password file = " statement is in the [global] section
and "Protect selection page = 1". You might have to delete all cookies in your browser if you move the password
file statement between the [global] and the logbook sections, because otherwise the old cookies might prevent you
from logging out. |
1852
|
Thu Jun 22 08:09:11 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | | Re: Hosts Allow and Password File |
Jeremy Perkins wrote: | I'm trying to set up an elog that uses a password file using the "Password file = /blah" directive as well as the "Hosts allow = myhost.mydomain" directive. I used the -v command and watched the messages and elogd is recognizing that I am connecting from an allowed host but the login page is still appearing. Is there a way to use both of these? |
You misunderstand something. The "Password file = ..." statement turns on user level access, that means each user has to log in and identify himself this way in a unique way (so that you know who wore a certain logbook entry etc.). This has nothing to do with the "Hosts allow/deny" statements, which works separately. So if you combine "hosts allow" with "password file", this means that only users from the password file can log in from certain hists, but they still have to identify themselves with their username and password. If you want to log into a logbook without supplying a password from certain hosts, then you remove the "password file" statement. But then anyone from that host can write logbook entries, so you loose the user identification. |