Actions

Optional settings/sl: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
(Updating to match new version of source page)
Line 4: Line 4:
=Opomba=
=Opomba=


Te dodatne nastavitve je možno najti le v datoteki /application/config/config-defaults.php pri običajni namestitvi - nekatere se uporabijo le za prvo namestitev in se prepišejo z [[Global settings | globalnimi nastavitvami]]. <span style='color:red'> Če želite spremeniti te nastavitve, jih prosimo ne spreminjajte v config-defaults.php datoteki, pač pa kopirajte izbrane vrstice nastavitev v /application/config/config.php in jih spremenite v tej datoteki. Vse nastavitve v config.php prepišejo privzete vrednosti iz config-defaults.php in začenši z različico 1.87 nekatere od teh nastavitev se prepišejo z globalnimi nastavitvami</span>. Na ta način je bolj enostavno nadgraditi vašo kasnejšo namestitev.
These optional settings can only be found in the file /application/config/config-defaults.php of a standard installation - some of them are only used for first installation and overriden in [[Global settings]].  
{{Alert|If you want to change these settings please do not change it in config-defaults.php but copy the particular setting/line over to /application/config/config.php in <nowiki>'config'=>array()</nowiki> and change it there.}}
All settings in config.php overwrite the default values from config-defaults.php and some of these settings get overridden in the Global settings dialog{{NewIn|1.87}} . This way it is much easier to upgrade your installation at a later time!


=Splošne nastavitve=
=General settings=
*'''sitename''': določi ime vaši anketi. To ime se bo pojavilo pri pogledu na seznam anket in v glavi strani za skrbnike. (začenši z 1.87 se ta nastavitev prepiše v oknu [[Global settings/sl|Globalnih nastavitev]])
*'''siteadminemail:''' privzeti elektronski naslov skrbnika anketnega sistema, ki se uporablja za sistemska obvestila ter za kontaktni naslov. (začenši z 1.87 se ta nastavitev prepiše v oknu [[Global settings/sl|Globalnih nastavitev]])
*'''siteadminbounce:''' elektronski naslov za nedostavljena sporočila. (začenši z 1.87 se ta nastavitev prepiše v oknu [[Global settings/sl|Globalnih nastavitev]])
*'''siteadminname:''' resnično ime skrbnika anketnega sistema. (začenši z 1.87 se ta nastavitev prepiše v oknu [[Global settings/sl|Globalnih nastavitev]])


*'''sitename''': Give your survey site a name. This name will appear in the survey list overview and in the administration header. This setting is overridden in the [[Global settings]] dialog {{NewIn|1.87}}.
*'''sitename''': Give your survey site a name. This name will appear in the survey list overview and in the administration header. This setting is overridden in the [[Global settings]] dialog {{NewIn|1.87}}.
Line 17: Line 15:
*'''siteadminname:''' The real name of the site administrator. This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}.
*'''siteadminname:''' The real name of the site administrator. This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}.


= Varnost=
= Security=
* '''surveyPreview_require_Auth''': privzeto nastavljeno na resnično (true). Če nastavite to možnost na neresnično (false), boste omogočili vsakemu uporabniku preizkušanje vaše ankete z uporabo spletnega naslova ankete (URL)- brez predhodne prijave na skrbniško stran in brez predhodne aktivacije ankete. (začenši z 1.87 se ta nastavitev prepiše v oknu [[Global settings/sl|Globalnih nastavitev]])
* '''usercontrolSameGroupPolicy''' : privzeto nastavljeno na resnično (true). Privzeto bodo lahko edino uporabniki, ki niso določeni kot administratorji v LimeSurvay-evem sistemu za upravljanje, videli ostale uporabnike. Pri tem mora ta uporabnik spadati v vsaj eno skupino uporabnikov, v kateri je iskani uporabnik. To je nastavljeno z naslednjo nastavitvijo:
*'''filterxsshtml:''' nastavitev omogoča filtriranje sumljivih html oznak v anketi, skupini, vprašanjih in besedilih odgovorov v skrbniškem vmesniku. To nastavitev pustite na neresnično (false) le v primeru, če popolnoma zaupate uporabnikom, ki ste jim dodelili skrbniške pravice in če želite dovoliti tem uporabnikom, da bodo lahko uporabljali Javascript, Flash Movies, itd. (začenši z 1.87 se ta nastavitev prepiše v oknu [[Global settings/sl|Globalnih nastavitev]])
*'''demoModeOnly:''' če je ta možnost nastavljena na resnično (true), bo LimeSurvey deloval v demonstracijskem  načinu. Demonstracijski način povzroči naslednje spremembe:
** Onemogoči spreminjanje podrobnosti in gesel skrbnikov
** Onemogoči nalaganje datotek v urejevalnik predlog
** Onemogoči pošiljanje povabil in opomnikov v obliki elektronskih sporočil
** Onemogoči odlaganje podatkovnih zbirk
** Onemogoči zmožnost shranjevanja naslednjih globalnih nastavitev: Ime strani, privzeti jezik, privzet način HTML urejevalnika, XSS filter


* '''surveyPreview_require_Auth''': true by default. If you set this to false any person can test your survey using the survey URL - without logging in to the administration and without having to activate the survey first. This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}.
* '''surveyPreview_require_Auth''': true by default. If you set this to false any person can test your survey using the survey URL - without logging in to the administration and without having to activate the survey first. This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}.
Line 38: Line 27:
** Disables the ability to save the following global settings: Site name, Default language, Default Htmleditor Mode, XSS filter
** Disables the ability to save the following global settings: Site name, Default language, Default Htmleditor Mode, XSS filter


= Viri=
= Resources=
*'''sessionlifetime:''' določi čas v sekundah za trajanje seje ankete. Privzeto: $sessionlifetime    =  3600; (začenši z 1.87 se ta nastavitev prepiše v oknu [[Global settings/sl|Globalnih nastavitev]])
*'''sessionlifetime:''' Defines the time in seconds after which a survey session expires. Default: $sessionlifetime    =  3600; .This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}.
*'''memorylimit:''' določi velikost spomina, do katerega lahko LimeSurvay dostopa. Priporoča se najmanj '32'(M=MB). Če sistem sporoča napake o prekinitvah (time out errors) ali se pojavljajo težave pri ustvarjanju statističnih podatkov ali pri izvažanju datotek, potem je potrebno dvigniti to mejo na '128' ali '256'.
*'''memorylimit:''' This sets how much memory LimeSurvey can access. '32' is the minimum (M=mb) recommended. If you receive time out errors or have problems generating statistics or exporting files raise this limit to '128' or '256'.


Ne pozabite, da so lahko takšne lokalne nastavitve s pomočjo aplikacije vedno ovržene z globalnimi nastavitvami strežnika. Za povečanje velikosti meje spomina na 128M je smiselno poskusiti dodati še:
<div class="warningbox">Please mind that such local settings by an application can always be overruled by global server settings.</div>
*memory_limit = 128M v glavno datoteko php.ini na vašem strežniku (priporočljivo, če imate dostop)
*memory_limit = 128M v datoteko php.ini file v korenski mapi LimeSurvay-a (LimeSurvey root)
*php_value memory_limit 128M v datoteko .htaccess v korenski mapi LimeSurvay-a (LimeSurvey root)


To increase the memory limit to 128M you could also try adding:
To increase the memory limit to 128M you could also try adding:
Line 52: Line 38:
*php_value memory_limit 128M in a .htaccess file in the LimeSurvey root
*php_value memory_limit 128M in a .htaccess file in the LimeSurvey root


