Actions

全体設定

From LimeSurvey Manual

Revision as of 13:19, 5 July 2018 by Bravehorse (talk | contribs)

概要

ホームページのツールバーから設定ボタンをクリックし、設定タブにあるグローバル設定をクリックすると、LimeSurveyのグローバル設定ダイアログが表示されます。



グローバル設定ダイアログは、設定とプラグイン権限を持つ管理者だけが使用できます。これは、LimeSurveyの設定をグローバルに調整するために使用します。 グローバル設定ダイアログに入り、必要な設定を保存すると、それ以前に設定されたLimeSurveyの値は無効になります。

設定に関する説明


概要

  • 概要: LimeSurveyに関する全般的な情報を提供します。
    • ユーザー: 内部データベース認証システムを介してLimeSurveyインストールにアクセスできるユーザー数を表示します。
    • アンケート: アンケート(実行中・停止中)の総数を表示します。
    • 実行中のアンケート: ウェブを介してユーザーがアクセスできる実行中のアンケートの総数を表示します。
    • 停止中の結果テーブル: アンケート実行中にいくつかの質問を変更したい場合があります。変更を行うと、それぞれのアンケートに関連する以前のすべての回答は、新しく編集したアンケートから分離されます。以前に収集されたデータは、'停止中の結果テーブル'に格納されます。
    • 稼働アンケート参加者テーブル: 稼働中の(対応する稼働中のアンケートがある)アンケート参加者テーブルの数です。
    • 停止中アンケート参加者テーブル: 停止中のアンケートの参加者テーブルの数を示します。
  • アップデート (Obsolete since 2.06): 自動更新の場合、ComfortUpdate機能を使用してください。それ以降のバージョンでは、Limesurveyメインツールバーの設定ダイアログにある詳細設定タブの下に表示されます。
デバッグの目的で、PHP情報を表示するボタンもあります。

全般

  • サイト名: アンケートサイト名です。この名前は、アンケートリストの概要と管理ヘッダーに表示されます。
  • 既定のテンプレート: この設定では、アンケートの'公開リスト'、新しいアンケート、存在しないテンプレートを使用したアンケートに使用される既定のデザインテンプレートを指定します。パーソナライズされたテンプレートを使用する場合は、LimeSurveyのテンプレートエディターの使用方法をお読みください。
テンプレートは'/limesurvey/templates/'に格納されます。
  • 管理者テーマ: この設定は、LimeSurvey管理に使用される既定のデザインテンプレートを指定します。カスタマイズされたテンプレートを使用するには、'/limesurvey/upload/admintheme/'に追加します。
  • 時間差(時間): ウェブサーバーがアンケートの対象となる場所と異なるタイムゾーンにある場合は、サーバー設置場所とアンケート実施場所のタイムゾーンの差をここに入力します。たとえば、オーストラリアに住んでいて、米国のWebサーバーを持っているとします。ウェブサーバーの設置場所は、アンケート実施場所のタイムゾーンから14時間遅れています。この場合、設定は "+14"です。つまり、ウェブサーバーの時刻に14時間を追加します。この設定は、アンケートの回答のタイムスタンプを取得する場合は特に重要です。
  • セッション生存時間(秒)データベースセッションでのみ使用可能): 参加者の操作がない場合にアンケートセッションが終了するまでの時間を秒単位で定義します。通常のファイルベースのセッションを使用する場合、システム管理者は、PHPの設定で'session.gc_maxlifetime'、'session.save_path'などに適切な値を設定する必要があります。アプリケーションを使用してローカルで編集する場合、ウェブサーバーの設定だけでなく、他のアプリケーションの他の同様の設定によって、ファイルベースのセッションの設定が上書きされる可能性があります。設定の最大値は65000(秒)です。合理的な値を使用することをお勧めします。データベースセッションを使用する場合、アンケートによっては2MB以上のセッションデータが生成されることがあるので、max_allowed_packetというMySQL設定は大きな値にしておきます。
  • IP情報データベースのAPIキー: IP情報データベースサービスとの統合を可能にします。これにより、IPに基づいてアンケート回答者の地理的位置を決定します。キーを使用するには、API に登録する必要があります。
  • Google Maps APIキー: Google Mapsとの統合が可能になります。
  • GoogleアナリティクストラッキングID: Googleアナリティクスとの統合が可能です。アンケートでは、ここで設定するサイトレベルの値を上書きできます。トラッキングIDは、{GOOGLE_ANALYTICS_API_KEY}を使用してテンプレートに挿入できます。Googleアナリティクスが期待する完全なJavaScript(キーを含む)は、{GOOGLE_ANALYTICS_JAVASCRIPT}を介してテンプレートに含めることができます。
