x

Main chapters

  1. Get started
  2. Workspace
  3. Editor
  4. Question types
  5. Share
  6. Results
  7. Configuration
  8. Installation and updates
  9. Profile and personal settings
  10. Account and billing
  11. FAQs
  12. Development
 Actions

Global settings

From LimeSurvey Manual
(Redirected from Settings)

General description

Global settings apply to your whole survey site: its name, the theme of the public survey list, how emails are sent, security, languages, storage and more. To open them, click Global settings (the gear icon) in the left sidebar, or click Configuration in the top bar and then Settings ⇒ Global.

Configuration menu with Global highlighted under Settings

You need the Settings & plugins permission to change global settings. Out of the box, only superadministrators see the Global settings icon in the sidebar (see Home page settings).

The default values of the survey settings (format, theme, presentation, notifications and so on) are not here. They are under Configuration ⇒ Settings ⇒ Global survey. See Default survey settings.

Change global settings

  1. Click Global settings in the sidebar (1).
  2. Open the tab you need (2) and change the settings.
  3. Click Save or Save and close (3). Nothing changes until you save.
Global settings General tab with numbered markers on the sidebar icon, the tabs, Close, Save and close and Save, and Maintenance mode

In the picture: 1 Global settings in the sidebar, 2 the tabs, 3 Close, Save and close and Save, 4 Maintenance mode on the General tab.

Settings and their explanation

Tab What you set there
Overview Nothing. It counts the users, surveys, active surveys, deactivated result tables and participant lists of your site.
General Site name, theme for the public survey list, example question group, administration theme, time zone, API keys, character set, maintenance mode, frontend cache and editor defaults. Also the LimeSurvey branding in surveys.
Email settings Sender address and name for system emails, email method, SMTP server, batch size and sending rate, test email.
Bounce settings The address for bounced emails and how bounces are collected.
Security Survey preview, HTML filtering, embedding in other websites and brute-force protection for logins and survey access.
User administration Whether new administrators get an email, and its subject and text.
Presentation Repeated headings in array questions, and the layout of PDF exports of responses.
Language The default site language and the languages available for surveys.
Interfaces The RemoteControl API.
Storage Calculate the storage your files use, overwrite files with the same name, and the size limit for downloading the database.
Updates The minimum stability of update notifications.Not needed: LimeSurvey Cloud updates your site automatically.

On the Expert plan, superadministrators also see the AI tab. It turns the AI features on or off for the whole site.

Overview

The Overview tab shows general information about your survey site:

  • Users: the number of administrators who log in with a user name and password stored in LimeSurvey (internal database authentication).
  • Surveys: the number of surveys, active and inactive.
  • Active surveys: the number of active surveys.
  • Deactivated result tables: when you deactivate a survey, its responses are kept in a deactivated result table. This is the number of such tables.
  • Active survey participant lists: the number of participant lists of active surveys.
  • Deactivated survey participant lists: the number of participant lists that were kept when a survey was deactivated.
  • Used/free space for file uploads: shown only if a total upload space is set in config.php (iFileUploadTotalSpaceMB).
See Survey participants for more information about participant lists.
Superadministrators also find a Show PHPInfo button that shows the PHP information of your server, for debugging.

General

  • Site name: the name of your survey site. It appears in the survey list and the administration, and the email to new administrators uses it as {SITENAME}.
  • Theme for public survey list and error pages: the theme of the public survey list and of error pages. It is also used when the theme of a survey is missing. It does not set the theme of new surveys: that is Theme in Configuration ⇒ Settings ⇒ Global survey ⇒ General (see Default survey settings). See also Themes and the theme editor.
  • Create example question group and question: whether a new survey gets a first question group with an example question.
  • Administration theme: the theme of the administration. Only superadministrators see this setting. You can add your own administration themes in the folder upload/admintheme.
  • Default time zone: the time zone used to show dates and times in surveys. It is also used for new administrators. Each administrator can set their own time zone in their personal settings.
  • Session lifetime for surveys (seconds) (shown only with database sessions): the time in seconds after which a survey session expires if the participant does nothing. With regular, file-based sessions, the server administrator sets the matching values (session.gc_maxlifetime, session.save_path and so on) in the PHP configuration. The maximum value is 65000 seconds. With database sessions, check that the MySQL setting max_allowed_packet is large enough, because some surveys create more than 2 MB of session data.
  • IP Info DB API Key: connects your site to the IP-Info-DB service, which finds the geographic location of participants from their IP address. You need to register for a key.
  • Google Maps API key: connects your site to Google Maps, for example for map questions.
  • Google Analytics Tracking ID: connects your surveys to Google Analytics. Surveys can override this value. In themes, {GOOGLE_ANALYTICS_API_KEY} inserts the tracking ID and {GOOGLE_ANALYTICS_JAVASCRIPT} the full script that Google Analytics needs.
For details on using Google's APIs with LimeSurvey, see Google API howto.
  • Google Translate API key: the key for the automatic translation in Quick translation. It uses version 2 of the Google Translate API, which Google charges for. Get a key in the Google Cloud console.
  • Character set for file import/export: change it if you have problems with special characters when you import or export files.
  • Maintenance mode: stops participants from taking your surveys, for example during maintenance:
    • Off (default): surveys work normally.
    • Soft lock: participants can finish surveys they have already started, but no new participants can start.
    • Full lock: nobody can take a survey, not even participants in the middle of one.
Set it back to Off when you are done.
  • Clear frontend cache: click Clear now to reset the URLs of the CSS and JavaScript files of your surveys, so that browsers load the newest files. The number in brackets counts how often the cache was cleared. Shown to administrators who may create themes.
  • Default HTML editor mode: the default mode of the HTML editor:
    • Inline (default): the text fields are replaced by an HTML editor. Convenient and user-friendly.
    • Pop-up: an icon next to the field opens the HTML editor in a pop-up window. The field itself shows the HTML code.
    • HTML source: no HTML editor, only the plain HTML source.
  • Question type selector: Full shows a question type selector with a preview, Simple a plain list.
  • Template editor: Full gives an editor with syntax highlighting when you edit themes, Simple a plain text field.
  • Default breadcrumb mode: Short or Long. The long breadcrumb also shows the survey ID, group ID and question ID.
  • Side-menu behaviour: how the survey menu on the left behaves in the classic editor: Adaptive (default, each administrator opens and closes it as they want), Always open or Always closed.
  • JS-Debug mode [Backend] and JS-Debug mode [Frontend]: show JavaScript debug information in the administration or in the surveys. Leave them Off unless you are looking for an error.
  • Allow unstable extension updates: lets you install alpha and beta versions of extensions such as plugins and themes. Only superadministrators see this setting.
  • Show LimeSurvey branding in survey: shows or hides the Made in LimeSurvey button at the bottom of the survey page and the short note at the end of the survey.
By default, LimeSurvey Cloud shows the branding in your surveys: a button at the bottom of the survey page with the text "Made in LimeSurvey" and a message at the end of the survey with the text "Thank you for taking this survey powered by LimeSurvey".
You can switch the branding off on the Expert, Business and Corporate plans. On the Free and Basic plans the setting is shown, but you can't change it. See How do I remove the LimeSurvey branding? and Upgrade your plan.
  Attention : Some of these options also exist in the personal settings of each administrator (see First login and your profile). An administrator who keeps the Default value there gets the value from the global settings. For example, if you set Default HTML editor mode to Pop-up here, every administrator whose personal setting is Default gets the pop-up editor.


Email settings

Your survey site sends invitations, reminders, confirmations, registration emails and notifications by email. The Email settings tab sets how they are sent, for example through your own SMTP server, and the Bounce settings tab where undelivered emails go. Both are described in Email settings.

Security

  • Survey preview only for administration users: On (default) means only logged-in administrators can preview inactive surveys. If you set it to Off, anybody with the survey URL can test the survey without logging in and before it is activated.
  • Filter HTML for XSS: On (default) stops administrators from using dangerous HTML, such as JavaScript, in survey, group, question and label texts. This keeps an administrator from adding a malicious script to raise their permissions. If you want to use JavaScript in your surveys, you need to switch this off (scripts of some video platforms are allowed). The filter can also be enforced in the configuration file; then you can't change it here.
 Hint: Superadministrators never have their HTML filtered. To see the effect of the filter, use a regular administrator account.
  Warning : With XSS filtering on, some parts of ExpressionScript can't be used: see XSS and ExpressionScript.


  • Restrict question script for XSS restricted user: On (default) means administrators whose HTML is filtered can see the script of a question but can't add or change it. If you set it to Off, they can add and change scripts even with XSS filtering on. If XSS filtering is off, this setting isn't used.
  • Group member can only see own group: On (default) means administrators who aren't superadministrators only see other administrators who share at least one user group with them. If you set it to Off, they see all administrators in Manage users.
  • IFrame embedding allowed: whether a browser may show your survey pages inside a <frame>, <iframe> or <object> on another site. Same origin (default) allows it only on pages of the same domain and port, which protects against clickjacking. Allow removes the restriction. You need Allow to embed your surveys with an iframe on a website of another domain. See Embed your survey on a website.
  Attention : To really allow cookies in an iframe, you also need to change config.php. See Allow usage of session and CSRF validation in iFrame.


 Hint: With Same origin, LimeSurvey sends the header X-Frame-Options: SAMEORIGIN. With Allow, it sends no X-Frame-Options header. More information on X-Frame-Options
 Hint: Whether embedding works also depends on the browser and on the settings of the server.
  • Allow survey embedding: Yes turns on survey embedding for your site. Each survey can change this under Publication & access. Default: No.
Your survey site always uses HTTPS. The Force HTTPS setting doesn't exist on LimeSurvey Cloud.
  • Force HTTPS: On forces all connections to use HTTPS, Off doesn't.
  Attention : If your server doesn't support HTTPS properly, you can lock yourself out! Click check this link below the option first. If the link doesn't work and you turn on HTTPS, you won't be able to use LimeSurvey anymore.


 Hint: If you turned on HTTPS by mistake, you can turn it off in application/config/config.php: set ssl_emergency_override to 1.
  • Brute-force protection for administration: limits failed logins to the administration.
    • IP allowlist: IP addresses that are never blocked. Separate them with a comma or a new line.
    • Maximum number of attempts: failed logins allowed before the login is locked. Leave it empty to turn the protection off.
    • Lockout time in seconds (after maximum number of attempts): how long the login stays locked. Leave it empty or set 0 to turn the protection off.
  • Brute-force protection for survey participation: the same three settings for the access code form of surveys.
    • Reset participant attempts: unlocks all participants who were locked out after too many wrong access codes, so the survey is accessible for them again.
  • Allowed hosts (host header injection protection): lists the domain names that your site accepts requests for. Requests for any other host name are rejected. The list is stored in application/config/allowed_hosts.php and can't be changed here.

User administration

  • Send email to new user administrators: if On, a new administrator gets an email with their user name and a link to set their password.
  • Admin creation email subject: the subject of that email. You can use {SITENAME}.
  • Admin creation email template: the text of that email. You can use {SITENAME}, {SITEADMINEMAIL}, {USERNAME}, {FULLNAME}, {LOGINURL} and @@LOGINURL@@.

See Manage users.

Presentation

  • Repeat headings in array questions every X subquestions: array questions with many subquestions can be longer than one screen. This setting repeats the header row after the given number of subquestions. About 25 works well. Set 0 to never repeat the headings.

The other settings of this tab change the PDF that participants can export with their answers at the end of a survey:

  • Font size of PDFs: the font size of normal text (default: 9). Group titles are 2 points larger, the survey title 4 points larger.
  • Width of PDF header logo: the width of the logo in the header of the PDF.
  • PDF header title (if empty, site name will be used): the title in the header of the PDF.
  • PDF header string (if empty, survey name will be used): the text in the header of the PDF.
  • Show survey title in export PDFs: whether the survey title is shown.
  • Show header in answers export PDFs: whether the PDF has a header with the logo, title and text above.
  • Add gray background to questions in PDF: default On.
  • PDF questions in bold: default Off.
  • Borders around questions in PDF: default On.
  • Borders around responses in PDF: default On.
