Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 468 of 808  Not logged in ELOG logo
    icon2.gif   Re: How to insert new entry between two entries., posted by David Pilgram on Mon Nov 3 17:14:44 2014 

Daniel Roldan wrote:

 I would like to put between two entries a new entry.

My Users forgot to put a entry, and now they would like to put a new entry between olders entries.

For Example:

We have 10 entries order by Id:

300

301

302

...

 

They want to put between the entry 300 and 301 a new entry.

Is possible to do this feature?

 

Thanks! 

There is nothing within elog itself to insert entry 310 between 300 and 301.  If you allow branching in your logbook. make a second reply to entry 300, and add in the missing details.  That entry will always be there as a reply to 300, but not obviously between 300 and 301.

From this point, any way to improve matters will require editing of the log files (default location /usr/local/elog/logbooks).  I should warn that editing these files can cause problems, including elog to crash, and spotting your error can take a lot of effort.  I speak from experience. I suggest that you have a look at a few entries, the layout of the entries etc first, and if you're still up for it I'll give a quick spin on how to improve the tidyness of how your entires look with 310 inserted between 300 and 301.

I should add what I would write only applies for certain for linux users, as it is my OS of choice.

    icon2.gif   Re: How to insert new entry between two entries., posted by Andreas Luedeke on Tue Nov 4 14:51:20 2014 

Daniel Roldan wrote:

 I would like to put between two entries a new entry.

My Users forgot to put a entry, and now they would like to put a new entry between olders entries.

For Example: We have 10 entries order by Id:

300
301
302
...

They want to put between the entry 300 and 301 a new entry.

Is possible to do this feature?

Thanks! 

You are using the entry ID to sort your entries: there is no good way to insert a new entry ID, like 300.5

But you could sort your entries by other means, that allows you to insert entries later between existing entries.

I use for example a "when" attribute of type datetime. Here's an excerpt from the relevant part of my config file:

Attributes  = ..., when
Start page  = ?rsort=when
Type when   = datetime
Preset when = $date
 
This sorts automatically all your entries according to the "when" attribute. "when" will be preset to the creation date, but you can change it if the entry belongs to the past between two other entries.
If you don't create entries every second, then you'll always find a date to add entries between two old entries.
 
Be aware that you should only add new Attributes only at the end of the list, otherwise old entries without the attribute may appear mixed up.
 
Regards
Andreas
 
English (auto-detected) » English
 
    icon2.gif   Re: How to increase TEXT_SIZE to address entry text limit, posted by Simon Däster on Wed Dec 16 12:41:42 2020 

Hi Illam

You actually have to change the source code of elog and then recompile. Download the code from https://bitbucket.org/ritt/elog/src/master/, change the value of the variable TEXT_SIZE in the file src/elogd.h

Default ist #define TEXT_SIZE 250000

 

Illam Pakkirisamy wrote:

Hi,

I'm trying to increase the entry text constraint but not sure how to do this.  Couldn't find it in the documentation or may be I missed it.  Appreciate your help.

Thanks.
Illam

 

 

    icon2.gif   Re: How to import previous emails to elog ?, posted by Stefan Ritt on Fri Feb 18 08:47:20 2005 
Have a look at http://midas.psi.ch/elogs/Contributions/10
    icon2.gif   Re: How to get a list of registered users assigned to an attribute?, posted by Stefan Ritt on Fri Sep 5 17:30:07 2003 
> I am trying to create an issues logbook where I have defined an attribute 
> so I can track who this issue is assigned to. In order to get a drop-down 
> list of users of the system to show up for that attribute (when creating a 
> new issue), I have to type in the whole list of users in the config file. 
> The problem is that whenever a user self-registers, I have to go into the 
> config file and add that user to the list. Is there a way to write 
> something like this:
> 
> Options Assigned To = $user_list

This is not possible right now, but I will consider implementing it some time.
    icon2.gif   Re: How to get Elog server to produce web server log files in Linux., posted by Stefan Ritt on Wed Oct 16 09:48:56 2019 

Have you tried

Logfile = ...
Logging level = 3

John wrote:

Hi, I have been trying for a long time to get my web server logs to record when someone accesses my Elog server. I've tried Apache2, Lighttpd, and others, all with no luck. Either the web servers complain that the port I have Elog on is in use, or I just don't get any readings. I need to see who is accessing my  Elog from the web, and I hope there is a way.

Thanks again for such a wonderful program,

John

 

    icon14.gif   Re: How to get Elog server to produce web server log files in Linux., posted by John on Wed Oct 16 10:19:42 2019 

Thanx soo much Stefan.. I feel so stupid for not looking at the admin guide more :( But you how us nerds are-- read the manul last!

John :)

Stefan Ritt wrote:

Have you tried

Logfile = ...
Logging level = 3

John wrote:

Hi, I have been trying for a long time to get my web server logs to record when someone accesses my Elog server. I've tried Apache2, Lighttpd, and others, all with no luck. Either the web servers complain that the port I have Elog on is in use, or I just don't get any readings. I need to see who is accessing my  Elog from the web, and I hope there is a way.

Thanks again for such a wonderful program,

John

 

 

    icon2.gif   Re: How to get Elog server to produce web server log files in Linux., posted by John on Thu Oct 17 21:29:25 2019 

Hi again everyone; a Sebastian suggested I use a reverse proxy to complete my need to have logs show up when someone 'lands' on my first entry page. I see that Elog will only start recording logs when someone has actually started to do some work.. like login, read a post, etc... but NOT when they first enter the login page or 'listings' pages. I have tried fowarding from my router (both lighty and Apache) but so for no good. I will also look into  a vhost option and shareing the same port (very difficult- if even possible)  to  solve my dilema.

John :)

Stefan Ritt wrote:

Have you tried

Logfile = ...
Logging level = 3

John wrote:

Hi, I have been trying for a long time to get my web server logs to record when someone accesses my Elog server. I've tried Apache2, Lighttpd, and others, all with no luck. Either the web servers complain that the port I have Elog on is in use, or I just don't get any readings. I need to see who is accessing my  Elog from the web, and I hope there is a way.

Thanks again for such a wonderful program,

John

 

 

ELOG V3.1.5-3fb85fa6