Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 473 of 808  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  1827   Wed May 10 16:30:45 2006 Idea Kevin McCartykmccarty@princeton.eduRequestAll2.6.1Feature request - site-specific ELCode markup definitions
Hi,

Here's a suggestion that you may or may not want to apply. It would be nice if there existed a config file (or a syntax in the existing elog.cfg file) that permitted sites to define their own ELCode patterns.

Let me give you a usage case. I thought it would be nice to have LaTeX expressions show up automatically on my group's ELog installation if they entered them like this: [math]x^2 + y^2 = r_0^2[/math] So in the source code file elogd.c, I hacked in the following additions to the definition of pattern_list[]:
   {"[math]", "<img src = \"http://borex.princeton.edu/mimetex?"},
   {"[/math]", "\" border = \"0\" align = \"absmiddle\" />"},
and recompiled ELog.

What this does is convert the LaTeX expression into a URL that uses the "mimetex" CGI program installed on my server to output a GIF file of the equation. So my users can have inline math expressions in their log entries, like this: . Obviously this is far too site-specific to be added to the official ELog code (unless you want to embed mimetex code into the server, which I kind of doubt Smile ). But it would be nice if I could specify these patterns in a config file without having to edit the source code and recompile each time I want to install a new ELog version!

Presumably others could find a use for site-specific ELCode markup too (logos, custom smilies, etc.)

Thanks for your time.
  1828   Wed May 10 16:55:28 2006 Reply Kevin McCartykmccarty@princeton.eduQuestionLinux2.6.1Re: Email notification question

Stefan Ritt wrote:

Kevin McCarty wrote:
Hello,

I've just set up an ELog server for my research group. (Running on Debian, package version 2.6.1+r1642-1)

I have a question about the email notifications. I read through the config file documentation, but couldn't find the answer (maybe I am just unobservant\?) Is it possible to have the email notifications contain only the title of the log entry (as well as the usual attributes), but not the full text or any attachments? I have users who are worried about their email going over quota from ELog's emails, but who nevertheless would like some kind of notification when new log entries are posted.

Thanks in advance!


Have a look at the option Email format = <n>


Ah, thank you! Somehow I overlooked that. My apologies, and thanks for your very fast response.
  2218   Thu Apr 26 16:43:45 2007 Question Kevin McCartykmccarty@princeton.eduRequestLinux2.6.3-1764Is there (planned) support for <A NAME> and <HR /> in ELCODE?
Hello,

I am wondering if there is any support (or if not, if it is planned) for inserting HTML <a name> and <hr /> tags via ELCODE. This would be useful for long log messages in order to provide a table of contents and divide them into clear sections. If this support already exists, I'm afraid it is not obvious to me how to access it in ELCODE. If it does not yet exist, would you consider a patch for it?

As a related issue, to support <a name> usefully, it will also be necessary for ELCODE to support things like [url=#tag], which it currently converts to <a href = "http:///#tag"> instead the expected result of <a href = "#tag">.

(Please send me replies also by email at kmccarty AT princeton DOT edu, as I don't check this forum often.)

Thanks for writing ELOG; our group has been using it very productively on our server for the last few weeks.

best regards,

-- Kevin McCarty
  2222   Fri Apr 27 08:56:10 2007 Reply Kevin McCartykmccarty@princeton.eduRequestLinux2.6.3-1764Re: Is there (planned) support for <A NAME> and <HR /> in ELCODE?

Stefan Ritt wrote:

Kevin McCarty wrote:
I am wondering if there is any support (or if not, if it is planned) for inserting HTML <a name> and <hr /> tags via ELCODE.


Very good idea. The horizontal line
is already implemented via [LINE] and the anchor tag will soon follow.


Wonderful, thanks!

-- Kevin McCarty
  67024   Fri Mar 4 20:07:30 2011 Question Kenkludingt@gmail.comQuestionWindows password problem

I moved my elog install to a new box on short notice due to an emergency, everything works but none of the passwords are recognized, and are not using what it set in elogd.cfg.  any ideas ?

  67495   Tue May 7 22:15:37 2013 Question Ken Ludingtonkludingt@gmail.comQuestionLinux2.9.2some menu commands formed with broken links
On many of my logbooks when I specify the menu commands to appear i will get one, usually 'List', which has a
link not back to the logbook itself but to the root of the elog web server i.e. http:/hostname.domain:8080 
But nothing will respond without the logbook name after the port number.  This also seems to be happening to the
"back" submit button.  I can't seem to figure out how to address it.  Suggestions?
  67501   Fri May 10 19:26:50 2013 Reply Ken Ludingtonkludingt@gmail.comQuestionLinux2.9.2Re: some menu commands formed with broken links
Here's the global section and the logbook section for one of the logbooks affected.  Of note, the 'demo' logbook works
fine and does not have this issue.

[global]
port = 8080
SMTP host = localhost
Welcome title = Welcome
Top group 2012 =  2011, 2010, 2009, 2008, 2007, WINTER

[WINTER]

;*****Look and Feel*****
Page title = Winter Weather
List page title =  Winter Weather
Edit page title = Winter Weather
Theme = default
CSS = default.css
Comment = Winter Weather
Title image =

;*****Email*****
Use Email From = me@me.com
Suppress Email to users = 1
Display Email recipients = 0
Email Encoding = 4
Suppress Email on edit = 1

;*****Settings*****
Entries per page = 30
;Reverse sort = 1
Expand default = 2
Display mode = SUMMARY
Mode command = 0
Time format = %d%B%Y-%H:%M
Summary lines = 15
Show top groups = 0
Message height = 8
Message width = 38
Default encoding = 1
Mode commands = 0
Suppress default = 2
Resubmit default = 2
Back to main = 1
RSS Title = $entry time - $Event

;*****MENU*****
List Menu commands = New, Find
Menu commands = List, New, Edit, Find, Reply, Delete
  68190   Mon Nov 16 20:42:15 2015 Question Ken Ludingtonkludingt@gmail.comQuestionLinux3.1.0resending information confirmation box after refresh interval

After submitting a new post, if the page is left completely alone,, it will after a few minutes prompt that the page needs to resend information.

This is the same prompt you'd get if you attempt to refresh a page that had session variables passsed to it. Example is attached.

Is there something in my config that could cause this?   This is a fresh install of the latest verison however my elogd.cfg file has been migrated throuh many installs over many versions, so it's very possible this is something following along.

thanks.

Attachment 1: errormsg.jpg
errormsg.jpg
ELOG V3.1.5-3fb85fa6