=Izgled=
=Appearance=
*'''$lwcdropdowns:''' lahko je nastavljeno na "L" ali "R". Nastavitev na "R" bo povzročila v vprašanju tipa 'Seznam s komentarjem', da se bo seznam možnih odgovorov prikazal v obliki radijskih gumbov, medtem ko bo nastavitev na "L" povzročila v tem tipu vprašanja prikaz v obliki spustnega seznama. (Neaktualno v verziji 2.0)
*'''$lwcdropdowns:'''{{ObsoleteIn|2.0}} This can be set to either "L" or "R". Setting it to "R" will result in 'List with Comment' questions being displayed as radio buttons, whereas "L" will result in 'List with Comment' questions being displayed in a 'dropdown' list box .
*'''$dropdownthreshold:''' če izberete "R" za  $dropdowns, vam ta nastavitev omogoča izbrati največje število možnosti, ki se bodo prikazala kot radijski gumbi, preden se bo spremenila v spustni seznam. V kolikor imate vprašanje, ki vsebuje večje število možnih odgovorov, bi bil prikaz v obliki radijskih gumbov nepregleden. Nastavitev na največje število npr. 25 (kar je tudi privzeta nastavitev) bi pomenila, da je večji seznam anketirancem enostavnejši za uporabo.
*'''$dropdownthreshold:''' When you have selected "R" for $dropdowns, this allows you to set a maximum number of options that will display as radio buttons, before converting back to a dropdown list. If you have a question that has a large number of options, displaying them all as radio buttons can look unweildy, and be counter-intuitive to users. Setting this to a maximum of, say 25 (which is the default) means that large lists are easier for the survey participant to use.
*'''$repeatheadings:''' pri vprašanju v obliki lestvice imamo pogosto veliko odgovorov, ki jih je nemogoče prikazati na enem zaslonu. S to nastavitvijo določite, koliko odgovorov se prikaže preden se ponovi glava z informacijami o vprašanju. Smiselna nastavitev je okoli števila 15. Če ne želite, da se glava ponavlja, nastavite to nastavitev na 0 (kar je privzeta nastavitev).
*'''$repeatheadings:''' With the array (flexible) type question, often you'll have a lot of answers, which - when displayed on screen - take up more than one page. The repeat-headers setting lets you decide how many answers should be displayed before repeating the header information for the question. A good setting for this is around 15. If you don't want the headings to repeat at all, set this to 0 (which is the default).
*'''$minrepeatheadings:''' zahtevano najmanjše število odgovorov pri vprašanju v obliki lestvice, ko se glava lestvice začne ponavljati.
*'''$minrepeatheadings:''' The minimum number of reaming answers that are required before repeating the headings in array (flexible) questions.
*'''$addTitleToLinks:''' če je ta možnost nastavljena na resnično (true), potem bo LimeSurvey dodal html značko 'title' vsem povezavam uporabljenim v menijih. To pomaga zaslonskim bralnikom pri analiziranju menijev. To možnost nastavite na resnično le v primeru, če uporabljate zaslonski bralnik, ker se prekrijejo z namigi o orodjih.
*'''$addTitleToLinks:''' If this option is set to true, then LimeSurvey will add 'title' html element to all links used in menus. This will help screen reader to analyze the menus. Only set this to true if you're using a screen reader because it overlaps with tool tips.
*'''$defaulttemplate:''' ta nastavitev določi privzeto temo, ki se uporablja za 'javni seznam' anket. (začenši z 1.87 se ta nastavitev prepiše v oknu [[Global settings/sl|Globalnih nastavitev]])
*'''$defaulttemplate:''' This setting specifys the default theme used for the 'public list' of surveys. This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}.
*'''$defaulthtmleditormode:''' nastavi privzet način za  vključen HTML urejevalnik. (začenši z 1.87 se ta nastavitev prepiše v oknu [[Global settings/sl|Globalnih nastavitev]]). Veljavne nastavitve so: inline (privzeto), popup and none:
*'''$defaulthtmleditormode:''' Sets the default mode for integrated HTML editor. This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}. Valid settings are: inline (default), popup and none:
** ''inline'': v obrazec se vgradi HTML urejevalnik. Ta način je sicer počasnejši vendar primernejši in uporabniku bolj prijazen
** ''inline'': Inline replacement of fields by an HTML editor. Slow but convenient and user friendly
** ''popup'': doda ikono, ki odpre novo okno s HTML urejevalnikom. Ta način je hitrejši, vendar se v obrazcu prikaže html oblika zapisa
** ''popup'': Adds an icon that runs a popup with and html editor. Faster, but html code is displayed on the form
** ''none'': brez HTML urejevalnika
** ''none'': No html editor