LimeSurveyでGoogleのAPIを使用する方法の詳細については、Google API こちらのページを参照してください。
  • Google翻訳APIキー:  自動翻訳機能は、Google翻訳のAPIのバージョン2を使用します。Googleはこのサービスに対して課金します。自動翻訳機能を使用するには、このサイトからAPIキーを取得し、このフィールドにキーを入力します。
  • ファイルインポート/エクスポートの文字コード: エクスポート/インポート機能に問題が発生した場合、あなたとあなたが使用するシステムに最も適した文字セットを指定できます。
  • サイドメニューの動作 (Obsolete since 3.0): アンケートの編集中にサイドメニューがどのように動作するかを設定します。既定値は '変更可'です。つまり、ユーザーがサイドメニューをいつでもどのようにでも変更できます。その他の値は'常に開く'と'常に閉じる'です。
  • 既定のHTMLエディタモード: 統合HTMLエディターの既定のモードを設定します。有効な設定は次のとおりです。
    • インライン(既定値): HTMLエディターによるフィールドのインライン編集が可能です。動作はゆっくりですが、便利で使いやすいものです。
    • ポップアップ : HTMLエディターのポップアップウィンドウを開くアイコンを追加します。より高速ですが、HTMLコードがフォームに表示されます。
    • HTMLソース : HTMLエディターを使用せず、単純なhtmlソースで編集します。
  • 質問タイプセレクタ: 'フル'セレクターを選択すると、プレビュー付きの質問タイプセレクターが表示され、'シンプル'を選択するとプレーンな選択ボックスが表示されます。
  • テンプレートエディタ: 'フルテンプレートエディター'を選択すると、アンケートテンプレートを編集するときに拡張されたエディター(シンタックスハイライト付き)が使われ、'シンプルテンプレートエディター'を選択すると単純なエディターフィールドを使用します。
  注意 : オプションのいくつかは、個人設定タブのユーザーの設定にもあります。LimeSurveyの全体設定からそれぞれのオプションを変更すると、'個人設定'タブにある各オプションのドロップダウンリストの'既定'のオプションが全体設定の値を継承します。たとえば、設定とプラグイン権限を持つユーザーがHTMLエディタモードを'ポップアップ'モードに変更した場合、HTMLエディタモードの'既定値'オプションを個人設定で選択した他のすべてのユーザーもポップアップオプションを使用することになります。


メールアドレス設定

  • 既定のサイト管理者メールアドレス: サイト管理者の既定の電子メールアドレスで、システムメッセージと連絡先オプションに使用されます。
  • 管理者名: サイト管理者の実名
  • メール送信方式: 電子メールの送信方法を定義します。次のオプションを使用できます。
    • PHP (既定値): 内部のPHPメール機能を使用する。
    • Sendmail : sendmailメーラーを使用する。
    • SMTP : SMTPリレーを使用する。メールサーバー以外のホストでLimeSurveyを実行している場合は、この設定を使用します。
      • SMTPを使用している場合、SMTP設定メール(全体設定->メールアドレス設定)を確認してください。次のエラーが表示される可能性があります。'SMTP -> ERROR: RCPT not accepted from server: 553 5.7.1 : Sender address rejected: not owned by user'
    • Qmail : Qmailメーラーを実行している場合に設定します。
  • SMTPホスト名: 電子メール方式として'SMTP'を使用する場合は、SMTPサーバーをここで設定する必要があります。 ポート25(SMTPの標準)以外のポートを使用している場合は、コロンで区切ってポート番号を追加する必要があります(例: 'smtp.gmail.com:465')。
  • SMTPユーザ名: SMTPサーバーが認証を必要とする場合は、ユーザー名を設定します。それ以外の場合は空白にします。
  • SMTPパスワード: SMTPサーバーで認証が必要な場合は、パスワードを設定します。それ以外の場合は空白にします。
  • SMTP暗号 - 3つのオプションがあります。
    • オフ (既定値)
    • SSL
    • TLS
