Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 463 of 808  Not logged in ELOG logo
    icon2.gif   Re: How to share with others, posted by Stefan Ritt on Wed Feb 18 20:14:04 2009 

 

Nuruzzaman wrote:

Please tell me how to share my elog with people.

 

 Connect your PC to the internet and tell everybody the URL. Make sure the Windows Firewall allows remote access.

    icon2.gif   Re: How to setup elogd as windows service with shell execution?, posted by Stefan Ritt on Mon Sep 13 09:23:29 2010 

Robert Heine wrote:

Dear colleagues,

I am trying to use the elogd as a service with activated shell-execution. Invoking 'elogd -x' on the command line works fine, as well as 'elogd -install'. The option 'elogd -x -install' does not seem to be implemented, so I followed two ways to get this to work:

1) creating my own service with instsrv/srvany and registry editing: starting 'elogd -x' does not work (error 1053), the -D option has to be added, to start the service without time out. But then shell execution seems to be not working, because no input to the elog is generated, but also no message saying shell execution was not enabled!

2) using 'elogd -install' and modifying the registry entry by adding the -x option to the command line in the 'HKLM\System\CurrentControlSet\Services\elogd\ImagePath': This enables shell execution, but instead of piping the output to the logbook, some DOS boxes pop up executing the shell command and terminate. No entries are generated.

Has anyone an idea?

I could never get shell execution work when elogd is started as a service. This has probably to do with system permissions or so under Windows. If anybody has a clue, please let me know. Under Linux this works nicely, but this is probably not an option for you...

    icon2.gif   Re: How to setup Change attributes in detail view/edit mode ?, posted by Stefan Ritt on Wed Feb 22 20:36:53 2006 
> because I've got a very quick response on my 1st question regarding
> "Change attributes" here is anonther one:

Don't stress it too much ;-)

> I've defined 2 attributes with "Change attribute" / "List Change attribute" (see configuration).
> Because this values are build on other attributes I want to hide these attributes in 
> NEW / EDIT mode. How is this possible?

Show Attributes = Admin, Hostname, IP-Adresse, Funktion, RIB Hostname, RIB IP

hides the attributes in the New/edit mode, but unfortunately also in the detailed view.
    icon2.gif   Re: How to setup Change attributes in detail view/edit mode ?, posted by Holger Mundhahs on Thu Feb 23 08:44:25 2006 
Hello Mr. Ritt,

I've changed the category to "Request" because I think it would be practical
if I can hide the attributes which are build on values of other attributes with
"Change".

Regards
Holger Mundhahs

> > because I've got a very quick response on my 1st question regarding
> > "Change attributes" here is anonther one:
> 
> Don't stress it too much ;-)
> 
> > I've defined 2 attributes with "Change attribute" / "List Change attribute" (see configuration).
> > Because this values are build on other attributes I want to hide these attributes in 
> > NEW / EDIT mode. How is this possible?
> 
> Show Attributes = Admin, Hostname, IP-Adresse, Funktion, RIB Hostname, RIB IP
> 
> hides the attributes in the New/edit mode, but unfortunately also in the detailed view.
    icon2.gif   Re: How to setup Change attributes in detail view/edit mode ?, posted by Stefan Ritt on Thu Feb 23 09:19:27 2006 
> I've changed the category to "Request" because I think it would be practical
> if I can hide the attributes which are build on values of other attributes with
> "Change".

Have you tried

Show Attributes = Admin, Hostname, IP-Adresse, Funktion, RIB Hostname, RIB IP

???

Does it bother you if then the attributes are also hidden in the detailed view?
    icon2.gif   Re: How to setup Change attributes in detail view/edit mode ?, posted by Holger Mundhahs on Thu Feb 23 09:45:54 2006 
No, I havn't tried it, because it's the only way where I can see ALL attributes, and
I belief, that it works to hide the attributes on all views.

Here an Example:

I have 5 attributes where I can enter values, and 5 addtitional attributes build on them.
I can't see all of them in list view, so the only way to see/use them is the detailed view.
But because there is no value to insert/change these attributes should be hidden in NEW/EDIT mode.
As an workaround I LOCK/FIX these attributes so I can't insert values, but there are now many empty lines.
So if you can implement this functionality it would be great, but if not it's not so bad, 
I can "live" with it ;)

Regards
Holger

> > I've changed the category to "Request" because I think it would be practical
> > if I can hide the attributes which are build on values of other attributes with
> > "Change".
> 
> Have you tried
> 
> Show Attributes = Admin, Hostname, IP-Adresse, Funktion, RIB Hostname, RIB IP
> 
> ???
> 
> Does it bother you if then the attributes are also hidden in the detailed view?
    icon2.gif   Re: How to setup Change attributes in detail view/edit mode ?, posted by Stefan Ritt on Wed Mar 1 10:30:51 2006 
I implemented a "Hide attributes = ..." option, with which you can do what you requested, but unfortunately I'm
sitting here in Siberia and have only limited internet access, so I can only submit the modification next weekend.

- Stefan
    icon2.gif   Re: How to selectively use Top/Bottom Text JavaScript., posted by Stefan Ritt on Wed Dec 4 10:15:56 2019 

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

 

ELOG V3.1.5-3fb85fa6