=Jezik in čas=
=Language & Time=
*'''$defaultlang:''' ta možnost naj bo nastavljena na privzet jezik, ki se bo uporabljal tako v skrbniških ukaznih datotekah (admin scripts) kot tudi za javne ankete. To nastavitev za javne ankete lahko spremenite tudi na principu kopiranja iz ankete na anketo s pomočjo skrbniških ukaznih datotek. (začenši z 1.87 se ta nastavitev prepiše v oknu [[Global settings/sl|Globalnih nastavitev]])
*'''$defaultlang:''' This should be set to the default language to be used in your administration scripts, and also the default setting for language in the public surveys. You can change this setting for public surveys on a survey-by-survey basis from the admin scripts. This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}.
*'''$timeadjust:''' če se nahaja vaš spletni strežnik za anketiranje v drugačnem časovnem območju, kot je območje, kjer se bo anketiranje izvajalo, nastavite pri tej možnosti časovno razliko. Na primer jaz živim v Sloveniji vendar uporabljam spletni strežnik iz ZDA. Spletni strežnik je v časovnem pasu, ki zaostaja za 8 ur za mojim časovnim pasom. Tako to možnost nastavim na "8". Z drugimi besedami ta nastavitev povzroči dodajanje 8 ur času, ki ga sistem pridobi na strežniku. Ta nastavitev je pomembna za časovne žige pri anketiranjih.(začenši z 1.87 se ta nastavitev prepiše v oknu [[Global settings/sl|Globalnih nastavitev]])
*'''$timeadjust:''' If your web server is in a different time zone to the location where your surveys will be based, put the difference between your server and your home time zone here. For example, I live in Australia but use a US web server. The web server is 14 hours behind my local time zone. So my setting here is "14". In other words, it adds 14 hours to the web servers time. This setting is particularly important when surveys timestamp the responses. This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}.
* '''$modrewrite:''' (Pomni: ta nastavitev je zastarela za različice >=2.0) če je nastavljena na 1, se zažene uporabna URL pretvorba (Primer: http://survey.example.com/123456/lang-fr/tk-sdlfkjozeiru namesto http://survey.example.com/index.php?sid=123456&lang;=fr&token;=sdlfkjozeiru). Pred prvo uporabo te nastavitve <u>je potrebno</u> preimenovati "''htaccess.txt''" datoteko v "''.htaccess''". Potrebno je zagnati Apache spletni strežnik s pravilno nameščenim mod_rewrite modulom.
* '''$modrewrite:''' {{ObsoleteIn|2.0}} If set to 1, it activates the fancy URL feature (Example: http://survey.example.com/123456/lang-fr/tk-sdlfkjozeiru instead of http://survey.example.com/index.php?sid=123456&lang;=fr&token;=sdlfkjozeiru). Before you activate this, you <u>must</u> rename "''htaccess.txt''" file to "''.htaccess''". You need to run an Apache web server with correctly installed mod_rewrite module.


=Odzivanje anket=
=Survey Behavior=
*'''$allowmandbackwards:''' če je ta možnost nastavljena na 1, se bodo anketiranci lahko premikali na prejšnje vprašanje tudi če niso odgovorili na predpisano vprašanje. Če pa je nastavljeno na 0, pa bodo morali anketiranci najprej odgovoriti na predpisano vprašanje tudi če se bodo želeli le premakniti na prejšnje vprašanje.
*'''$allowmandbackwards:''' A setting of 1 for this variable will allow survey participants to move to a previous question even if they haven't answered a mandatory question. If it is set on 0, then participants will have to answer that question even to move to a previous question.
*'''$deletenonvalues:''' uporabite to nastavitev previdno. Privzeto (vrednost 1) bodo vsa nepomembna vprašanja v podatkovni zbirki izničena. S tem je zagotovljeno, da so podatki v celotni podatkovni zbirki povsem usklajeni. Obstajajo pa redki primeri, kadar bi morda želeli obdržati nepomembne vrednosti (v tem primeru mora biti ta možnost nastavljena na 0). Recimo da sprašujete anketirance po spolu in anketiranec pomotoma odgovori 'ženski' ter nato odgovarja na nekaj tipičnih vprašanj postavljenih za anketiranke (vprašanja, ki so pogojno postavljena samo anketirankam in so tako smiselna samo za ženske). Nato se anketiranec zave svoje napake in se vrne na prejšnja vprašanja ter popravi odgovor pri vprašanju o spolu na 'moški'. Ko v tem primeru nadaljuje z reševanjem ankete, postanejo odgovori na vprašanja za anketiranke nepomembni. Če je možnost $deletenonvalues nastavljena na 1, bodo te nepomembne vrednosti v podatkovni zbirki izničene.  Če pa je nastavljeno $deletenonvalues==0, njegovi zmotni odgovori ne bodo izbrisani in bodo prisotni v podatkovni bazi pri analizi rezultatov.
*'''$deletenonvalues:''' Use this feature with caution.  By default (a value of 1), irrelevant questions are NULLed in the database.  This ensures that the data in your database is internally consistent.  However, there are rare cases where you might want to hold onto irrelevant values, in which case you can set the value to 0.  Say you ask the person his gender, and he accidentally says 'female' and then answers some female-specific questions (questions that are conditioned on being female, so are only relevant for women).  Then, he realizes his mistake, backs up, sets the gender to 'male', and continues with the survey.  Now, the female-specific questions are irrelevant.  If $deletenonvalues==1, those irrelevant values will be cleared (NULLed) in the database.  If $deletenonvalues==0, his erroneous answers will not be deleted, so they will still be present in the database when you analyze it.
*'''$shownoanswer:''' kadar vprašanje tipa radijski gumb/izbira, ki omogoča urejanje odgovorov (vprašanja seznami in lestvice) ni obvezno in nastavite to možnost na '1' (privzeto), se prikaže dodaten vnos 'Brez odgovora' za vsako podvprašanje. Tako lahko anketiranci izberejo, da na vprašanje ne bodo odgovarjali. Nekateri uporabniki imajo raje, da ta možnost ni na voljo; v tem primeru je potrebno to nastaviti izklopiti z nastavitvijo na '0'. (začenši z 1.87 se ta nastavitev prepiše v oknu [[Global settings/sl|Globalnih nastavitev]])
*'''$shownoanswer:''' When a question of a radio button/select type that contains editable answers (ie: List, Array questions) is not mandatory and $shownoanswer is set to 1, an additional entry is shown for "N/A" - so that participants may choose to not answer the question. Some people prefer this not to be available. Set this to 0 to turn this off. This setting is overridden in the [[Global settings]] dialog) {{NewIn|1.87}}.
*'''$printanswershonorsconditions:''' ta možnost določa ali bo aplikacija za tiskanje odgovorov prikazala vnose za vprašanja, ki so bila skrita s pomočjo pogojevanja. (Privzeto: 1 = skrije odgovore vprašanj, ki so skrita s pomočjo pogojev)
*'''$printanswershonorsconditions:''' This setting determines if the printanswers feature will display entries from questions that were hidden by conditions-branching (Default: 1 = hide answers from questions hidden by conditions).
*'''$hide_groupdescr_allinone:''' ta nastavitev je pomembna za vse ankete, ki uporabljajo pogoje uvedenimi z LimeSurvey-em 1.85RC3. Kadar je ta možnost nastavljena na resnično (true), potem je ime skupine in opis skrit, če so tudi vsa vprašanja v skupini skrita (privzeto: true (skrij ime skupine in opis, kadar so vsa vprašanja v skupini skrita s pogoji))
*'''$hide_groupdescr_allinone:'''{{NewIn|1.85RC3}} This setting is relevant for all-in-one surveys using conditions . When this is set to true the group name and description is hidden if all questions in the group are hidden. (Default: true (hide group name and description when all conditions in the group are hidden by conditions))
*'''$showpopups:'''  prikaže pojavno okno s sporočilom, če na predpisano ali pogojno vprašanje ni bilo danega pravilnega odgovora. 1=prikaže pojavno okno s sporočilom (privzeto), 0=Prikaže sporočilo na isti strani, -1=Ne prikaže nobenega sporočila (v tem primeru bodo anketiranci še vedno videli posebne namige pri vprašanjih, na katera je potrebno odgovoriti).
*'''$showpopups:'''  Show popup messages if mandatory or conditional questions have not been answered correctly. 1=Show popup message (default), 0=Show message on page instead, -1=Do not show the message at all (in this case, users will still see the question-specific tips indicating which questions must be answered).


=Razvoj=
=Razvoj=
Line 82: Line 68:
= Nastavitve elektronske pošte=
= Nastavitve elektronske pošte=


Pomni: začenši z 1.87 se ta nastavitev prepiše v oknu [[Global settings/sl|Globalnih nastavitev]].
Note: All these settings in this section are overridden in the [[Global settings]] dialog{{NewIn|1.87}}.
*'''$emailmethod:'''  ta vrednost določa, kako bodo e-sporočila poslana. Na voljo so naslednje možnosti:
*'''$emailmethod:'''  This determines how E-mail messages are being sent. The following options are available:
**'''mail:''' uporabi notranji PHP program za pošiljanje e-pošte
**'''mail:''' use internal PHP mailer
**'''sendmail:''' uporabi "sendmail" sistem za pošiljanje e-pošte
**'''sendmail:''' use sendmail mailer
**'''smtp:''' uporablja SMTP prenos. To možnost uporabite, kadar je LimeSurvey nameščen na strežniku, ki ni hkrati vaš strežnik za e-pošto.
**'''smtp:'''use SMTP relaying. Use this setting when you are running LimeSurvey on a host that is not your mail server.
*'''$emailsmtphost:''' če ste nastavili na 'smtp' pri $emailmethod, potem je potrebno tukaj nastaviti SMTP strežnik. Če uporabljate Googlovo e-pošto, potem boste morda dodali številko vrat: $emailsmtphost = 'smtp.gmail.com:465';
*'''$emailsmtphost:''' If you use 'smtp' as $emailmethod then you have to put your SMTP-server here. If you are using Google mail you might have to add the port number like $emailsmtphost = 'smtp.gmail.com:465';
*'''$emailsmtpuser:''' če vaš SMTP strežnik potrebuje preverjanje pristnosti, potem to vrednost nastavite na vaše uporabniško ime, sicer pustite to možnost prazno.
*'''$emailsmtpuser:''' If your SMTP-server needs authentication then set this to your user name, otherwise it must be blank.
*'''$emailsmtppassword:''' če vaš SMTP strežnik potrebuje preverjanje pristnosti, potem to vrednost nastavite na vaše geslo, sicer pustite to možnost prazno.
*'''$emailsmtppassword:''' If your SMTP-server needs authentication then set this to your password, otherwise it must be blank.
*'''$emailsmtpssl:''' nastavite to možnost na 'ssl' ali 'tls', da boste uporabili SSL/TLS način za SMTP povezavo
*'''$emailsmtpssl:''' Set this to 'ssl' or 'tls' to use SSL/TLS for SMTP connection
*'''$maxemails:''' ta nastavitev določa, koliko povabil ali opomnikov v obliki e-sporočil lahko pošlje LimeSurvey v enem sklopu. Različni spletni strežniki imajo različne zmožnosti pošiljanja e-sporočil in v kolikor vaše ukazne datoteke (skripte) potrebujejo preveč časa za posredovanje kopice e-sporočil, lahko sistem javi časovno prekinitev in povzroča napake. Večina spletnih strežnikov lahko pošlje 100 e-sporočil naenkrat v 30 sekundah, kolikor znaša privzeti čas za za izvajanje PHP ukaznih datotek (skript). V kolikor dobivate sporočila o časovnih prekinitvah pri pošiljanju večje količine e-sporočil, zmanjšajte številko pri tej nastavitvi. S klikom na gumb za 'pošiljanje e-povabil' v orodni vrstici za delo z žetoni (pri tem niso v mislih gumbki na desni strani vsakega žetona) sistem pošlje največjo količino povabil v obliki e-sporočil in prikaže seznam uporabljenih naslovov. V kolikor povabila niso bila poslana vsem uporabnikom z žetoni, bo sistem javil sporočilo, iz katerega bo razvidna informacija, da so še vedno povabila na čakanju in prikazal povezavo, preko katere je možno poslati še preostala povabila. Preostala povabila ni nujno takoj poslati - uporabnik anketnega sistema se lahko odjavi in kasneje pošlje naslednjo skupino povabil.
*'''$maxemails:''' When sending invitations or reminders to survey participants, this setting is used to determine how many emails can be sent in one bunch. Different web servers have different email capacities, and if your script takes too long to send a bunch of emails, the script could time out and cause errors. Most web servers can send 100 emails at a time within the default 30 second time limit for a PHP script. If you get script timeout errors when sending large numbers of emails, reduce the number in this setting.  Clicking the 'send email invitation' button on the token control toolbar, (not the button on the right of each token), sends the maxemails number of invitations, then displays a list of the addresses sent to and a warning that "There are more emails pending than could be sent in one batch. Continue sending emails by clicking below. There are ### emails still to be sent." and provides a "continue button" to proceed with the next batch. I.e., the user determines when to send the next batch after each batch gets emailed.  It is not necessary to wait with this screen active.  The admin could log off and come back at a later time to send the next batch of invites.


= Statistika in brskanje po odgovorih=
= Statistics and Response Browsing=
*'''usejpgraph:''' (< 1.8) s pomočjo [http://jpgraph.net/ JPGraph-knjižnice] lahko v LimeSurvey-evem delu za statistiko vaše rezultate ankete prikažete v obliki stolpcev ali tortni obliki. Če imate na strežniku pravilno nastavljeno knjižnico (class) za jpgraf-e, lahko vklopite ali izklopite to funkcionalnost (1=vklop, 0=izklop). Prosimo preverite - vsaka PHP različica potrebuje drugo različico JPGraph-a! Ta funkcionalnost je še vedno  v razvoju, zato lahko pričakujete tudi kakšen nenavaden rezultat.
*'''usejpgraph:''' {{ObsoleteIn|1.8}} The [http://www.aditus.nu/jpgraph/ JPGraph-library] lets you display the results of your survey in the statistics part of LimeSurvey  in bar- and pie charts. If you have a correctly configured jpgraph class set up on your server, you can turn this feature on or off (1=on, 0=off). Please have a look, every version of PHP needs another version of JPGraph! This feature is currently in development, so expect a few weird outcomes.
*'''jpgraphdir:''' (< 1.8) dejansko fizično mesto zagonske datoteke (skripte) jpgraph knjižnice. Ta nastavitev je zahtevana le v primeru, če je možnost  $usejpgraph nastavljena na 1.
*'''jpgraphdir:''' {{ObsoleteIn|1.8}} The physical disk location of the jpgraph class scripts. This setting is only required if $usejpgraph is equal to 1.
*'''jpgraphfont:''' (< 1.8) oblika pisave, ki se uporablja v povezavi z grafi. Varna nastavitev bi bila "FF_FONT1"
*'''jpgraphfont:''' {{ObsoleteIn|1.8}} The font to use with graphs. A failsafe setting would be "FF_FONT1"
*'''embedded:''' če želite vgraditi LimeSurvey na drugo stran, potem lahko izklopite pošiljanje HTML naslovov z uporabo te nastavitve in prestavite način na običajno delovanje.  
*'''embedded:'''{{ObsoleteIn|2.0}} If you want to integrate LimeSurvey into another page then you can turn off sending HTML headers by using this setting and point instead to the header method of a custom function. This is a dirty hack but should work for a quick integration.
*'''filterout_incomplete_answers:''' določa privzeto odzivanje filtriranja nepopolnih odgovorov pri brskanju ali analiziranju odgovorov. Obiščite razpravo o nepopolnih odzivih na povezavi: [[Browsing survey results|brskanje razultatov ankete]]. Ker lahko ti zapisi pokvarijo statistiko, lahko s to možnostjo ta filter vklopite ali izklopite v parih GUI oblikah. Ta vrednost v datoteki config.php je le privzeto stanje za filtriranje nepopolnih odgovorov. Na voljo so naslednje možnosti:
*'''filterout_incomplete_answers:''' Control the default behaviour of  filtering incomplete answers when browsing or analyzing responses. For a discussion on incomplete Responses see [[Browsing survey results]]. Since these records can corrupt the statistics, an option is given to switch this filter on or off in several GUI forms. This parameter config.php is just the default state for the incomplete answer filter. The following options are available:
**''show'': prikaže popolne in nepopolne odgovore
**''show'': Show both complete and incomplete answers
**''filter'': prikaže le popolne odgovore
**''filter'': Show only complete answers
**''incomplete'': prikaže le nepopolne odgovore
**''incomplete'': Show only incomplete answers
*'''strip_query_from_referer_url''': ta nastavitev določa ali referenčni URL shrani vrednosti ali ne. Privzeta vrednost je "false" (v tem primeru referenčni URL shrani vse vrednosti). Druga možnost je nastavitev te vrednosti na "true", ki odstrani vrednosti poleg referenčnega URL-ja.
*'''strip_query_from_referer_url''': This setting determine if the referrer URL saves parameter or not. Default value is "false" (in this case referrer URL saves all parameter). Alternatively this value can be set to "true" and the parameter part of the referrer URL will be removed.
*'''showaggregateddata:''' ''(>=1.8)'' če je možnost vklopljena, potem so pri statistiki na voljo dodatne vrednosti kot sta aritmetična sredina in standardna deviacija. Še več podatki so v obliki skupnih seštevkov, da je možen hitrejši pregled oz. dodani so rezultati vrednosti 1+2 in 4+5, da je na voljo splošno razvrščanjev smislu "dobro" (1/2), "povprečno" (3) in "slabo" (4/5). To vpliva le na vprašanja tipa "A" (5 točkovne lestvice) in "5" (5 točkovne možnosti).
*'''showaggregateddata:''' {{NewIn|1.8}} When activated there are additional values like arithmetic mean and standard deviation at statistics. Furthermore data is aggregated to get a faster overview e.g. results of scale 1+2 and 4+5 are added to have a general ranking like "good" (1/2), "average" (3) and "bad" (4/5). This only affects question types "A" (5 point array) and "5" (5 point choice).
* '''PDF Export Settings:''' ''(>1.85)'' ta funkcija vklopi PDF izvoz za tiskanje ankete in tiskanje odgovorov. Ta izvoz je v celoti v preizkušanju. Ti izvozi so zaenkrat večinoma slabi. V tem trenutku ni možna nobena podpora - v kolikor želite pomoč pri popravkih teh izvozov se obrnite na nas.
* '''PDF Export Settings:''' {{NewIn|1.85}} This feature activates PDF export for printable survey and Print Answers. The PDF export is totally experimental. The output is mostly ugly. At this point no support can be given - if you want to help to fix it please get in touch with us.
**usepdfexport: nastavite na 0 da jo izklopite; 1 da jo vklopite
**usepdfexport: Set 0 to disable; 1 to enable
**pdfdefaultfont: privzeta oblika pisave za pdf izvoz
**pdfdefaultfont: Default font for the pdf Export
**pdffontsize: velikost pisave za normalno besedilo; naslov ankete je +4; naslov skupine je  +2
**pdffontsize: Fontsize for normal text; Surveytitle is +4; grouptitle is +2
**notsupportlanguages = array('zh-Hant-TW','zh-Hant-HK','zh-Hans','ja','th');
**notsupportlanguages = array('zh-Hant-TW','zh-Hant-HK','zh-Hans','ja','th');
**pdforientation: nastavite na L za ležečo ali P za pokončno obliko
**pdforientation: Set L for Landscape or P for portrait format
*'''$showsgqacode:''' ''(>1.91)'' ta nastavitev se uporablja za funcijo tiskanja ankete {IMG(attId="78",height="16",width="16")} in je privzeto nastavljena na ''false''. Če nastavite ''showsgqacode = true;'' bodo prikazani vsi ID-ji za vsako vprašanje in odgovor, če so uporabljeni; ti ID-ji se ujemajo s stolpci glave pri tabeli Lime_survey_12345, ki vsebuje odgovore za določene ankete. Ti ID-ji se lahko uporabljajo za knjigo šifer za ročne poizvedbe v podatkovni zbirki.
*'''$showsgqacode:''' {{NewIn|1.91}} This setting is used at the printable survey feature {IMG(attId="78",height="16",width="16")} and defaults to ''false''. If you set ''showsgqacode = true;'' the IDs for each question - and answer if applicable - will be shown; these IDs match the column heading at the Lime_survey_12345 table which holds the answer data for a certain survey. These Ids can be used for a code book for manual database queries.
*{IMG(attId="79",height="200",width="400")}
*{IMG(attId="79",height="200",width="400")}


Line 118: Line 104:


=Preverjanje pristnosti (avtentikacija)=
=Preverjanje pristnosti (avtentikacija)=
In LimeSurvey 2.05 authentication will be handled by plugins. Because of this the information below might be outdated. See [[Plugins]] for most up to date information.


==Dodelitev pristnosti spletnemu strežniku==
==Dodelitev pristnosti spletnemu strežniku==
Line 184: Line 172:
== Uporaba gesel za enkratno uporabo==
== Uporaba gesel za enkratno uporabo==


''(since 1.81)''
{{FeatureStarting|1.81}}


Uporabnik lahko kliče LimeSurvey-evo prijavo na povezavi /limesurvey/admin in preskoči uporabniško ime in geslo za enkratno uporabo, ki je bilo pred tem zapisano v tabelo uporabnikov (stolpec  one_time_pw) s pomočjo zunanjega programa.
Uporabnik lahko kliče LimeSurvey-evo prijavo na povezavi /limesurvey/admin in preskoči uporabniško ime in geslo za enkratno uporabo, ki je bilo pred tem zapisano v tabelo uporabnikov (stolpec  one_time_pw) s pomočjo zunanjega programa.


Da omogočite uporabo gesel za enkratno uporabo, jo morate vklopiti z nastavitvijo '''use_one_time_passwords''' => true (privzeto je izklopljena). Več informacij lahko najdete na povezavi [[Manage users#Use one-time passwords|"upravljanje uporabnikov"]].
This setting has to be turned on ('''use_one_time_passwords''' => true) to enable the usage of one time passwords (default = false). More information can be found at [[Manage users#Use one-time passwords|"Manage Users"]].


= Napredno nastavljanje poti=
= Napredno nastavljanje poti=


'''Če je le možno ne spreminjajte teh nastavitev. Te nastavitve je možno spreminjati le v datoteki  config-defaults.php.'''
'''If possible do no touch these settings. Additionally these settings can only be adjusted on config-defaults.php.'''
*'''$homeurl:''' to bi moralo biti nastavljeno na URL mesto skrbniških zagonskih datotek (skript). To so zagonske datoteke v mapi  /limesurvey/admin. Uporabljeno mora biti spleto URL mesto - na primer "http://www.mydomain.com/limesurvey/html/admin". Na koncu naj ne bo leve poševnice. Privzete nastavitve v datoteki config.php poskušajo samodejno odkriti ime vašega strežnika z uporabo php spremenljivke - {$_SERVER<nowiki>[</nowiki>'SERVER_NAME']}. V večini primerov lahko to pustite in samo spremenite preostanek tega niza, da se bo ujemalo ime mape v katero ste dali LimeSurvey-eve zagonske datoteke.
*'''$homeurl:''' This should be set to the URL location of your administration scripts. These are the scripts in the /limesurvey/admin folder. This should be set to the WEB URL location - for example "http://www.example.com/limesurvey/html/admin". Don't add a trailing slash to this entry. The default setting in config.php attempts to detect the name of your server automatically using a php variable setting - {$_SERVER<nowiki>[</nowiki>'SERVER_NAME']}. In most cases you can leave this and just modify the remainder of this string to match the directory name you have put the LimeSurvey scripts in.
*'''$publicurl:''' to bi moralo biti nastavljeno na URL mesto vaših javnih zagonskih datotek ('public scripts'). Javne zagonske datoteke so tiste, ki se nahajajo v  "limesurvey-evi" mapi (ali kakor koli ste že poimenovali mapo, kjer so nahajajo vse ostale zagonske datoteke in mape).
*'''$publicurl:''' This should be set to the URL location of your 'public scripts'. The public scripts are those located in the "limesurvey" folder (or whatever name you gave to the directory that all the other scripts and directories are kept in).
*'''$tempurl:''' to bi moralo biti nastavljeno na URL mesto vaše mape "/limesurvey/tmp" - ali mape, katero bi želeli uporabiti za shranjevanje LimeSurvay-evih začasnih datotek in prenosov. Ta mapa na vašem strežniku mora imeti pravico branja in pisanja (ukaz chmod 755)
*'''$tempurl:''' This should be set to the URL location of your "/limesurvey/tmp" directory - or a directory which you would like LimeSurvey to use to store temporary files, including uploads. This directory must be set to read & write for your webserver (e.g. chmod 755)
*'''$imagefiles:''' privzeto morate pustiti to nastavitev, da kaže na mapo /limesurvey/admin/images - mesto, kamor se sprva namestijo slike. Lahko pa, če želite, to mesto prestavite na drugo lokacijo in tako nastavite to pot, kamor želite shranjevati te datoteke.
*'''$imagefiles:''' By default you should leave this pointing to the URL location of /limesurvey/admin/images - where the images are installed initially. You may, however, prefer to move these images to another location and if so point this to the URL directory where they are stored.
*'''$homedir:''' This should be set to the physical disk location of your administration scripts - for example "/home/usr/htdocs/limesurvey/admin". Don't add a trailing slash to this entry. The default setting in config.php attempts to detect the default root path of all your documents using the php variable setting - {$_SERVER<nowiki>[</nowiki>'DOCUMENT_ROOT']}. In most cases you can leave this and just modify the remainder of this string to match the directory name you have put the LimeSurvey scripts in.
*'''$homedir:''' This should be set to the physical disk location of your administration scripts - for example "/home/usr/htdocs/limesurvey/admin". Don't add a trailing slash to this entry. The default setting in config.php attempts to detect the default root path of all your documents using the php variable setting - {$_SERVER<nowiki>[</nowiki>'DOCUMENT_ROOT']}. In most cases you can leave this and just modify the remainder of this string to match the directory name you have put the LimeSurvey scripts in.
*'''$publicdir:''' This should be set to the physical disk location of your 'public scripts'.
*'''$publicdir:''' This should be set to the physical disk location of your 'public scripts'.

Revision as of 11:34, 20 October 2013

Opomba

These optional settings can only be found in the file /application/config/config-defaults.php of a standard installation - some of them are only used for first installation and overriden in Global settings.

  If you want to change these settings please do not change it in config-defaults.php but copy the particular setting/line over to /application/config/config.php in 'config'=>array() and change it there.


All settings in config.php overwrite the default values from config-defaults.php and some of these settings get overridden in the Global settings dialog (New in 1.87 ) . This way it is much easier to upgrade your installation at a later time!

General settings

  • sitename: Give your survey site a name. This name will appear in the survey list overview and in the administration header. This setting is overridden in the Global settings dialog (New in 1.87 ).
  • siteadminemail: This is the default email address of the site administrator and used for system messages and contact options. This setting is overridden by the Global settings dialog (New in 1.87 ).
  • siteadminbounce: This is the email address where bounced emails will be sent to. This setting is overridden by the Global settings dialog (New in 1.87 ).
  • siteadminname: The real name of the site administrator. This setting is overridden in the Global settings dialog) (New in 1.87 ).

Security

  • surveyPreview_require_Auth: true by default. If you set this to false any person can test your survey using the survey URL - without logging in to the administration and without having to activate the survey first. This setting is overridden in the Global settings dialog) (New in 1.87 ).
  • usercontrolSameGroupPolicy :  set to true by default. By default non admin users defined in the LimeSurvey management interface will only be able to see users they create or user belongs to,at least one, same group. You can deactivate this behaviour.
  • filterxsshtml: This setting enables filtering of suspicious html tags in survey, group, questions and answer texts in the administration interface. Only leave this to 'false' if you absolutely trust the users you created for the administration of  LimeSurvey and if you want to allow these users to be able to use Javascript, Flash Movies, etc. Super admin never have their HTML filtered. This setting is overridden in the Global settings dialog) (New in 1.87 ).
  • demoModeOnly: If this option is set to true, then LimeSurvey will go into demo mode. The demo mode changes the following things:
    • Disables changing of the admin user's details and password
    • Disables uploading files on the template editor
    • Disables sending email invitations and reminders
    • Disables doing a database dump
    • Disables the ability to save the following global settings: Site name, Default language, Default Htmleditor Mode, XSS filter

Resources

  • sessionlifetime: Defines the time in seconds after which a survey session expires. Default: $sessionlifetime    =  3600; .This setting is overridden in the Global settings dialog) (New in 1.87 ).
  • memorylimit: This sets how much memory LimeSurvey can access. '32' is the minimum (M=mb) recommended. If you receive time out errors or have problems generating statistics or exporting files raise this limit to '128' or '256'.
Please mind that such local settings by an application can always be overruled by global server settings.

To increase the memory limit to 128M you could also try adding:

  • memory_limit = 128M to your server's main php.ini file (recommended, if you have access)
  • memory_limit = 128M to a php.ini file in the LimeSurvey root
  • php_value memory_limit 128M in a .htaccess file in the LimeSurvey root

Appearance

  • $lwcdropdowns: (Obsolete since 2.0) This can be set to either "L" or "R". Setting it to "R" will result in 'List with Comment' questions being displayed as radio buttons, whereas "L" will result in 'List with Comment' questions being displayed in a 'dropdown' list box .
  • $dropdownthreshold: When you have selected "R" for $dropdowns, this allows you to set a maximum number of options that will display as radio buttons, before converting back to a dropdown list. If you have a question that has a large number of options, displaying them all as radio buttons can look unweildy, and be counter-intuitive to users. Setting this to a maximum of, say 25 (which is the default) means that large lists are easier for the survey participant to use.
  • $repeatheadings: With the array (flexible) type question, often you'll have a lot of answers, which - when displayed on screen - take up more than one page. The repeat-headers setting lets you decide how many answers should be displayed before repeating the header information for the question. A good setting for this is around 15. If you don't want the headings to repeat at all, set this to 0 (which is the default).
  • $minrepeatheadings: The minimum number of reaming answers that are required before repeating the headings in array (flexible) questions.
  • $addTitleToLinks: If this option is set to true, then LimeSurvey will add 'title' html element to all links used in menus. This will help screen reader to analyze the menus. Only set this to true if you're using a screen reader because it overlaps with tool tips.
  • $defaulttemplate: This setting specifys the default theme used for the 'public list' of surveys. This setting is overridden in the Global settings dialog) (New in 1.87 ).
  • $defaulthtmleditormode: Sets the default mode for integrated HTML editor. This setting is overridden in the Global settings dialog) (New in 1.87 ). Valid settings are: inline (default), popup and none:
    • inline: Inline replacement of fields by an HTML editor. Slow but convenient and user friendly
    • popup: Adds an icon that runs a popup with and html editor. Faster, but html code is displayed on the form
    • none: No html editor

Language & Time

  • $defaultlang: This should be set to the default language to be used in your administration scripts, and also the default setting for language in the public surveys. You can change this setting for public surveys on a survey-by-survey basis from the admin scripts. This setting is overridden in the Global settings dialog) (New in 1.87 ).
  • $timeadjust: If your web server is in a different time zone to the location where your surveys will be based, put the difference between your server and your home time zone here. For example, I live in Australia but use a US web server. The web server is 14 hours behind my local time zone. So my setting here is "14". In other words, it adds 14 hours to the web servers time. This setting is particularly important when surveys timestamp the responses. This setting is overridden in the Global settings dialog) (New in 1.87 ).
  • $modrewrite: (Obsolete since 2.0) If set to 1, it activates the fancy URL feature (Example: http://survey.example.com/123456/lang-fr/tk-sdlfkjozeiru instead of http://survey.example.com/index.php?sid=123456⟨=fr&token;=sdlfkjozeiru). Before you activate this, you must rename "htaccess.txt" file to ".htaccess". You need to run an Apache web server with correctly installed mod_rewrite module.

Survey Behavior

  • $allowmandbackwards: A setting of 1 for this variable will allow survey participants to move to a previous question even if they haven't answered a mandatory question. If it is set on 0, then participants will have to answer that question even to move to a previous question.
  • $deletenonvalues: Use this feature with caution.  By default (a value of 1), irrelevant questions are NULLed in the database.  This ensures that the data in your database is internally consistent.  However, there are rare cases where you might want to hold onto irrelevant values, in which case you can set the value to 0.  Say you ask the person his gender, and he accidentally says 'female' and then answers some female-specific questions (questions that are conditioned on being female, so are only relevant for women).  Then, he realizes his mistake, backs up, sets the gender to 'male', and continues with the survey.  Now, the female-specific questions are irrelevant.  If $deletenonvalues==1, those irrelevant values will be cleared (NULLed) in the database.  If $deletenonvalues==0, his erroneous answers will not be deleted, so they will still be present in the database when you analyze it.
  • $shownoanswer: When a question of a radio button/select type that contains editable answers (ie: List, Array questions) is not mandatory and $shownoanswer is set to 1, an additional entry is shown for "N/A" - so that participants may choose to not answer the question. Some people prefer this not to be available. Set this to 0 to turn this off. This setting is overridden in the Global settings dialog) (New in 1.87 ).
  • $printanswershonorsconditions: This setting determines if the printanswers feature will display entries from questions that were hidden by conditions-branching (Default: 1 = hide answers from questions hidden by conditions).
  • $hide_groupdescr_allinone: (New in 1.85RC3 ) This setting is relevant for all-in-one surveys using conditions . When this is set to true the group name and description is hidden if all questions in the group are hidden. (Default: true (hide group name and description when all conditions in the group are hidden by conditions))
  • $showpopups:  Show popup messages if mandatory or conditional questions have not been answered correctly. 1=Show popup message (default), 0=Show message on page instead, -1=Do not show the message at all (in this case, users will still see the question-specific tips indicating which questions must be answered).

