Welcome to the LimeSurvey Community Forum

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

Vote for top 3 photos with LimeSurvey?

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 2 days ago - 1 week 2 days ago #268435 by Joffm
Replied by Joffm on topic Vote for top 3 photos with LimeSurvey?
Hi, sorry,
I did not expect that you put the script into the "script" tab (this is usually hidden in my GUI)

1. I did not advise to put it there
2. It doesn't work in this tab.

Now when I insert the script into the question text i see this.


or - as in my opinion the images are too bnig and the respondent has to scroll too much.
 

And the space at the left side (where the - not existing - subquestion text is displayed).
Check your question settings ("Subquestion width"). And though the tooltip there indicates "only values 1-100", just set it to "0".

Joffm

P.S. You should remove the comments from the script

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 week 2 days ago by Joffm.

Please Log in to join the conversation.

  • manu_p
  • manu_p's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 2 days ago #268436 by manu_p
Replied by manu_p on topic Vote for top 3 photos with LimeSurvey?

There is nothing in the question text (source code)
 

Now I see - you used this pcloud link.
Why don't you ease our life and just attach images - as you attached the file?

 

As I wrote before, I've not been allowed to post pics here, for some reason that was not given to me...

Now, I'm facing some other limitations: whenever I cut/paste what I put in the script tab into the question tab, and then save the survey, I see the following message:
<p>Could not store translation.We are sorry, but you are not allowed to save (external) links when using the free plan. Please upgrade your plan.</p>
And nothing is saved, that is: the previous survey config is back.

So I understand that, with the free plan I chose in order to see how I could use LimeSurvey for what I'd like to do, I can't use direct links to my pics.

In a last (I guess) try, I'll try to upload some pics (that seems possible) and try and find the way to replace their path in the script.

manu'

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 2 days ago - 1 week 2 days ago #268437 by Joffm
Replied by Joffm on topic Vote for top 3 photos with LimeSurvey?
Hi,
I tried in my test "free plan".
Unfoirtunately I see no issues.

Did you remove all comments from the script?
Are you the only admin (superadmin) of this installation?
Or did you create further admins and set the XSS filter (in "Configuration / Security") to ON?

Nevertheless, here a lss export of my "free plan" installation.
 

File Attachment:

File Name: limesurvey...75_J.lss
File Size:37 KB


BTW: Please, change the question text.
The window does not open when you click the photo; you have to click the blue "information" sign.

If you want the click on the image, change this line to (you see, the "onClick" is now inside the image tag).
Code:
 
$('#question{QID} :text.form-control:eq('+i+')').before('<span class="inserted-suffix"><img onClick="newWindow(' +i+' )" class="img-fluid" src="'+images[i][0]+'" /><br />' +images[i][1]+'<br/></span>');
And remove the link to the bootstrap css at the beginning.

Joffm

And again, because I am really confused
You wrote

I've not been allowed to post pics here, for some reason that was not given to me...

Who didn't allow this?
You see this is the forum. Absolutely independent from any installations of LimeSurvey.

What happens, when you click this big button?
 
The only restriction is the max. file size of 1MB. But a screenshot is usually much smaller.

 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 week 2 days ago by Joffm.

Please Log in to join the conversation.

  • manu_p
  • manu_p's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 2 days ago - 1 week 2 days ago #268438 by manu_p
Replied by manu_p on topic Vote for top 3 photos with LimeSurvey?
Thanks again @Joffm for your time, I can see you do your best to bring me some help.

But still again, nothing is going the way it should be.

You're asking:

Did you remove all comments from the script?

Yes.

Are you the only admin (superadmin) of this installation?

Yes, as far as I know.

Or did you create further admins and set the XSS filter (in "Configuration / Security") to ON?

No.
BTW, I just initially created the one and only user I'm using to connect. I suppose this user is the admin... I was not invited to create any other user.

You wrote
I've not been allowed to post pics here, for some reason that was not given to me...

Who didn't allow this?

I don't know who or what. It does not attach any screenshot I tried to attach in the message.

What happens, when you click this big button?

I can fetch a file/image on my computer, and then send it on the server. When I choose an image bigger than 1MB I get an error message. The screenshot was 102,9KB... Thinking it might be something related to the png format, I just tried to upload a jpeg version of it, with no more success.
Click here to see what I have after I try to attach my screenshot.

Now, I downloaded the limesurvey_survey_539375_J.lss file you gave me and created a new survey by importing it.

When I look at the Structure > Question, it is empty. Was I supposed to do anything else after importing the lss file?

And when I put the <script> section in Question using the HTML editor, and then save, here's what I still get as previously mentioned:

<p>Could not store translation.We are sorry, but you are not allowed to save (external) links when using the free plan. Please upgrade your plan.</p>

I do thank you again but I'm afraid there's too many things that don't go smoothly enough for me to keep trying to do this survey using LimeSurvey. I can see it works for you, but sadly not for me. And I guess you can spend your time for something better.

manu'
Last edit: 1 week 2 days ago by manu_p. Reason: Add what I see when saving the Question

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 days 11 hours ago - 6 days 10 hours ago #268443 by Joffm
Replied by Joffm on topic Vote for top 3 photos with LimeSurvey?
Hi,

When I look at the Structure > Question, it is empty. Was I supposed to do anything else after importing the lss file?

If you switched to "source code mode" and it is really empty, I am out of ideas.

Now, I downloaded the limesurvey_survey_539375_J.lss file you gave me and created a new survey by importing it.

Please, import this survey again, do nothing, but run it.
And again without doing something else, export it and send the lss file.

Joffm

If everything fails, just go back to use a simple array question
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 6 days 10 hours ago by Joffm.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 days 6 hours ago #268444 by Joffm
Replied by Joffm on topic Vote for top 3 photos with LimeSurvey?
Hi,
did you use this "new" editor in beta stage?

I found that it destroys the script.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose