Actions

Configurações globais

From LimeSurvey Manual

Revision as of 15:19, 30 January 2017 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

Descrição geral

If you click on Configuration and then Global settings in the main toolbar you will get to the Global settings.

The Global settings dialog is only available to administration users with the right Settings & Plugins. It can be used to adjust certain settings of LimeSurvey in a global context. In versions earlier to 1.87 these Optional settings were only available when editing config.php/config-defaults.php. Starting with 1.87 the values in config.php/config-defaults.php serve merely as a default value. Once you enter the Global settings dialog and saved once then the values will be overruled by the settings in the Global settings.

Configurações e suas explicações

Overview & Update

  • System overview: This is pretty much self explaining. Here you can get a short insight on the number of surveys and other statistics in your LimeSurvey installation. For debug purposes you can also find a button to show your PHP Info.
  • Updates: For automatic Updates Please use the ComfortUpdate feature.

General

  • Site name: Give your survey site a name. This name will appear in the survey list overview and in the administration header.
  • Default template: This setting specifies the default design template used for the 'public list' of surveys and for new surveys or surveys using a non-existing template.
  • Administration template: This setting specifies the default design template used for the LimeSurvey administration.
  • Default HTML editor mode: Sets the default mode for integrated HTML editor. 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 opens a popup window with the HTML editor. Faster, but HTML code is displayed on the form.
    • HTML source: No HTML editor, just the plain html source
  • Question type selector: Choose 'Full selector' to get a question type selector with preview and 'Simple' to get a plain select box.
  • Template editor:: Choose 'Full template editor' to get a enhanced editor (with syntax-highlighting) when editing survey templates and 'Simple template editor' to get a plain editor field
  • Time difference (in hours): 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.
  • Session lifetime: [only available with database sessions] Defines the time in seconds after which a survey session expires (provided there is no action from the participant). When using regular, file-based sessions, it is up to the system administrator to define the right values for "session.gc_maxlifetime", "session.save_path", etc. in the PHP configuration because when setting this locally via the application, not only the webserver settings but also similar settings by other applications may overwrite the setting for file-based sessions. The maximum value on this is 65000 (seconds). Please use a reasonable value. When using database sessions, make sure then MySQL setting max_allowed_packet is set large enough, some surveys generate over 2 MB of session data.
  • IP Info DB API Key: Allows integration with the IP-Info-DB service that let's you determine the geographic location of survey takers based on their IP. To have a key, you need to register for the API.
  • Google Maps API Key: Allows for integration with Google Maps.
  • Google Analytics Tracking ID: Allows for integration with Google Analytics. Surveys can over-ride this  site-level value.  The tracking ID can be inserted into templates using {GOOGLE_ANALYTICS_API_KEY}.  The full JavaScript that Google Analytics expects (including the key) can be included in templates via {GOOGLE_ANALYTICS_JAVASCRIPT}.
  • Google API howto:
  1. Register/login on Google Analytics (GA): www.google.com/analytics/
  2. Create a tracking ID (the site should not point to the survey, but to the part before 'index.php?') The tracking ID should be UA-xxxxx.
  3. Go to your survey's global settings in LimeSurvey.
  4. Put the tracking ID into the appropriate field (Google Analytics tracking ID). It's probably the best to set GA to track all pages as you can have more info.
  5. You don't need to do anything in shipped templates, as the {GOOGLE_ANALYTICS_JAVASCRIPT} part is already there.
  6. Activate the survey.
  7. Do the survey.
  8. Go to the GA panel main site (select the appropriate account in the left-hand upper corner if you have more than one). You should see some graphs with the statistics. Beware of the dates in the upper right corner.
  • Google Translate API Key:  As of version 1.92, the Auto Translate feature is now using the new version 2 of  Google Translate's API.  Google now charges for this service.  In order for the Auto Translate feature to work, you get an API key from this site, and enter the key in this field.  Please note that this is currently a global feature, so any installation that has an assigned Translate API key will all charge translations to the same account.
  • Character set for file import/export: You can specify the character set most suiting you and your system, if you experience problems with exporting/importing.
  • Side-menu behaviour: How the side-menu should behave while editing surveys.