Razvoj

  • $debug: s to možnostjo nastavite prikaz sporočil o PHP napakah na E_ALL. To pomeni, da bo prikazano vsako manjše sporočilo, opozorilo ali napaka. Ta možnost naj bo nastavljena na 1 le, če želite testirati aplikacijo in odkriti morebitne napake. Če ste razvijalec, jo nastavite na 2. Ne nastavljajte je na 1 ali 2 v načinu uporabe, ker lahko povzroči napake v povezovanjih. (Privzeto: 0)

Nastavitve elektronske pošte

Note: All these settings in this section are overridden in the Global settings dialog (New in 1.87 ).

  • $emailmethod:  This determines how E-mail messages are being sent. The following options are available:
    • mail: use internal PHP mailer
    • sendmail: use sendmail mailer
    • smtp:use SMTP relaying. Use this setting when you are running LimeSurvey on a host that is not your mail server.
  • $emailsmtphost: If you use 'smtp' as $emailmethod then you have to put your SMTP-server here. If you are using Google mail you might have to add the port number like $emailsmtphost = 'smtp.gmail.com:465';
  • $emailsmtpuser: If your SMTP-server needs authentication then set this to your user name, otherwise it must be blank.
  • $emailsmtppassword: If your SMTP-server needs authentication then set this to your password, otherwise it must be blank.
  • $emailsmtpssl: Set this to 'ssl' or 'tls' to use SSL/TLS for SMTP connection
  • $maxemails: When sending invitations or reminders to survey participants, this setting is used to determine how many emails can be sent in one bunch. Different web servers have different email capacities, and if your script takes too long to send a bunch of emails, the script could time out and cause errors. Most web servers can send 100 emails at a time within the default 30 second time limit for a PHP script. If you get script timeout errors when sending large numbers of emails, reduce the number in this setting.  Clicking the 'send email invitation' button on the token control toolbar, (not the button on the right of each token), sends the maxemails number of invitations, then displays a list of the addresses sent to and a warning that "There are more emails pending than could be sent in one batch. Continue sending emails by clicking below. There are ### emails still to be sent." and provides a "continue button" to proceed with the next batch. I.e., the user determines when to send the next batch after each batch gets emailed.  It is not necessary to wait with this screen active.  The admin could log off and come back at a later time to send the next batch of invites.

