Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 228 of 808  Not logged in ELOG logo
    icon2.gif   Re: change design part of the discussion board, posted by Heinzmann on Tue Jun 8 23:08:41 2010 

Stefan Ritt wrote:

Heinzmann wrote:

Hello Stefan,

 

If I would like to change the design of the attached part of the discussion board like:

 

deleting OS: (including blue box) Linux Windows Mac OSX  All  Other (including green box)

 

Where and how could I do this?

 

Thank you 

Well, the official forum at midas.psi.ch cannot be changed by you. But if you installed a local logbook similar to the one here, you simple go and edit the confitguration file elogd.cfg. Please read the documentation for further information.

Stefan,

 

I have done the changes to my logbock, but I think I have done something wrong. As an example, the window where you write in your note is not sized anymore like before. I have to scroll a lot to the right to see the right border of the window.

The only thing I have done was try to delete: the OS:  Linux Window Mac OSC All Other info.

Please could you help me out?

 

    icon2.gif   Re: change design part of the discussion board, posted by Stefan Ritt on Wed Jun 9 08:26:20 2010 

Heinzmann wrote:

I have done the changes to my logbock, but I think I have done something wrong. As an example, the window where you write in your note is not sized anymore like before. I have to scroll a lot to the right to see the right border of the window.

The only thing I have done was try to delete: the OS:  Linux Window Mac OSC All Other info.

How should I know what you have done wrong if you don't tell me. It's like if you call your PC manufacturer and tell him: "My PC is not working, what is wrong?". So please send me your elogd.cfg, and make a few screen shots so that I know what is going on.

    icon2.gif   Re: change Cell Style, posted by Andreas Luedeke on Tue Jun 30 17:12:10 2020 

You should edit the CSS style file: /usr/local/elog/themes/default/elog.css

Just change all fields "background-color:" to your desired color; e.g. "#FFFFFF" for white.
 
Lahreche Abdelmadjid wrote:

Hi All,

I hope to change the Cell Style backround color into background point.

because my color printer don't work.

can some one give me the code to do that.

Regards.

 

 

    icon2.gif   Re: change Cell Style, posted by Lahreche Abdelmadjid on Wed Jul 1 09:08:17 2020 

I would like to change the backround cilor of a cell and not sheet.

also don't use color, but system of point (to print it in monochome printer)

Andreas Luedeke wrote:

You should edit the CSS style file: /usr/local/elog/themes/default/elog.css

Just change all fields "background-color:" to your desired color; e.g. "#FFFFFF" for white.
 
Lahreche Abdelmadjid wrote:

Hi All,

I hope to change the Cell Style backround color into background point.

because my color printer don't work.

can some one give me the code to do that.

Regards.

 

 

 

    icon2.gif   Re: chain.crt, posted by Stefan Ritt on Fri Sep 4 08:33:16 2009 
> Like many educational institutions we get "educational certificates" that are chain certificates..
> 
> With apache the full certificate chain is working as expected..
> 
> For elog I copied the appropriate files to server.crt and server.key
> 
> Netscape 3 is happy with that setup, Internet Explorer and Opera are mentioning the open certificate chain.
> 
> When I tried to copy the file known as SSLCACertificateFile in Apache to chain.crt elogd does not longer work 
and 
> 
> openssl s_client -showcerts -connect <myserver>:<elogd_port>
> 
> only shows: 
> 
> CONNECTED(00000003)
> 25523:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:562:

To be honest I'm not an expert on SSL. I just use following code inside ELOG to initialize the SSL connection:

SSL_CTX *init_ssl(void)
{
   char str[256];
   SSL_METHOD *meth;
   SSL_CTX *ctx;

   SSL_library_init();
   SSL_load_error_strings();

   meth = SSLv23_method();
   ctx = SSL_CTX_new(meth);

   strlcpy(str, resource_dir, sizeof(str));
   strlcat(str, "ssl/server.crt", sizeof(str));
   if (!file_exist(str)) {
      eprintf("Cerificate file \"%s\" not found, aborting\n", str);
      return NULL;
   }
   if (SSL_CTX_use_certificate_file(ctx, str, SSL_FILETYPE_PEM) < 0)
      return NULL;

   strlcpy(str, resource_dir, sizeof(str));
   strlcat(str, "ssl/server.key", sizeof(str));
   if (!file_exist(str)) {
      eprintf("Key file \"%s\" not found, aborting\n", str);
      return NULL;
   }
   if (SSL_CTX_use_PrivateKey_file(ctx, str, SSL_FILETYPE_PEM) < 0)
      return NULL;
   if (SSL_CTX_check_private_key(ctx) < 0)
      return NULL;

   strlcpy(str, resource_dir, sizeof(str));
   strlcat(str, "ssl/chain.crt", sizeof(str));
   if (file_exist(str))
      SSL_CTX_use_certificate_chain_file(ctx, str);

   return ctx;
}

Maybe I need something different for chain certificates, but I don't know. I just copied these calls from the 
example which comes with the libssl library which I'm using. Maybe somebody has an idea how this could be 
improved. Actually looking at the code I see that the 'chain.crt' file is used. If you send me your files 
privately I could try them and see if I get a specific error code from the SSL library.
    icon2.gif   Re: chain.crt, posted by Gerhard Schneider on Wed Oct 7 07:56:52 2009 
> Like many educational institutions we get "educational certificates" that are chain certificates..
>  
> only shows: 
> 
> CONNECTED(00000003)
> 25523:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:562:
> 
> What do I do wrong?
> 

After reading the OpenSSL Documentation:

The certificates must be in PEM format and must be sorted starting with the subject's certificate (actual client or
server certificate), followed by intermediate CA certificates if applicable, and ending at the highest level (root) CA.

The chain.crt has to be of the following format:

HOST CERTIFICATE
INTERMEDIATE CERTIFICATE
ROOT CERTIFICATE

Then it is working w/o problems

GS
    icon2.gif   Re: cell style bug?, posted by Stefan Ritt on Fri May 7 08:09:16 2010 

ch huet wrote:

hello

i've tried to change the color of a cell with "cell style"

it doesn't works

by removiving "cell" in the line ,just to get "style" the color of all cell of the row change (so it works for that...)

regards

As written here: https://midas.psi.ch/elogs/Forum/66807 you need to upgrade to version 2.7.8-5 of ELOG to get this functionality. 

    icon2.gif   Re: cell style bug?, posted by ch huet on Fri May 7 15:35:12 2010 

Stefan Ritt wrote:

ch huet wrote:

hello

i've tried to change the color of a cell with "cell style"

it doesn't works

by removiving "cell" in the line ,just to get "style" the color of all cell of the row change (so it works for that...)

regards

As written here: https://midas.psi.ch/elogs/Forum/66807 you need to upgrade to version 2.7.8-5 of ELOG to get this functionality. 

 You're right my verssion was the previous one

ELOG V3.1.5-3fb85fa6