Welcome to the LimeSurvey Community Forum

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

Progress bar showing fractions :(

More
9 years 7 months ago - 9 years 7 months ago #130529 by outofgamut
Hi,

I just set up a new instance of LimeSurvey (version 2.06+ Build 151215). No matter which template I choose for surveys now the progress bar is making fun of me:


How can I tell LimeSurvey I don't appreciate this kind of humor?
Last edit: 9 years 7 months ago by outofgamut.
The topic has been locked.
More
9 years 7 months ago #130532 by Ben_V
Hi,

No matter which template I choose...

Maybe there is a problem with a js file (missing o wrongly uploaded). You may try to upload again the application... Always prefer the last build ( 160129 ) ;)

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The following user(s) said Thank You: outofgamut
The topic has been locked.
More
9 years 7 months ago #130539 by DenisChenu
A screenshot with the default template please ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
9 years 7 months ago #130551 by outofgamut
That one works well. So much for trying every template :dry:


Thanks, Denis. However, I get the same scrambled result with your Skeleton template.

Why would that be?
The topic has been locked.
More
9 years 7 months ago #130559 by tammo
Looks like you use out template: TFR Responsive. Did you try the most recent version (1.6)? You can see which version you use in the top lines of the style.css and the startpage.pstpl.

You can download the newest version here: www.toolsforresearch.com/limesurvey-responsive-template

greetings from Holland,

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
More
9 years 7 months ago - 9 years 7 months ago #130560 by outofgamut
You've got sharp eyes, Tammo.

Yes, it is TFR responsive, v1.6

Just to be on the safe side I deleted it completely, re-downloaded v1.6. Same result :(
Last edit: 9 years 7 months ago by outofgamut.
The topic has been locked.
More
9 years 7 months ago #130563 by tammo
We have received one earlier notification of this, but we have never been able to reproduce the problem.

Did you upload the theme via FTP?

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
More
9 years 7 months ago #130564 by outofgamut
Nope. Went through the official channels: template editor -> import theme.

For what it's worth: I installed this instance of LimeSurvey via the Installatron-app on my hosting-provider's CPanel (to make use of its backup facilities to Dropbox).
The topic has been locked.
More
9 years 7 months ago #130565 by tammo
What browser do you use? If this is IE8, it will certainly not work.

It should work OK in the newest versions of Firefox, Chrome, IE and others, but not in IE8...

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
More
9 years 7 months ago #130567 by outofgamut
Good point, Tammo.

Not using IE8. I left Windows a long, long time ago for good. :laugh:

I use Chrome on Mac ( v47.0.2526.111) but fired up Safari just now and - lo and behold - none of that fraction issues going on there! I'll deactivate all my plugins and see what that does, will also update Chrome to the latest version and report back.

Thanks for the help!
The topic has been locked.
More
9 years 7 months ago #130568 by tammo
That progress bar is strange altogether: when you have 5 pages, it shows 2, 22, 42, 62, 82% on the pages, while it should show 0, 20, 40, 60, 80%. But that is a core issue, not a template issue, as I have heard.

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
More
9 years 7 months ago #130569 by outofgamut
Ok:
Disabled all extensions: no difference.
Updated Chrome to latest version (48.0.2564.97): no difference.
Tested it on Chrome on another Mac of mine (also El Capitan): no difference.

I agree with you that the progress bar algorithm is somewhat off. No one needs "true" percentages anyway. 5% increments would do the trick just fine (I know this all falls apart once conditional questions come into play).

But I can't use it the way it is (displaying fractions) - it looks off-putting to the unsuspecting user. :sick:
The topic has been locked.
More
9 years 7 months ago #130575 by DenisChenu
Hi,

Deafult system use
$("#progressbar").progressbar({
value: XX
});

Where XX is the percentage. WIth the default template, and no js you can see a sentence, and deactivating css (or look at code).
Something like "You done XX% of the survey"

What is this sentence ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
9 years 7 months ago #130628 by outofgamut
No worries:
Code:
$(document).ready(function() {
    $("#progressbar").progressbar({
    value: 25
    });
    ;});
    </script>
 
    <div id="progress-wrapper">
    <span class="hide">You have completed 25% of this survey</span>
    <div id="progress-pre">0%</div>
    <div id="progressbar"></div>
    <div id="progress-post">100%</div>
    </div>
        </td>
The topic has been locked.
More
9 years 7 months ago #130636 by DenisChenu
And with this : SkeletonQUest OR default show fractions ????

Ca,n you provide a link for testing ? It's incredible ..... ;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose