Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 170 of 238  Not logged in ELOG logo
icon5.gif   How to pass attachment names to an Execute line?, posted by Alexandre Lindote on Thu Oct 19 11:45:18 2006 
Hi,

I'm trying to pass the name of an attachment in a "Execute new " line, but I can't seem to get the correct syntax...
I've tried:
Execute new = echo "New document with reference $Internal Ref with the name $attachements " >> /home/zeplin3/lixo.log
Execute new = echo "New document with reference $Internal Ref with the name $attachements1 " >> /home/zeplin3/lixo.log
Execute new = echo "New document with reference $Internal Ref with the name $1 " >> /home/zeplin3/lixo.log

but nothing seem to work. If I remove the $attachments bit the output is correct...
Any suggestions?

Thanks

Alex
    icon2.gif   Re: How to pass attachment names to an Execute line?, posted by Stefan Ritt on Thu Oct 19 19:45:35 2006 

Alexandre Lindote wrote:
Hi,

I'm trying to pass the name of an attachment in a "Execute new " line, but I can't seem to get the correct syntax...
I've tried:
Execute new = echo "New document with reference $Internal Ref with the name $attachements " >> /home/zeplin3/lixo.log
Execute new = echo "New document with reference $Internal Ref with the name $attachements1 " >> /home/zeplin3/lixo.log
Execute new = echo "New document with reference $Internal Ref with the name $1 " >> /home/zeplin3/lixo.log

but nothing seem to work. If I remove the $attachments bit the output is correct...
Any suggestions?


Sorry there was a type in the documentation. You should write

$attachments

and not

$attachements

then it will work.
icon13.gif   Date format in Threaded display, posted by deletoille on Tue Oct 17 12:14:27 2006 Elog1.JPGElog2.JPG
hello,

I have a problem with the Date format in the Threaded display. The Date Format appears normally in the full and the summary displays but not in the threaded one.
I have found a similar Entry in the forum posted by Steve Jones on Friday July 16 16:53:01 2004 and you answered :" That should be fixed by the current version. Please update."
Did I make a mistake?

Here is a part of my program:

Show Attributes = Date evenement, Heure evenement, Auteur, Icone, Groupe
Time format = %d/%m/%Y, %T
Type Date evenement= datetime
Start page = ?rsort= Date evenement

Thanks in advance
    icon12.gif   Re: Date format in Threaded display, posted by Ibrahim Genc on Tue Oct 17 13:03:22 2006 

deletoille wrote:
hello,

Time format = %d/%m/%Y, %T

Thanks in advance


I think "date format" and "time format" are different tags.
you may try to use date format here.
       icon2.gif   Re: Date format in Threaded display, posted by Stefan Ritt on Tue Oct 17 13:12:52 2006 
That fix for Steve Jones was slightly different, it had to do with substitutions in threaded display. I fixed yours now in revision 1734, so give it a try.

Salut,

Stefan
          icon1.gif   Re: Date format in Threaded display, posted by deletoille on Thu Oct 19 12:26:16 2006 

Stefan Ritt wrote:
That fix for Steve Jones was slightly different, it had to do with substitutions in threaded display. I fixed yours now in revision 1734, so give it a try.

Salut,

Stefan


Hello,
I’ve tried on the last available release (revision 1732) and I have the same problem.
You said in you previous message that: “I fixed yours now in revision 1734, so give it a try.”
Could you tell me when this one will be available?

Thanks in advance
             icon2.gif   Re: Date format in Threaded display, posted by Stefan Ritt on Thu Oct 19 12:32:11 2006 

deletoille wrote:
I’ve tried on the last available release (revision 1732) and I have the same problem.
You said in you previous message that: “I fixed yours now in revision 1734, so give it a try.”
Could you tell me when this one will be available?


