- Posts: 68
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Are we able to view uploaded files within the notification email?
- DOwen
- Topic Author
- Offline
- Senior Member
Less
More
8 years 7 months ago #122939
by DOwen
Replied by DOwen on topic Are we able to view uploaded files within the notification email?
Aha sorry misunderstood that! I've tried using our installation path, but getting an Object Not Found error page when I click the now appearing link.
I've attached two files, one containing the original source code that I'm entering, and another containing the source code after I've clicked save and/or logged back into admin after receiving the emails. As it appears to be changing quite a bit.
Thanks!
I've attached two files, one containing the original source code that I'm entering, and another containing the source code after I've clicked save and/or logged back into admin after receiving the emails. As it appears to be changing quite a bit.
Thanks!
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
8 years 7 months ago #122941
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Are we able to view uploaded files within the notification email?
I don't know why your editor is doing that. Try disabling the editor (Edit personal preferences --> HTML editor mode --> Popup HTML editor) and saving the source code again.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- DOwen
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 68
- Thank you received: 0
8 years 7 months ago #122947
by DOwen
Replied by DOwen on topic Are we able to view uploaded files within the notification email?
Aha this helped! This also allowed me to make some formatting changes. Now its a case of formatting the email to our taste. It's a shame I can't set it to only show the questions that were answered.
I still can't get the attached file to work though, the link is there but I think I may have the installation path wrong.
I still can't get the attached file to work though, the link is there but I think I may have the installation path wrong.
The topic has been locked.
- DOwen
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 68
- Thank you received: 0
8 years 7 months ago - 8 years 7 months ago #122964
by DOwen
Replied by DOwen on topic Are we able to view uploaded files within the notification email?
Also, I have the same file link script (the one you gave) within the HTML 3 times as there are 3 questions (each one only appearing once at a time), and for some reason, the third script fails to work and just displays:
File uploaded: {stristr(str_replace('name":"', '', stristr(Upload1, 'name":"')), '"', 'true')}
I'm not having much luck!
EDIT: And another issue! The multiple choice check box answers are failing to show and end up displaying the curly bracket code inside a yellow box with red border.
File uploaded: {stristr(str_replace('name":"', '', stristr(Upload1, 'name":"')), '"', 'true')}
I'm not having much luck!
EDIT: And another issue! The multiple choice check box answers are failing to show and end up displaying the curly bracket code inside a yellow box with red border.
Last edit: 8 years 7 months ago by DOwen.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
8 years 7 months ago #122974
by DenisChenu
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.
Replied by DenisChenu on topic Are we able to view uploaded files within the notification email?
For complex report in last email, i always use a hidden question (show text question) and for email content:
{QUESTION.question}
It work good and more easily (and with full index you can test without sending email).
{QUESTION.question}
It work good and more easily (and with full index you can test without sending email).
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.
- DOwen
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 68
- Thank you received: 0
8 years 7 months ago #122995
by DOwen
Replied by DOwen on topic Are we able to view uploaded files within the notification email?
Hi Denis,
Thanks for your reply. Sounds good although I'm not quite sure what you mean and how this works?
Thanks for your reply. Sounds good although I'm not quite sure what you mean and how this works?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
8 years 7 months ago #122998
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Are we able to view uploaded files within the notification email?
I think what Denis means is that he creates the "report" content for the email in a hidden (by CSS or JS)
text-display question
and then simply pipes that question into the email template. This may give some more flexibility with Expression Manager when creating the "report".
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- DOwen
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 68
- Thank you received: 0
8 years 7 months ago #122999
by DOwen
Replied by DOwen on topic Are we able to view uploaded files within the notification email?
Thanks for replying! I think I'd probably need a walkthrough with this one if I was to pursue this as it's confused me a little.
I'm finding it difficult trying to imagine how I'd collect the report data into the question?
I'm finding it difficult trying to imagine how I'd collect the report data into the question?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
8 years 7 months ago #123003
by DenisChenu
It's not for fexilibility, it's for quick control . And i directly use manual.limesurvey.org/QS:Hidden when it's OK.
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.
Replied by DenisChenu on topic Are we able to view uploaded files within the notification email?
Hi,tpartner wrote: I think what Denis means is that he creates the "report" content for the email in a hidden (by CSS or JS) text-display question and then simply pipes that question into the email template. This may give some more flexibility with Expression Manager when creating the "report".
It's not for fexilibility, it's for quick control . And i directly use manual.limesurvey.org/QS:Hidden when it's OK.
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.
- DOwen
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 68
- Thank you received: 0
8 years 7 months ago #123007
by DOwen
Replied by DOwen on topic Are we able to view uploaded files within the notification email?
Still struggling with this idea, I think I'm having a blank moment here!
Also, just figured out I had the root folder wrong so we have corrected that and made sure the permissions are all A-OK. However we've noticed that all uploaded files are being stored as random file names without any file extension, and simply stored as format 'File'.
Also, just figured out I had the root folder wrong so we have corrected that and made sure the permissions are all A-OK. However we've noticed that all uploaded files are being stored as random file names without any file extension, and simply stored as format 'File'.
The topic has been locked.
- DOwen
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 68
- Thank you received: 0
8 years 7 months ago #123041
by DOwen
Replied by DOwen on topic Are we able to view uploaded files within the notification email?
So at the moment, I have an email working alright, it could be better, but it works, except for the upload file issue where the files are automatically renamed.
Is there a way to stop it renaming the files or similar?
Thanks!
Is there a way to stop it renaming the files or similar?
Thanks!
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
8 years 7 months ago #123043
by DenisChenu
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.
Replied by DenisChenu on topic Are we able to view uploaded files within the notification email?
Hi,
We need to rename the file :
- 1st : security issue (and actual solution is not good enough)
- 2nd : else another user can replace any file using same filename.
But the directlink with the fu_XXXX giv file access if user are connected to admin.
Denis
We need to rename the file :
- 1st : security issue (and actual solution is not good enough)
- 2nd : else another user can replace any file using same filename.
But the directlink with the fu_XXXX giv file access if user are connected to admin.
Denis
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.