Showing "No answer", "There are X questions in this survey", the question number and code, and the group name and description are survey settings. Set their defaults under Configuration ⇒ Settings ⇒ Global survey ⇒ Presentation. See Default survey settings and Presentation.
The PDF options above only change the PDF with the answers of a participant. The PDF of the questionnaire itself, for printing and filling in on paper, is an experimental function. Its options are on the queXML PDF export page.

Language

  • Default site language: the default language of the administration. It is also the language of the public survey list if no other language is chosen.
  • Available languages: the languages that administrators can use in surveys. Move languages between Visible and Hidden with Add and Remove. Hidden languages can't be added to surveys.

Interfaces

  • RPC interface enabled: turns the RemoteControl API on with JSON-RPC (recommended) or XML-RPC, or off (Off).
  • URL: the address of the API on your survey site. It ends with /index.php/admin/remotecontrol.
  • Publish API on /admin/remotecontrol: if On, a short description of the API functions is shown at that URL. Usually you only need it for debugging.
  • Set Access-Control-Allow-Origin header: if On (default), the API sends the header Access-Control-Allow-Origin: *, so web applications in a browser on other domains can use it (CORS). Turn it off if only server-side scripts or pages on the same domain use the API.You can also set the default in config.php with $config['add_access_control_header'] = 0;.
Note: The RemoteControl API is mainly used by developers to access LimeSurvey from other applications, in any programming language. See RemoteControl 2 API or ask in the LimeSurvey forums.

Storage

The Storage tab helps you manage the storage of your files and the database download.

  • Calculate storage: recalculates the storage of all files in the upload folders. With many files this can take some time. Afterwards an overview shows the total storage and the storage of surveys, themes and label sets, and the storage of each survey, with Delete survey files to remove the files of a survey.
  • Overwrite files with the same name when uploaded, moved or copied through the editor/file-manager?: if On, a file with the same name is overwritten. Default: Off, so that nothing is lost by accident.
  • Set limit in megabytes for direct download of the database: the largest database that can be downloaded directly under Configuration ⇒ Tools ⇒ Database backup (see Backup entire database). The recommended value is 256 MB. A higher value can slow down your site.

On LimeSurvey Cloud, Calculate storage also updates the storage usage of your plan within a few seconds. Your plan sets how much storage you have. See Check and free up your storage. On the Free, Basic, Expert and Business plans, the tab also offers a dedicated server: click Show options to see the plans.

These settings help you manage your storage, avoid duplicate files and keep database downloads fast.

Updates

  • Minimum stability for update notifications: which updates you are told about: Alpha, Beta, Release Candidate (default) or Stable. Alpha shows all updates, Stable only stable releases. See ComfortUpdate.

Updates

LimeSurvey Cloud updates your survey site automatically, so you don't need the Updates tab.

AI

  • Enable AI for this application: turns the AI features on or off for the whole site. The AI features are in beta. Only superadministrators on the Expert plan see this tab.

FAQ

How do I stop all surveys at once, for example during maintenance?

On the General tab, set Maintenance mode to Soft lock or Full lock and click Save. Set it back to Off afterwards.

I changed the theme on the General tab, but my surveys still look the same. Why?

Theme for public survey list and error pages doesn't change the theme of surveys. A survey uses its own theme, or the one of its survey group, or the default from Configuration ⇒ Settings ⇒ Global survey. See Default survey settings and General settings.

Where do I set my own language and editor preferences?

Those are personal settings. Click your user name at the top right. See First login and your profile.

What is the difference between Global settings and Global survey?

Global settings are about the whole site: emails, security, languages, storage. Global survey holds the default values of the survey settings. See Default survey settings.

See also