Since you checked "Linux" in the "OS" of this entry, I was under the assumption that you were able to compile elog from the Subversion repository (http://savannah.psi.ch/websvn/filedetails.php?repname=elog&path=%2Ftrunk%2Fsrc%2Felogd.c).

If you need the Windows executable, I made http://midas/elog/download/windows/elog262-6.exe for you.
                icon7.gif   Re: Date format in Threaded display, posted by deletoille on Thu Oct 19 12:42:42 2006 

Stefan Ritt wrote:

deletoille wrote:
I’ve tried on the last available release (revision 1732) and I have the same problem.
You said in you previous message that: “I fixed yours now in revision 1734, so give it a try.”
Could you tell me when this one will be available?


Since you checked "Linux" in the "OS" of this entry, I was under the assumption that you were able to compile elog from the Subversion repository (http://savannah.psi.ch/websvn/filedetails.php?repname=elog&path=%2Ftrunk%2Fsrc%2Felogd.c).

If you need the Windows executable, I made http://midas/elog/download/windows/elog262-6.exe for you.


IT WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
THANKS A LOT
icon5.gif   Email format, posted by Arckonit on Tue Oct 17 09:11:15 2006 
Hi all,
Before all, i would say that ELOG is simply one of the best web-based program
Simple and fast
Just one day to configure it for our firm with multiple groups and so on ^^

So, my last problem is in the Email format
I know the use "use email heading" and other, but i would like to configure the body of the mail, where there is the link, the name of the author, etc.

I wonder if it could be customized
thank again for this soft, and good continuation
    icon2.gif   Re: Email format, posted by Stefan Ritt on Tue Oct 17 09:14:41 2006 

Arckonit wrote:
I know the use "use email heading" and other, but i would like to configure the body of the mail, where there is the link, the name of the author, etc.


Following options can be used to format the email body:

  • Use Email heading = ...
  • Use Email Subject = ...
  • Email attributes = ...
  • Email encoding = ...
  • Email format = ...

Probably the last one is the one you are looking for...
       icon2.gif   Re: Email format, posted by Arckonit on Tue Oct 17 09:29:39 2006 
Thanx for the quick answer
Email format = ?
Where can i find some help to use this feature ?
          icon2.gif   Re: Email format, posted by Stefan Ritt on Tue Oct 17 09:32:21 2006 

Arckonit wrote:
Thanx for the quick answer
Email format = ?
Where can i find some help to use this feature ?


RTFM!

http://midas.psi.ch/elog/config.html#flags search for Email format
             icon2.gif   Re: Email format, posted by Arckonit on Tue Oct 17 09:35:01 2006 
;)I've searched, i don't understand
but thanks !
"relis ton foutu manuel !"
excellent
icon13.gif   Elog v2.6.2-1722 appears to have broken "Suppress default [0|1|2|3]" option on Windows XP box, posted by Gregory M. Caughey on Wed Oct 11 11:37:03 2006 
Hi Stefan!

Been running Elog-2.6.2-1714 successfully for a while and yesterday decided to download and experiment with the latest Elog-2.6.2-1722 build. I want to report a possible bug involving the "Suppress default" option when running build 2.6.2-1722 on a Windows XP laptop. I installed 2.6.2-1722 into a development folder and copied my current production 'elogd.cfg' file and other custom files to the development folder. Test postings produced the following results:

1.) The "Suppress default [0|1|2|3]" option causes the [] Suppress Email notification to display or not display as expected.

2.) However, email notifications will be sent under all circumstances regardless of which parameter selected.

3.) Downgrading to Elog-2.6.2-1714 produces the expected behavior.

I am running Windows XP with all current upgrades and security patches and Internet Explorer 7 - version: 7.0.5700.6

Regards, Greg
    icon2.gif   Re: Elog v2.6.2-1722 appears to have broken "Suppress default [0|1|2|3]" option on Windows XP box, posted by Stefan Ritt on Wed Oct 11 11:47:29 2006 

Gregory M. Caughey wrote:
2.) However, email notifications will be sent under all circumstances regardless of which parameter selected.


Thanks for reporting that problem. I just implemented Suppress email on edit and this could have had some side effect. I tried however to reproduce your problem and was not able to. Trying the "minimal" configuration file, the email notifications were suppressed if the check box was checked, or if Suppress default = 3. Can you check if it works with a minimal config file, and if yes, what option in your "full" config file causes this effect?
       icon3.gif   Re: Elog v2.6.2-1722 appears to have broken "Suppress default [0|1|2|3]" option on Windows XP box, posted by Gregory M. Caughey on Wed Oct 11 19:37:10 2006 Capture10-11-2006-5.05.21_AM.jpgCapture10-11-2006-5.06.40_AM.jpgCapture10-11-2006-5.09.34_AM.jpg

