Change message for expired surveys

More
5 years 5 months ago #117613 by noemi01
Hi,

when my survey expired because I've limited the time period to participate, the following message occurs if someone clicks on the survey-link:

"Diese Umfrage ist beendet und steht nicht mehr zur Verfügung."

Is there a possibility to change this message? I want to fill in a link where the participants can do something else then participate because the survey has expired.

I've searchedf for the text within the tempate, but I could not find it.
Seems to be here:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns=" www.w3.org/1999/xhtml " xml:lang="de" lang="de">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="/akustik/upload/templates/Zblin/jquery-ui-custom.css" />
<link rel="stylesheet" type="text/css" href="/akustik/upload/templates/Zblin/template.css" />
<script type="text/javascript" src="/akustik/third_party/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="/akustik/third_party/jqueryui/js/jquery-ui-1.10.3.custom.min.js"></script>
<script type="text/javascript" src="/akustik/third_party/jquery-touch-punch/jquery.ui.touch-punch.min.js"></script>
<script type="text/javascript" src="/akustik/scripts/survey_runtime.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
LSvar={"bFixNumAuto":1,"bNumRealValue":0,"sLEMradix":","};
/*]]>*/
</script>
<title>Züblin</title>
<meta name="generator" content="LimeSurvey www.limesurvey.org " />

<!-- The following line includes jquery-ui.css or jquery-ui-custom.css from template dir, template.css and needed specific css file for survey -->


<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="/akustik/upload/templates/Zblin/ie_fix_6.css" />
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="/akustik/upload/templates/Zblin/ie_fix_7.css" />
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="/akustik/upload/templates/Zblin/ie_fix_8.css" />
<![endif]-->

<!-- The following CSS hides visual elements of the progress bar from screen readers. -->
<style type="text/css" media="aural tty">
progress-graph .zero, progress-graph .graph, progress-graph .cent { display: none; }
</style>
<!-- The following line includes jquery.js, jquery-ui.js, survey_runtime.js , template.js and needed specific js file for survey -->
<script type="text/javascript" src="/akustik/upload/templates/Zblin/template.js"></script>
<link rel="shortcut icon" href="/akustik/upload/templates/Zblin/favicon.ico" />

</head>
<body class="default lang-de groupbygroup page-odd showprogress showqnumcode-X"><script type="text/javascript">
/*<![CDATA[*/
setJsVar();
/*]]>*/
</script>

<div class="outerframe">
<table class="innerframe">
<tr>
<td>
<div id='wrapper'>
<p id='tokenmessage'>
<span class='error'>Fehler</span><br /><br />
Diese Umfrage ist beendet und steht nicht mehr zur Verfügung.<br /><br />
Bitte kontaktieren Sie für weitere Unterstützung.<br /><br />
</p>
</div>
</td>
</tr>
</table>
</div>

</body>
</html>

Can anyone tell me where exactly I can find this text an if I can change it?

Thanks very much.

Best Regards,
Noemi
The topic has been locked.
LimeSurvey Partners
More
5 years 5 months ago #117626 by holch
This text can be found in the translation files. So you would need to change the translation for Limesurvey.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
More
5 years 5 months ago #117631 by DenisChenu
I think we can do something in a plugin, using beforeSurveyPage.

It's a big system for just a sentence, but why not ....

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.
More
5 years 5 months ago - 3 years 3 months ago #117659 by tpartner
Or a JavaScript solution - try adding something like this to the end of template.js:

$(document).ready(function() {
 
	if($('p#tokenmessage').length > 0 && $('#tokenform').length == 0) {
		var stringIndex = $('p#tokenmessage').text().indexOf('Diese Umfrage ist beendet und steht nicht mehr zur Verfügung'); 
		if(stringIndex >= 0) {
			$('p#tokenmessage').html('This survey is CLOSED!<br /><br />Go away!');
		}
	}
 
});

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Last edit: 3 years 3 months ago by tpartner.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
5 years 5 months ago #117682 by DenisChenu
Hi,

www.limesurvey.org/en/forum/future-featu...on-per-survey#115507

Can be done in Plugin actually. But you're rigth, no bounty development / crowdfunding.

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.
More
5 years 5 months ago - 5 years 5 months ago #117721 by DenisChenu

jelo wrote:

DenisChenu wrote: Can be done in Plugin actually. But you're rigth, no bounty development / crowdfunding.


I would be more eager to sponsor features for the core codebase to ensure they feature will stay uptodate.

Not realy true.

1st : LS core is actually to heavy to be easily maintanable. New feature is really hard to do. GUI is really complicated.
2nd : with a clean LS API for plugin, plugin don't realy need update each week.
3rd : some feature included in core still broken a long time, because no core dev work on it
4th : with all of my selled plugin, i offer a 6 month guarantee for LS evolution. Can be extended.

Look at wordpress success or Spip or any another CMS. Success is due to Plugin not from core.

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.
Last edit: 5 years 5 months ago by DenisChenu.
The topic has been locked.
More
5 years 5 months ago #117722 by holch
I agree with jelo. It would be nice to be able to overwrite translations. It is great that we have Limesurvey in so many languages, but sometimes the translation just doesn't fit a specific case. For those cases it would be great if the default texts could be overwritten via the GUI.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
More
5 years 5 months ago #117725 by holch
Thanks Jelo for posting the link for GSoC 2015.

I think there are actually some very interesting projects there. I personally look forward to those:

Re-organize the Limesurvey Admin Interface for better Navigation Usability
Remove jQuery UI and replace it with Bootstrap, harmonize GUI of different admin screens
Update Limesurvey Template Engine to use Twig

We were missing quite a bit of information on where the core teams wants Limesurvey to go. This at least gives some ideas and I like what I see, because it addresses quite a few of the main problemas that I see with Limesurvey at the moment.

While the gui is actually not to complicated, it is not the most appealing one and also not the fastest one. What I don't get for example is why we need to many steps to get somewhere.

And not only that you have to go through "Survey"-"Group"-"Question". There comes a fairly useless overview screen and to edit you still have to click. And then if you want to go to the advanced features you have to click again. All this, while there is a lot of lost space on the page and I think the advanced features could be shown, if we would use a two column approach, etc.

Ups, I am getting quite off topic now...

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
More
5 years 5 months ago #117726 by DenisChenu

jelo wrote: ...
The GSoC page allows dumb users like me to get some insights about what the developer think about the codebase. manual.limesurvey.org/Project_ideas_for_GSoC_2015
A lot of work near the core.

Yes and a lot offer system for plugin :).

For WP : use a plugin make by a good dev ;).

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.
More
5 years 5 months ago #117792 by holch
It is a pitty. But ever since Google made it into Market Research, they don't seem to be interested in Limesurvey anymore...

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.

Start now!

Just create your account and start using Limesurvey today.

Register now