SSL/TLSの詳細は、こちらのリンクを参照してください。
  • SMTPデバッグモード - 3つのオプションがあります。
    • オフ (既定値): SMTPリレーが機能せず、技術的な問題を解決するために詳細情報が必要な場合にのみ有効にします。
    • 発生したエラー : エラーが発生した場合、詳細な接続ログとエラーメッセージが表示されます。
    • いつでも : SMTPリレーの動作に関する重要な情報を提供します。エラーが発生した場合は、さらに詳しい情報が提供されます。
  • メールバッチ処理サイズ: アンケート参加者に招待状またはリマインダを送信するとき、管理者が1回で送信できる電子メールの数を設定します。ウェブサーバーによってメールの容量が異なるため、送信に時間がかかりすぎてメールが届かない場合は、タイムアウトしてエラーが発生する可能性があります。ほとんどのウェブサーバーは、PHPスクリプトについて、既定の30秒の制限時間内に1回で100通の電子メールを送信できます。 大量の電子メールを送信するときにスクリプトタイムアウトエラーが発生した場合は、この設定値を減らしてください。トークンの右側にあるトークンコントロールツールバーにある'案内メールを送付ボタンをクリックすると、'最大メール数'の招待状が送信され、メール送信済のアドレスのリストが表示され、"1つのバッチで送信できるよりも多くの電子メールが保留中です。以下をクリックしてメールを送信します。あとXXX通の送信メールがあります。"という警告が表示され、次のバッチを進めるための"続行ボタン"が表示されます。ユーザーは、一括で電子メールで送信された後、次のバッチをいつ送信するかを決定します。この画面がアクティブな状態で待つ必要はありません。管理者はログオフして後で戻り、次の招待状を送信することができます。

Bounce settings

  • Default site bounce email: This is the email address where bounced emails will be sent to. For faster bounce back processing, the email address box should be limited to bounce back only
  • Server type: If set to 'Off', no bounce processing functions will be available. To activate the bounce processing function at a global level, set this to 'POP' or 'IMAP' - think of whether you wish the bounced emails to be kept on your email server (IMAP) or not (POP) after reading them. For further details on its usage, check the following wiki section
  • Server name & port: Name of the server and (if needed) the port separated by a colon. The port number isn't typically needed unless the email host uses a non-standard port
  • User name: The user name for the POP/IMAP account
  • Password: The password for the POP/IMAP account
  • Encryption type: If encryption is used, please set the right type here (SSL or TLS)

Security

  • Survey preview only for administration users: By default, the preview of inactive surveys is restricted only to authenticated. 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: It is turned 'on' by default, even for super-administrators. They will not be authorized to use dangerous HTML tags in their survey/group/question/labels texts (JavaScript code for instance). The idea behind this is to prevent a survey operator to add a malicious script in order to get his permissions raised on your system. However, 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 scripts for video hosting platforms can be used). In order to see the effects of XSS filtering, it is advised to use a regular user account
  Warning : With XSS enabled, some parts of the 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 only if they belong to at least one common group. If the administrator sets this to 'No', then the users can see all the users defined in the LimeSurvey User Control panel, regardless of the group they belong to
  • IFrame embedding allowed: This option can be used to indicate whether or not a browser should be allowed to render the survey page in a <frame>, <iframe> or <object>. You can use this to avoid clickjacking attacks, by ensuring that your survey is not embedded into other sites. If you set it to 'Allow' (the default value), there is no restriction. Setting this to 'Same origin' will make the content to be loaded only if the survey runs on the same domain and port as the including <frame>, <iframe> or <object>
 Hint: Theoretically, it is working. However, this function might not work when it is enabled because it heavily depends on the used web browser and whether it allows iframes or not.
  • Force HTTPS: This is set by default to "Don't force on/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, click on the "check if this link works" located below the option. 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 mistake, you can deactivate it in application/config/config.php file, changing the value of ssl_emergency_override to 1.