Stefan Ritt wrote:

Gregory M. Caughey wrote:
2.) However, email notifications will be sent under all circumstances regardless of which parameter selected.


Thanks for reporting that problem. I just implemented Suppress email on edit and this could have had some side effect. I tried however to reproduce your problem and was not able to. Trying the "minimal" configuration file, the email notifications were suppressed if the check box was checked, or if Suppress default = 3. Can you check if it works with a minimal config file, and if yes, what option in your "full" config file causes this effect?

OK, you're absolutely correct. When I run Elog-2.6.2-1722 with a minimal 'elogd.cfg' the "Suppress default [0|1|2|3]" flag does appear to behave as expected. Taking your advice I went through my local 'elogd.cfg' evaluating items to see where the problem starts and I found a problem. In my local config file I use conditional attributes to modify the "category" and "type" fields (in the posting form) and here is what I'm finding wrong. For this example I have set "Suppress default = 3" and the following actions take place:

1.) Select "New" to begin a post and the form displays correctly with NO "[] Suppress Email notification" checkbox showing.

2.) When selecting "Category" an choosing an appropriate menu item the form is then redrawn and now there is a problem, the "[] Suppress Email notification" checkbox is displaying. The checkbox does work correctly but the behavior I'm expecting is for no checkbox to display during the composition of this posting. Am I misunderstanding the behavior of the "Suppress default = 3" flag?

3.) Each of the other flag parameters appear to work as expected as used in the above example.

I have attached screenshots that demonstrate this behavior as well as a snippet of the 'elogd.cfg' file.

Hope this helps a little...

Thanks, Greg
          icon2.gif   Re: Elog v2.6.2-1722 appears to have broken "Suppress default [0|1|2|3]" option on Windows XP box, posted by Stefan Ritt on Fri Oct 13 16:59:13 2006 

Gregory M. Caughey wrote:
Hope this helps a little...


Yepp it helped. I could reproduce your problem and fix it. Can you try elog262-4.exe (Revision 1729)?
             icon2.gif   Re: Elog v2.6.2-1722 appears to have broken "Suppress default [0|1|2|3]" option on Windows XP box, posted by Gregory M. Caughey on Sat Oct 14 10:01:17 2006 

Stefan Ritt wrote:

Gregory M. Caughey wrote:
Hope this helps a little...


Yepp it helped. I could reproduce your problem and fix it. Can you try elog262-4.exe (Revision 1729)?

Hi Stefan!
Just installed elog-2.6.2-1729 and it's working perfectly. I haven't had enough time to test it thoroughly yet but will report any problems I might find. As always thanks for your excellent work, I appreciate it.

Regards, Greg
icon7.gif   Turn off smileys?, posted by Ben Shepherd on Thu Aug 24 11:12:18 2006 
Can we please have an option to turn off the thing that changes smileys automatically into pictures?

cheers

ben
    icon2.gif   Re: Turn off smileys?, posted by Stefan Ritt on Tue Oct 10 09:00:08 2006 

Ben Shepherd wrote:
Can we please have an option to turn off the thing that changes smileys automatically into
pictures?


Two ways:

  • Submit your entry in plain mode (insted of ELCode)
  • Put a \ in front of anything which is turned into a smiley, so ;) gets converted into Wink, but \;) does not get converted
       icon2.gif   Re: Turn off smileys?, posted by Ben Shepherd on Tue Oct 10 11:13:16 2006 

Stefan Ritt wrote:

  • Submit your entry in plain mode (insted of ELCode)
  • Put a \ in front of anything which is turned into a smiley, so ;) gets converted into Wink, but \;) does not get converted


I realise that's possible, but things are getting converted into smileys that aren't intended to be smileys. Specifically, when I enter a question in brackets, the end bracket is converted into a smiley. (Like this?) should be (Like this\?). That is very annoying, and to be honest, I don't need the smileys. An option to switch them off would be the best thing.
          icon2.gif   Re: Turn off smileys?, posted by Stefan Ritt on Tue Oct 10 11:27:30 2006 

