Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 729 of 796  Not logged in ELOG logo
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  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 ..
Attachment 1: elog-showattach_bug.jpg
elog-showattach_bug.jpg
  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 ..)
  1248   Fri Jul 8 22:38:51 2005 Entry Stefan Rittstefan.ritt@psi.chBug reportAll2.6beta2Re: Subst on Reply

Emiliano Gabrielli wrote:
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 ..)


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.
  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
  1264   Wed Jul 13 15:09:48 2005 Entry Emiliano GabrielliAlberT@SuperAlberT.itBug reportAll [code] should be a sort of <CDATA >
Using the [code] elocode should be intended also to preserve the tagged text from beeing parsed as html or elcode itself ..

this is an example:

Quote:
Note that, for security reasons, you should check the MD5 FINGERPRINT of the SSL certificate issued by the server agaist the following one:

MD5 Fingerprint = 23:A7:AD:33:3C:08:BE:2A:62:6E:85:DF:B8:00:23:40


Thank you
  1265   Thu Jul 14 12:47:06 2005 Entry Emiliano GabrielliAlberT@SuperAlberT.itBug reportAll short/long_name should point the same user
.. I mean that if I use:
Restrict edit                 = 1
; preset author and email
Preset Author                 = $short_name
Preset Author Email           = $user_email
Preset on reply Author        = $short_name
Preset on reply Author Email  = $user_email
Subst on reply subject        = Re: $subject

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

and then I change Preset Author to be "$long_name" Elog does not permit the autor to edit an old post of its own ...
It is not able to argue that short and long name are the same person..

Yes I know, you'll ask me why I should change it .. the anwer is.. I don't have to, but (as I could do it logically) I'd like to be able to do..

In my case I changed it by error, people inserted entries and now I restored the correct one .. so now I have to unlock the attribute and change every Author by hand as admin
Smile
  1266   Thu Jul 14 13:05:33 2005 Entry Emiliano GabrielliAlberT@SuperAlberT.itBug reportAll Re: short/long_name should point the same user

Emiliano Gabrielli wrote:
.. I mean that if I use:
Restrict edit                 = 1
; preset author and email
Preset Author                 = $short_name
Preset Author Email           = $user_email
Preset on reply Author        = $short_name
Preset on reply Author Email  = $user_email
Subst on reply subject        = Re: $subject

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

and then I change Preset Author to be "$long_name" Elog does not permit the autor to edit an old post of its own ...
It is not able to argue that short and long name are the same person..

Yes I know, you'll ask me why I should change it .. the anwer is.. I don't have to, but (as I could do it logically) I'd like to be able to do..

In my case I changed it by error, people inserted entries and now I restored the correct one .. so now I have to unlock the attribute and change every Author by hand as admin
Smile



a problem related to this issue is that an attribute of userlist type automatically sets the user to be in the long form..

My proposal is to alwais store users in the long form and anly give the possibility to use the short or long form in displaing time..
  1267   Thu Jul 14 15:58:07 2005 Entry Emiliano GabrielliAlberT@SuperAlberT.itCommentAll A new ELOG user wants to register on "127.0.0.1"
A new ELOG user wants to register on "127.0.0.1"


the scenario is:
- elog on localhost
- stunnel on the external interface

I dont want elog to listen on external interface, so.. why do not use the URL cfg attribute for this issue ?
ELOG V3.1.5-fe60aaf