Presentation

  • Show question number and/or question code: What to be shown to the survey participants - the question number and/or the question code, both or none. There is also a fifth option in which this option can be selected by the survey admin. The question code is shown next to each question from the survey
  • Repeating headings in array questions every X sub-questions: If you use array type questions, you'll often have a lot of sub-questions, 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 25. If you don't want the headings to repeat at all, set this to 0
  • Show "There are X questions in this survey": It shows the number of questions the survey contains to the user participants. The number of the questions is shown in the moment in which someone wishes to start the survey.
  • Font size of PDFs: 9 is the default size for normal text. The group title font size is the value introduced in this box plus two, while the font size of the survey's title is the value introduced in this box plus four. In the default case scenario, the PDF uses a font size of 9 for normal text, of 11 for group titles, and of 13 for the title of the survey
  • Width of PDF header logo: the 'dimension' of the PDF header logo. The logo appears only on the PDF file that includes the answers of the survey participants to a survey - a survey participant may wish to export his answers after completing the survey.
  • PDF header title: If it is left empty, the site name will be used. The PDF header title appears only on the PDF file that is the result of the survey participant's wish to export his answers after completing a survey.
  • PDF header string: If empty, the survey name will be used. The PDF header string appears only on the PDF file that is the result of the survey participant's wish to export his answers after completing a survey.
  • Show question group title and/or description: It works in the same manner as the Show question number and/or question code function.
  • Show 'no answer' option for non-mandatory questions: When a radio button/select type question that contains editable answers (i.e.: List & array questions) is not mandatory and the "show 'no answer'" is also enabled (default), an additional entry "No answer" is shown for each sub-question - so that survey respondents may choose not to answer the question. You can select from the global settings one of the following options:
    • Selectable : If the LimeSurvey administrator selects it, a survey administrator can choose whether his/her own survey displays the "no answer" option for non-mandatory questions or not (see the Presentation wiki section for more details)
    • On (default value): If this option is chosen, all non-mandatory questions will contain the "no answer" option - this cannot be changed by the survey administrator because the global settings trump survey settings
    • Off : If off, the non-mandatory questions will not display any "no answer" option - this cannot be changed by the survey administrator because the global settings trump the survey settings
  • Show header in answers export PDFs: Turn it off (default) if you would like to see nothing in the header of the PDF that contains the answers of the respondents. If it is turned on, the following information will be displayed in the header of the PDF that contains the respondents' answers
  • Add gray background to questions in PDF: It is turned 'On' by default. This function refers to export-responses PDFs.
  • PDF questions in bold: It is turned 'Off' by default. This functions refer to export-responses PDFs.
  • Borders around questions in PDF: It is turned "On" by default. This function refers to export-responses PDFs.
  • Borders around responses in PDF: It is turned "On" by default. This function refers to export-responses PDFs.'
All the options from above influence only the parameters of the PDF which contain the answers/responses to a survey/questionnaire. Therefore, the options mentioned above influence only the PDF result of the 'answers export PDF' function.
LimeSurvey also allows questionnaires to be printed and to be completed offline, but the export questionnaire PDF function is an experimental option and the output is far from being perfect. Its parameters can be modified either from the 'Style' from the queXML PDF export page or from the config.php file.

Language

  • Default site language: The default language that is used in your administration panel can be selected via this option. It also gives the default language for the public survey list if none is given
  • Available languages: If you don't want all languages to be available in the 'default site language' box, just remove them from the left box

Interfaces

  • RPC interface enabled: Using this feature you can activate/deactivate the LimeSurvey RemoteControl2 interface API, either using JSON-RPC (recommended) or XML-RPC
  • URL: http://<your_domain>/<your_limesurvey_dir>/index.php/admin/remotecontrol
  • 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.
Note: Please note that the remote control functionality is generally used by developers to access LimeSurvey from other applications (in this way, you are not restricted only to PHP). It is only recommended for advanced users. For more details on its usage, check the following wiki section or join the LimeSurvey forums.