Ben Shepherd wrote:

Stefan Ritt wrote:

  • Submit your entry in plain mode (insted of ELCode)
  • Put a \ in front of anything which is turned into a smiley, so ;) gets converted into Wink, but \;) does not get converted


I realise that's possible, but things are getting converted into smileys that aren't intended to be smileys. Specifically, when I enter a question in brackets, the end bracket is converted into a smiley. (Like this?) should be (Like this\?). That is very annoying, and to be honest, I don't need the smileys. An option to switch them off would be the best thing.


I agree that the ?) smiley is annoying, so I changed it to ?-) which should prevent it from showing up in questions in brackets. I updated this server (you can see the effect above), the modification is committed to subversion.
             icon2.gif   Re: Turn off smileys?, posted by Ben Shepherd on Tue Oct 10 11:36:13 2006 

Stefan Ritt wrote:

I agree that the ?) smiley is annoying, so I changed it to ?-) which should prevent it from showing up in questions in brackets. I updated this server (you can see the effect above), the modification is committed to subversion.


Thanks a lot! I'm going to pester you though - it would be really good if there was an option to turn them off completely. Surely it can't be a huge amount of work... ?
                icon2.gif   Re: Turn off smileys?, posted by Stefan Ritt on Tue Oct 10 11:45:22 2006 

Ben Shepherd wrote:

Stefan Ritt wrote:

I agree that the ?) smiley is annoying, so I changed it to ?-) which should prevent it from showing up in questions in brackets. I updated this server (you can see the effect above), the modification is committed to subversion.


Thanks a lot! I'm going to pester you though - it would be really good if there was an option to turn them off completely. Surely it can't be a huge amount of work... ?


It's not the amount of work, it the intention to minimize the number of options. If you want a switch for the smileys, the next one wants a switch for automatic hot-linking (like http://...), the next one wants that only certain ELCode options are interpreted, not others, and then we will have a mess. By changing the ?-) definition I hope I have solved most cases without another flag. So either one has the comple ELCode set, or non. In the past I had many suggestions of new flags, which I could solve somehow otherwise. If I would not have done that, the manual would be twice as long by now...
                   icon2.gif   Re: Turn off smileys?, posted by Yoshio Imai on Wed Oct 11 16:03:52 2006 

Stefan Ritt wrote:
Put a \ in front of anything which is turned into a smiley, so ;) gets converted into Wink, but \;) does not get converted

Other suggestion: What about going the other way round and making this
\?)
the smiley and this
?)
the usual question in brackets? If there was a special sequence to announce the unusual case (i.e. the smiley), I think less people would complain about having unwanted conversions ...
                      icon2.gif   Re: Turn off smileys?, posted by Stefan Ritt on Wed Oct 11 16:08:04 2006 

Yoshio Imai wrote:
Other suggestion: What about going the other way round and making this
\?)
the smiley and this
?)
the usual question in brackets? If there was a special sequence to announce the unusual case (i.e. the smiley), I think less people would complain about having unwanted conversions ...


I thought also about that, but people who are use to bulletin boards or instant messaging have the common knowledge that a ;) gives a smiley, not a \;). While it would work with the smiley button, which could insert anything, the "other" half of the people who are used to the standard smileys would complain. So I hope that ?-) is acceptable by both sides.
icon5.gif   "Supress Email Notification" checkbox, posted by Steve Jones on Mon Sep 18 18:36:07 2006 
Is there a way to allow email notification but have the "Suppress Email Notification" checked by default? We had complaints about the enormous amount of email so I turned off email notification for edits/replys, but there are times that I would like to allow email to be sent out -- this would imply allowing email by unchecking the "Suppress" box.
    icon2.gif   Re: "Supress Email Notification" checkbox, posted by Steve Jones on Mon Sep 18 18:56:19 2006 

Steve Jones wrote:
Is there a way to allow email notification but have the "Suppress Email Notification" checked by default? We had complaints about the enormous amount of email so I turned off email notification for edits/replys, but there are times that I would like to allow email to be sent out -- this would imply allowing email by unchecking the "Suppress" box.


What I think would be needed is:
Suppress Email on edit = 0|1|2
                             ^
Where a '2' denotes that the "Suppress Email Notification" shows up but *checked*
       icon2.gif   Re: "Supress Email Notification" checkbox, posted by Stefan Ritt on Fri Sep 22 07:50:39 2006 

Steve Jones wrote:

Steve Jones wrote:
Is there a way to allow email notification but have the "Suppress Email Notification" checked by default? We had complaints about the enormous amount of email so I turned off email notification for edits/replys, but there are times that I would like to allow email to be sent out -- this would imply allowing email by unchecking the "Suppress" box.


What I think would be needed is:
Suppress Email on edit = 0|1|2
                             ^
Where a '2' denotes that the "Suppress Email Notification" shows up but *checked*


Just to a
Suppress default = 1
          icon2.gif   Re: "Supress Email Notification" checkbox, posted by Steve Jones on Fri Sep 22 19:42:21 2006 

Stefan Ritt wrote:

Steve Jones wrote:

Steve Jones wrote:
Is there a way to allow email notification but have the "Suppress Email Notification" checked by default? We had complaints about the enormous amount of email so I turned off email notification for edits/replys, but there are times that I would like to allow email to be sent out -- this would imply allowing email by unchecking the "Suppress" box.


What I think would be needed is:
Suppress Email on edit = 0|1|2
                             ^
Where a '2' denotes that the "Suppress Email Notification" shows up but *checked*


Just to a
Suppress default = 1




Quote:

Not quite what I am looking for. What I need is:

"New" Logs
- Always send an email -- do not provide an option to check the box.
-- use
Suppress Default = 2

"Edits and Replys"
- Provide the option to send an email, but by default the "suppress" box is checked
-- need
Suppress Email on edit = 2 

             icon2.gif   Re: "Supress Email Notification" checkbox, posted by Stefan Ritt on Mon Oct 9 22:32:11 2006 
Suppress email on edit has been implemented in the current SVN revision just similar to the Suppress default flag having possible values of 0, 1, 2 and 3.
                icon14.gif   Re: "Supress Email Notification" checkbox, posted by Steve Jones on Tue Oct 10 23:27:41 2006 

Stefan Ritt wrote:
Suppress email on edit has been implemented in the current SVN revision just similar to the Suppress default flag having possible values of 0, 1, 2 and 3.



Works like a champ! Thanks
icon2.gif   Re: 'Inline' button for attachments, posted by Stefan Ritt on Tue Oct 10 16:09:12 2006 img.jpg

Ben Shepherd wrote:
Hi,

It would be good if when you uploaded an image as an attachment, there was a button next to it that pasted the code
[img]elog:1972/1[/img]
into the log entry. This way, it would be more easy to have inline images in a log entry.


Just hit that button:


and it does exactly what you want.
    icon2.gif   Re: Re: 'Inline' button for attachments, posted by Ben Shepherd on Tue Oct 10 16:15:21 2006 

Stefan Ritt wrote:

Ben Shepherd wrote:
Hi,

and it does exactly what you want.

cool! thanks.
icon3.gif   'Inline' button for attachments, posted by Ben Shepherd on Tue Oct 10 15:32:21 2006 
Hi,

It would be good if when you uploaded an image as an attachment, there was a button next to it that pasted the code
[img]elog:1972/1[/img]
into the log entry. This way, it would be more easy to have inline images in a log entry.

cheers

ben
    icon2.gif   Re: 'Inline' button for attachments, posted by Stefan Ritt on Tue Oct 10 16:09:12 2006 img.jpg

Ben Shepherd wrote:
Hi,

It would be good if when you uploaded an image as an attachment, there was a button next to it that pasted the code
[img]elog:1972/1[/img]
into the log entry. This way, it would be more easy to have inline images in a log entry.


Just hit that button:


and it does exactly what you want.
       icon2.gif   Re: Re: 'Inline' button for attachments, posted by Ben Shepherd on Tue Oct 10 16:15:21 2006 

Stefan Ritt wrote:

Ben Shepherd wrote:
Hi,

and it does exactly what you want.

cool! thanks.
ELOG V3.1.5-3fb85fa6