Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 764 of 796  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  1219   Mon Jun 27 15:19:05 2005 Reply Emiliano GabrielliAlberT@SuperAlberT.it Linux2.6.0beta2Re: [BUG] quick filter

Emiliano Gabrielli wrote:

Stefan Ritt wrote:

Emiliano Gabrielli wrote:
it seems that the select box of quick filters are showing also the "{n}" appended to the Attributes in order to obtain conditional Attributes ...

see the snapshot attached


Fixed in current CVS.

BTW, I would display the date selection calender in a new floating window, not to take away all the precious screen space at the top. Then I would use the same calendar as for the date attributes, not to confuse users with two different styles.


uhm... now the drop down menu is composed of only blancs ..

Reguarding the calendar... the picture is just one of my tests .. I started using a popup window, but it makes complicated to do all the job I want.. so my current idea is to implemnet it a a dropdown layer, it will save both the precious space and the functionality..
I don't use the existing style becouse of, in the first popup try, it was to simple .. now I can't use it directly becouse I don't need any popup anymore.. but ok, we can keep the same style of course Smile
  1220   Mon Jun 27 15:37:25 2005 Agree Emiliano GabrielliAlberT@SuperAlberT.itBug fixLinux2.6.0beta2Re: [BUG] quick filter

Emiliano Gabrielli wrote:

Stefan Ritt wrote:


Fixed in current CVS.


uhm... now the drop down menu is composed of only blancs ..


the following patch should solve the problem Wink
--- src/elogd.c 24 Jun 2005 20:22:33 -0000      1.685
+++ src/elogd.c 27 Jun 2005 13:34:05 -0000
@@ -15853,7 +15853,7 @@
                      if (comment[0] == 0)
                         strcpy(comment, attr_options[i][j]);

-                     for (i1=i2=0 ; i1<=(int)comment ; i1++) {
+                     for (i1=i2=0 ; i1<=(int)strlen(comment) ; i1++) {
                         if (comment[i1] == '(') {
                            option[i2++] = '\\';
                            option[i2++] = '(';
  1222   Mon Jul 4 12:16:13 2005 Warning Emiliano GabrielliAlberT@SuperAlberT.itBug reportAll2.6.0beta2Re: [BUG] show only new entries

Emiliano Gabrielli wrote:

Stefan Ritt wrote:


I added a "Show all entries" link to go back.

I think you only committed the changes to elcode.js but not the ones relative to elogd.c ... the Attribute quick filter is now empty, and no "show all entries" is ever displayed


Just tested the rev 1.686 .. now the link is displayed, but following the "Show only last" link the "attach=1" setting in the URL I use is removed, not being able to have inline attachment in full view. They are displayed again when turning back to "Show all entries"
  1223   Mon Jul 4 18:46:25 2005 Entry Emiliano GabrielliAlberT@SuperAlberT.itBug reportAllcvs[BUG] attach=1 and inline imgs
There is a little difference in the way elog treats attachment's display in list and single message view...
It has to be, but some beaviours can be seen as bugs:

  • this is a real bug (see attachment).. if a file is referred inside the text (as shown in elcode docs) it is correctly not shown when in single message view, but it remains visible both inline and as attachment in the full list view
  • it would be nice for the user having, as in the single message view, the possibility of show or hide a single or all the attachements of a single message ..
  1225   Tue Jul 5 11:32:34 2005 Reply Emiliano GabrielliAlberT@SuperAlberT.itBug reportAll2.6.0beta2Re: [BUG] show only new entries

Stefan Ritt wrote:

Emiliano Gabrielli wrote:
Just tested the rev 1.686 .. now the link is displayed, but following the "Show only last" link the "attach=1" setting in the URL I use is removed, not being able to have inline attachment in full view. They are displayed again when turning back to "Show all entries"


I tried to fix this in the current CVS. Can you give it a try?


the following patch has to be applied over the one of you to complete it Smile
diff -u -r1.691 elogd.c
--- src/elogd.c 4 Jul 2005 21:12:58 -0000       1.691
+++ src/elogd.c 5 Jul 2005 09:29:57 -0000
@@ -16728,7 +16728,7 @@

    /*---- apply last login cut ----*/

-   if (isparam("new_entries") && isparam("unm"))
+   if (isparam("new_entries") && atoi(getparam("new_entries")) == 1 && isparam("unm"))
       get_user_line(lbs, getparam("unm"), NULL, NULL, NULL, NULL, &ltime_start);

    /*---- assemble message list ----*/
  1242   Fri Jul 8 10:52:36 2005 Entry Emiliano GabrielliAlberT@SuperAlberT.itBug reportAll2.6beta2Subst on Reply
the "subst on reply" parameter seems to correctly work only on the first reply..
since the second reply has the author locked to the one having replyed the first time.

Here is my config:
; preset author and email
Preset Author                 = $short_name
Preset Author Email           = $user_email
Subst on reply Author         = $short_name
Subst on reply Author Email   = $user_email
Subst on reply subject        = Re: $subject

; these attributes cannot be changed
Locked Attributes             = Author, Author Email
Fixed Attributes Reply        = Subject

My poor man solution is for now to allow everyone to change the author (unlock the field ..)
  1244   Fri Jul 8 19:08:30 2005 Question Emiliano GabrielliAlberT@SuperAlberT.itRequestAll <img> in Display Attribute
My goal is to be able to do the following :

Display Category = $category <img src="icons/$category.png" border="0">


This way one can add a self explaining icon to the attribute or just replaceing it (only in visualization)

Is there another method to accomplish this ? otherwise I's in my wish list Smile
  1249   Sat Jul 9 14:13:10 2005 Entry Emiliano GabrielliAlberT@SuperAlberT.itBug reportAll2.6beta2Re: Subst on Reply

Stefan Ritt wrote:

You need
Preset on reply Author = $short_name
. Subst is supposed to work after a submission, Preset before you open the edit mask. See this forum. If you reply to this entry, your name appears as the Author even if it's locked. Here is the config:
Preset Author = $long_name
Preset Author Email = $user_email
Preset on reply Author = $long_name
Preset on reply Author Email = $user_email
Locked Attributes = Author

The Subst can be used for your image category thing. So instead using
Display Category = $category <img src="icons/$category.png" border="0">

you can use
Subst Category = $category <img src="icons/$category.png" border="0">

which physically rewrites the category. This is probably not what you want, but take it as an example. We use it in one place to replace a user name by a link to our internal telephonbook searching for this username, so if one clicks on the user, one ends up in the user's telephonebook entry.


Ok it's working perfectly, my bad Iwas lost in the huge set of config parameters elog accept the first time I installed it Smile

Thank you so much Stefan
ELOG V3.1.5-2eba886