Configurações de email

  • Email padrão do admin do site=: Isso o endereço de email padrão usado para o sistema de mensagens e opções de contato.
  • Nome do administrador: O nome real do administrador do site.
  • Método do email: Isso determina como as mensagens de email são enviadas. As seguintes opções estão disponíveis:
    • PHP: usa o remetente interno do PHP
    • Sendmail: usa o remetente sendmail
    • SMTP:usa o SMTP para a transmissão. Use essa configuração quando você estiver executando LimeSurvey em uma hospedagem que não é o seu servidor de email.
      • Tenha certeza que você está usando seu email SMTP configurado (Configurações globais -> Configurações de email) em configurações de pesquisa (Nesse momento você cria uma pesquisa ou depois em Editar configurações de pesquisa -> Geral) se você usa SMTP, caso contrário haverá a chance de que o seguinte erro seja exibido: SMTP -> ERRO: RCPT não aceito do servidor: 553 5.7.1: Endereço de envio rejeitado: usuário não é proprietário.
    • Qmail:Defina essa se você está executando o remetente Qmail
  • Hospedagem SMTP: Se você usar 'SMTP ' como método de email então você terá que colocar seu servidor SMTP aqui. Se você usar uma parte diferente da porta 25 (padrão para SMTP) então você terá que adicionar o número da porta separada por uma coluna (exemplo: 'smtp.gmail.com:465')
  • Nome de usuário SMTP: Se o seu servidor SMTP necessitar de autenticação então defina o seu nome de usuário, caso contrário deverá ficar em branco.
  • Senha SMTP: Se o seu servidor SMTP necessitar de autenticação então defina a sua senha, caso contrário deverá ficar em branco.
  • SMTP SSL/TLS: Defina para 'SSL' ou 'TLS' para usar SSL/TLS para sua conexão SMTP
  • Modo debug SMTP: Se você trocar no envio de convites ou lembretes um log detalhado da conexão e uma mensagem de erro será dada (se um erro ocorrer). Isso pode ser uma informação valiosa por que uma transmissão SMTP não funciona. Usualmente você quer isso esteja desligado.
  • Tamanho do lote de emails: Quando enviar convites ou lembretes para os participantes, essa configuração é usada para determinar quantos emails podem ser enviados de uma única vez. Diferente dos servidores web têm capacidades diferentes de email, e se seu script demora muito a enviar um grupo de emails, o script pode expirar e causar erros. A maioria dos servidores web podem mandar 100 emails por vez dentro do tempo limite padrão de 30 segundos para um script PHP. Se você obter um script de erros de tempo limite quando enviar um grande número de emails, reduza o número nessa configuração. Clique no botão 'enviar email de convite' na barra de gerenciamento de códigos de acesso, (não o botão à direita de cada código de acesso), envie o número máximo de emails de convite, então exiba uma lista de endereços enviados e um alerta que "Há mais emails pendentes que podem ser enviados em uma única vez. Continue enviando emails clicando abaixo. Há ### emails pendentes." e provém um "botão continuar" para prosseguir com a próxima remessa. I.e., o usuário determina quando enviar a próxima remessa depois que cada remessa é enviada. Não é necessário esperar com essa tela ativa. O admin pode sair e voltar depois para enviar a próxima remessa de convites.

Configurações maleáveis

  • Configuração padrão de email: Isso é o endereço de email para quais os emails serão enviados.
  • Tipo do servidor: Se definido para 'Desligado' nenhuma função de processamento estará disponível. Defina para POP ou IMAP para checar contas relacionadas.
  • Nome do servidor & porta: Nome do servidor e (se necessário) a porta separada por uma coluna.
  • Nome de usuário: O nome do usuário para a conta POP/IMAP
  • Senha: A senha para a conta POP/IMAP
  • Tipo de criptografia: Se criptografia é usada por favor defina a correta aqui (SSL or TLS)

Security

  • Survey preview only for administration users: By default, preview of inactive survey is restricted to authenticated users only. If you set this to 'No' any person can test your survey using the survey URL - without logging in to the administration and without having to activate the survey first.
  • Filter HTML for XSS: By default your survey manager will not be authorized to use dangerous HTML tags in their survey/group/question/labels texts (for instance JavaScript code). This is intended to prevent a survey operator to add malicious script in order to have a true admin raise his permissions on the system. If you want to use any script objects like Javascript scripts of Flash applets in your surveys you will need to switch this off (Specific script for video hoster can be used). The XSS filtering is always disabled for the superadministrator. In order to see the effects of XSS filtering, it is advised to use a regular user account.
      With XSS enable, some expression manager system can not be used : see XSS and Expression Manager


  • Group member can only see own group: By default non-admin users defined in the LimeSurvey management interface will only be able to see other users if they belong to at least one group this user belongs to. If you set this to 'No' they can see all users (for example in Survey security settings )
  • Force HTTPS: By default this is set to "Don't force on or off". Switch the setting to "on" to force the connection to use HTTPS.
      Attention : If your server doesn't support HTTPS properly, you can lock yourself from the system! Therefore test the "check if this link works" link first.If the link does not work and you turn on HTTPS, LimeSurvey will break and you won't be able to access it.
 Hint: If you activate https by error, you can deactivate it in application/config/config.php file using ssl_emergency_override to 1.


Apresentação

  • Mostrar opção 'sem resposta' para questões não obrigatórias: Quando uma questão de botão rádio/selecionar tipo contém respostas editáveis (i.e.: Lista & questões de matriz) não é obrigatória e isso é definido para 'Sim' (padrão), uma entrada adicional 'Sem resposta' é mostrada para cada subquestão - então os participantes podem escolher não responder a questão. Algumas pessoas preferem que isso não esteja disponível. Defina isso para 'Não' para desligar.
  • Repetindo posições em questões de matriz a cada X subquestões: Com a questão do tipo matriz, frequentemente você terá um monte de subquestões que - quando exibidas na tela - ocupam mais que uma página. A configuração repetir posições permite você decidir quantas respostas deverão ser exibidas antes de repetir a informação do cabeçalho. Uma boa configuração para isso é por volta de 25. Se você não quer a repetição do cabeçalho, defina para 0.
  • Mostrar "Há X questões nessa pesquisa":
  • Mostrar nome do grupo de questões e/ou decrição:
  • Mostrar número da questão e/ou código da questão:

Linguagem

  • Linguagem padrão: Essa é a linguagem padrão para ser usada na sua administração, e também a linguagem padrão para a lista pública de pesquisa se nenhuma é dada.
  • Linguagens disponíveis: Se você não quer todas as linguagens estejam disponíveis na administração na caixa de seleção de linguagens você pode definir apenas a linguagem que deverá estar disponível.

Interfaces

  • Interface RPC ativa: Usando essa característica você pode ativar/desativar a interface API do LimeSurvey RemoteControl2, sem usar nem o JSON-RPC (recommended) ou XML-RPC.
  • Publish API on /admin/remotecontrol: If you activate this option then under the specified URL a short description of the API functions will be available. Usually you should not need to activate it and should only be activated for debug purposes in general.