Statistics and Response Browsing

  • usejpgraph: (Obsolete since 1.8) The JPGraph-library lets you display the results of your survey in the statistics part of LimeSurvey  in bar- and pie charts. If you have a correctly configured jpgraph class set up on your server, you can turn this feature on or off (1=on, 0=off). Please have a look, every version of PHP needs another version of JPGraph! This feature is currently in development, so expect a few weird outcomes.
  • jpgraphdir: (Obsolete since 1.8) The physical disk location of the jpgraph class scripts. This setting is only required if $usejpgraph is equal to 1.
  • jpgraphfont: (Obsolete since 1.8) The font to use with graphs. A failsafe setting would be "FF_FONT1"
  • embedded: (Obsolete since 2.0) If you want to integrate LimeSurvey into another page then you can turn off sending HTML headers by using this setting and point instead to the header method of a custom function. This is a dirty hack but should work for a quick integration.
  • filterout_incomplete_answers: Control the default behaviour of  filtering incomplete answers when browsing or analyzing responses. For a discussion on incomplete Responses see Browsing survey results. Since these records can corrupt the statistics, an option is given to switch this filter on or off in several GUI forms. This parameter config.php is just the default state for the incomplete answer filter. The following options are available:
    • show: Show both complete and incomplete answers
    • filter: Show only complete answers
    • incomplete: Show only incomplete answers
  • strip_query_from_referer_url: This setting determine if the referrer URL saves parameter or not. Default value is "false" (in this case referrer URL saves all parameter). Alternatively this value can be set to "true" and the parameter part of the referrer URL will be removed.
  • showaggregateddata: (New in 1.8 ) When activated there are additional values like arithmetic mean and standard deviation at statistics. Furthermore data is aggregated to get a faster overview e.g. results of scale 1+2 and 4+5 are added to have a general ranking like "good" (1/2), "average" (3) and "bad" (4/5). This only affects question types "A" (5 point array) and "5" (5 point choice).
  • PDF Export Settings: (New in 1.85 ) This feature activates PDF export for printable survey and Print Answers. The PDF export is totally experimental. The output is mostly ugly. At this point no support can be given - if you want to help to fix it please get in touch with us.
    • usepdfexport: Set 0 to disable; 1 to enable
    • pdfdefaultfont: Default font for the pdf Export
    • pdffontsize: Fontsize for normal text; Surveytitle is +4; grouptitle is +2
    • notsupportlanguages = array('zh-Hant-TW','zh-Hant-HK','zh-Hans','ja','th');
    • pdforientation: Set L for Landscape or P for portrait format
  • $showsgqacode: (New in 1.91 ) This setting is used at the printable survey feature {IMG(attId="78",height="16",width="16")} and defaults to false. If you set showsgqacode = true; the IDs for each question - and answer if applicable - will be shown; these IDs match the column heading at the Lime_survey_12345 table which holds the answer data for a certain survey. These Ids can be used for a code book for manual database queries.
  • {IMG(attId="79",height="200",width="400")}

LDAP nastavitve

To obsežno poglavje LDAP nastavitve smo prestavili na drugo stran.

Preverjanje pristnosti (avtentikacija)

In LimeSurvey 2.05 authentication will be handled by plugins. Because of this the information below might be outdated. See Plugins for most up to date information.

Dodelitev pristnosti spletnemu strežniku

Sistemski skrbniki bi morda želeli svojim "anketnim skrbnikom" omogočiti preverjanje pristnosti z osrednjim sistemom (AD, openLdap, Radius, ...) raje kot z uporabo interne LimeSurvey-eve baze podatkov. Da to omogočimo na enostaven način, je potrebno nastaviti vaš strežniški program za uporabo tega zunanjega sistema za preverjanje pristnosti in potem nastaviti LimeSurvey da zaupa uporabniškim podatkom, ki jih je pridobil od spletnega strežnika. Da omogočite to funkcionalnost, je potrebno:

  • nastaviti auth_webserver na resnično (true) v datoteki config.php
  • omogočiti avtentikacijo na strani spletnega strežnika

Prosimo ne pozabite da:

  • LimeSurvey bo v tem primeru zaobšel svoj sistem za preverjanje pristnosti (z uporabo uporabniškega imena, ki ga bo pridobil iz izbranega spletnega strežnika za avtentikacijo, brez spraševanja po geslu)
  • na ta način lahko zamenjate zgolj sistem za preverjanje pristnosti uporabnikov/skrbnikov, ki delajo v odzadju LimeSurvey-a in ne tudi anketnega sistema za povabila (vmesnika za anketirance)

Prenos pooblastil ob preverjanju pristnosti brez samodejnega uvažanja uporabnikov

Ne pozabite, da v tem primeru po privzetih nastavitvah prenos pooblastil pri preverjanju pristnosti ne zaobide LimeSurvey-evega sistema za avtentikacijo: to pomeni, da čeprav ni potrebno upravljati gesel v LimeSurvey-ju, je še vedno potrebno določiti uporabnike v LimeSurvey-evi podatkovni zbirki in jim dodeliti ustrezne pravice, da lahko dostopajo do virov anketnega sistema.

Uporabniku je omogočen dostop do LimeSurvey-a če in samo če:

  • je bil odobren s strani spletnega strežnika za preverjanje pristnosti
  • je njegovo uporabniško ime določeno kot uporabnik v LimeSurvey-evi podatkovni zbirki uporabnikov (uporabniku so omogočene pravice, ki jih ima dodeljene uporabnik določen v LimeSurvey-evi podatkovni zbirki uporabnikov).

Prenos pooblastil ob preverjanju pristnosti s samodejnim uvažanjem uporabnikov

Kadar imamo opravka z večjo podatkovno zbirko uporabnikov, je lažje samodejno uvoziti uporabnike v LimeSurvey-evo podatkovno bazo.

  • auth_webserver_autocreate_user: če se nastavi na resnično (true), bo LimeSurvey poskušal samodejno uvoziti uporabnike, ki so potrjeni s strani izbranega spletnega strežnika za preverjanje pristnosti in se še ne nahajajo v njeni podatkovni zbirki uporabnikov
  • auth_webserver_autocreate_profile: seznam predpisanega privzetega opisa, ki se nanaša na uporabnike (vključuje namišljeno ime in priimek, e-pošto, pravice)

