From ae58cf42242433c786162b53a2724962f4a8380b Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Tue, 25 Sep 2012 20:03:49 -0700 Subject: TOS module. WARNING: migration in GridUser table. --- bin/OpenSim.ini.example | 28 ++++++++++++++++++++++++++++ bin/OpenSimDefaults.ini | 4 ++++ 2 files changed, 32 insertions(+) (limited to 'bin') diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 3ec4bab..a602dcc 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -917,6 +917,34 @@ ;# {InitialTerrain} {} {Initial terrain type} {pinhead-island flat} pinhead-island ; InitialTerrain = "pinhead-island" +[TOSModule] + ;; Terms of Service module. It requires an external web script. Unless you + ;; have that in place, don't enable this module. + + ;# {Enabled} {} {Enable TOS facilities} {true false} false + ; Enabled = false + + ;; Should local users be shown the TOS on first login? + ;# {ShowToLocalUsers} {} {Show TOS to local users} {true false} false + ; ShowToLocalUsers = false + ;; Should foreign users be shown the TOS on first HG login? + ;# {ShowToForeignUsers} {} {Show TOS to foreign users} {true false} true + ; ShowToForeignUsers = true + + ;; Tell the users what this is about + ; Message = "Please read and agree to the Terms of Service" + + ;; How much time do the users have to accept the TOS before they get kicked out? + ;; (in minutes) + ; Timeout = 5 + + ;; This page should have Accept/Decline links somewhere + ;; that affect the GridUsers table. If you don't have such + ;; script in place, don't use the TOSModule + ;# {TOS_URL} {} {The URL for the TOS page} {} + TOS_URL = "http://mygrid.com/tos" + + [Architecture] ;# {Include-Architecture} {} {Choose one of the following architectures} {config-include/Standalone.ini config-include/StandaloneHypergrid.ini config-include/Grid.ini config-include/GridHypergrid.ini config-include/SimianGrid.ini config-include/HyperSimianGrid.ini} config-include/Standalone.ini ;; Uncomment one of the following includes as required. For instance, to create a standalone OpenSim, diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 315ffbe..744187b 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini @@ -1624,6 +1624,10 @@ [Terrain] InitialTerrain = "pinhead-island" +[TOSModule] + ;; Enable TOS facilities + Enabled = false + ;; ;; If you are using a simian grid frontend you can enable ;; this module to upload tile images for the mapping fn -- cgit v1.1