Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Email attachment arbitrary file type

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 11 months ago #199183 by Jmantysalo
Email attachment arbitrary file type was created by Jmantysalo
Can I add an .ics file to email template -- i.e. is it possible to override the list of allowed file types on Resources-section?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #199212 by DenisChenu
Replied by DenisChenu on topic Email attachment arbitrary file type
You need to add it in your application/config/config.php file on options

manual.limesurvey.org/Optional_settings#Upload_files

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 11 months ago #199263 by Jmantysalo
Replied by Jmantysalo on topic Email attachment arbitrary file type
Thanks, but quite short explanation on www-page. At least

allowedresourcesuploads => '.jpg, .ics',

after

// Update default LimeSurvey config here

seems to do nothing.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago - 3 years 11 months ago #199267 by tpartner
Replied by tpartner on topic Email attachment arbitrary file type
This works for me in version 3.22.13:

Code:
'allowedresourcesuploads' =>'7z,aiff,asf,avi,bmp,csv,doc,docx,fla,flv,gif,gz,gzip,ico,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xlsx,xml,zip,css,js,ics',


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 3 years 11 months ago by tpartner.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 11 months ago #199271 by Jmantysalo
Replied by Jmantysalo on topic Email attachment arbitrary file type
No help in 4.x. :(
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #199272 by tpartner
Replied by tpartner on topic Email attachment arbitrary file type
Please file a bug report. I can't get the Resources interface to work at all in 4.2.3.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 11 months ago #199273 by Jmantysalo
Replied by Jmantysalo on topic Email attachment arbitrary file type
Seems to be done already: bugs.limesurvey.org/view.php?id=16272
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #199281 by DenisChenu
Replied by DenisChenu on topic Email attachment arbitrary file type
I think (unusure) in 4.X (when uploader work …) you need to add it in both allowedresourcesuploads and allowedfileuploads

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 11 months ago #199791 by Jmantysalo
Replied by Jmantysalo on topic Email attachment arbitrary file type
Tried that too, still no help. :(
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose