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. |