Če želite prilagoditi opis (ang. profile) uporabnikov, da se bo ujemal s prijavljenimi uporabniki, boste morali uporabiti enostavno funkcijo, ki se imenuje hook_get_autouserprofile. Iz osrednje podatkovne zbirke uporabniških računov (na primer iz LDAP-a) lahko s to funkcijo pridobite pravo ime in priimek ter e-poštni naslov za posameznega uporabnika. Lahko celo prilagodite njegove pravice na sistemu glede na njegovo skupino v zunanji podatkovni zbirki.

Hook_get_auth_webserver_profile funkcija vzame uporabniško ime kot edini podatek in lahko vrne:

  • napačno (False) ali prazen niz: v tem primeru uporabnik nima pravice dostopa do LimeSurvey-a
  • niz vsebuje vse skupne vnose uporabnikovega opisa, kot je opisano pri $WebserverAuth_autouserprofile
function hook_get_auth_webserver_profile($user_name)
{
     // Retrieve user's data from your database backend (for instance LDAP) here
     ... get $user_name_from_backend
     ... get $user_email_from_backend
     ... get $user_lang_from_backend
     ... from groups defined in your backend set $user_admin_status_frombackend_0_or_1
     return Array(
                     'full_name' => "$user_name_from_backend",
                     'email' => "$user_email_from_backend",
                     'lang' => '$user_lang_from_backend',
                     'htmleditormode' => 'inline',
                     'templatelist' => 'default,basic,MyOrgTemplate',
                     'create_survey' => 1,
                     'create_user' => 0,
                     'delete_user' => 0,
                     'superadmin' => $user_admin_status_frombackend_0_or_1,
                     'configurator' =>0,
                     'manage_template' => 0,
                     'manage_label' => 0);
}

     // If user should be denied access, return an empty array

     // return Array();

Prepisovanje uporabniških imen

V nekaterih primerih imajo uporabniki neko zunanje uporabniško ime, ki je drugačno kot je želeno uporabniško ime v LimeSurvey-u. V takšnih primerih boste morda želeli uporabiti možnost prepisa uporabniškega imena. V LimeSurvey-u se to naredi s pomočjo uporabe parametra auth_webserver_user_map. Za primer si predstavljate, da nimate ustvarjenega uporabniškega imena 'admin' v zunanji podatkovni bazi za preverjanje pristnosti. Da se lahko prijavite v LimeSurvey kot admin, boste morali prepisati zunanje uporabniško ime recimo 'mojeime' z uporabniškim imenom admin v LimeSurvey-u. Ustrezna nastavitev je:

$config['auth_webserver_user_map'] = Array ('myname' => 'admin');

Po uspešnemu preverjanju pristnosti na spletnem strežniku za avtentikacijo z imenom 'mojeime' boste neposredno pooblaščeni za uporabo LimeSurvey-a kot 'admin' uporabnik.

To je očitno varnostno zelo resna grožnja, zato jo uporabljajte s previdnostjo, in prosimo zaščitite vašo datoteko config.php pred pisanjem iz spletnih strežnikov.

Uporaba gesel za enkratno uporabo

 Hint: This features is available starting in version 1.81


Uporabnik lahko kliče LimeSurvey-evo prijavo na povezavi /limesurvey/admin in preskoči uporabniško ime in geslo za enkratno uporabo, ki je bilo pred tem zapisano v tabelo uporabnikov (stolpec one_time_pw) s pomočjo zunanjega programa.

This setting has to be turned on (use_one_time_passwords => true) to enable the usage of one time passwords (default = false). More information can be found at "Manage Users".

Napredno nastavljanje poti

If possible do no touch these settings. Additionally these settings can only be adjusted on config-defaults.php.

  • $homeurl: This should be set to the URL location of your administration scripts. These are the scripts in the /limesurvey/admin folder. This should be set to the WEB URL location - for example "http://www.example.com/limesurvey/html/admin". Don't add a trailing slash to this entry. The default setting in config.php attempts to detect the name of your server automatically using a php variable setting - {$_SERVER['SERVER_NAME']}. In most cases you can leave this and just modify the remainder of this string to match the directory name you have put the LimeSurvey scripts in.
  • $publicurl: This should be set to the URL location of your 'public scripts'. The public scripts are those located in the "limesurvey" folder (or whatever name you gave to the directory that all the other scripts and directories are kept in).
  • $tempurl: This should be set to the URL location of your "/limesurvey/tmp" directory - or a directory which you would like LimeSurvey to use to store temporary files, including uploads. This directory must be set to read & write for your webserver (e.g. chmod 755)
  • $imagefiles: By default you should leave this pointing to the URL location of /limesurvey/admin/images - where the images are installed initially. You may, however, prefer to move these images to another location and if so point this to the URL directory where they are stored.
  • $homedir: This should be set to the physical disk location of your administration scripts - for example "/home/usr/htdocs/limesurvey/admin". Don't add a trailing slash to this entry. The default setting in config.php attempts to detect the default root path of all your documents using the php variable setting - {$_SERVER['DOCUMENT_ROOT']}. In most cases you can leave this and just modify the remainder of this string to match the directory name you have put the LimeSurvey scripts in.
  • $publicdir: This should be set to the physical disk location of your 'public scripts'.
  • $tempdir: This should be set to the physical disk location of your /limesurvey/tmp directory so that the script can read and write files.
  • $fckeditordir: url of the fckeditor script
  • $fckeditexpandtoolbar: defines if the FCKeditor toolbar should be opened by default
  • $pdfexportdir: Directory with the tcpdf.php extensiontcpdf.php
  • $pdffonts: Directory for the TCPDF fonts