-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathconfig.php
144 lines (130 loc) · 4.25 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?php
// CONTACT INFO FOR IMPRINT
// if you want to use this tool you must complete all contact fields
// ----------------------------------------------------------------------------
$contact = array(
'name' => '', // Hans Gurke
'street' => '', // Landstr. 12
'city' => '', // 12345 Ort
'mail' => '' // hans.gurke@domain.com
);
// BASICS CONFIG
// ----------------------------------------------------------------------------
// Obligatory config values
// please complete all - otherwise the tool won't work properly
$config = array(
// default language (en | de)
'language' => 'en',
// Google Maps API key for background map - how to get one: http://goo.gl/g7zFq
'mapsApiKey' => '',
// local coords for background map and links (51.573816,11.117992)
'mapsCoords' => '',
// mail address of moderator / mailing list - for notifications about new users
'mail_mods' => '',
// from mail adress of info mail to user - to avoid SPAM rating
'mail_noreply' => '',
);
// User data storage
// please replace "XXXX" of both fields with your values
$gdoc = array(
'sheet' => 'https://docs.google.com/spreadsheet/ccc?key=XXXX', // Google Docs Spreadsheet
'form' => 'https://docs.google.com/forms/d/XXXX/formResponse' // Google Docs Spreadsheet Webform
);
// User data storage for Invites
// please replace XXXX of both fields with your values
$gdoc_invites = array(
'sheet' => 'https://docs.google.com/spreadsheet/ccc?key=XXXX', // Google Docs Spreadsheet
'form' => 'https://docs.google.com/forms/d/XXXX/formResponse' // Google Docs Spreadsheet Webform
);
// Optional config values
// empty fields will be hidden / not included.
$config_opt = array(
'analyticsKey' => '', // Google Analytics property: UA-123456-12
);
// LOCAL WORDING/INFOS
// ----------------------------------------------------------------------------
// localize headlines/contents
$local = array(
'region1_de' => '[Stadt]', // München
'region2_de' => '[Städtische]', // Münchner
'region1_en' => '[City]', // Munich
'region2_en' => '[City]' // Munich
);
// local channels (nested array for each channel)
// default = community, chat, group - more must be added to spreadsheet aswell (check source code of 'live form' for IDs)
// also add those IDs in inc/gdoc.php:19 ...
$channels = array(
array(
// machine name
'form_id' => 'community',
// visible name
'name' => 'Google+ Community',
// basic URL
'url' => '',
// URL for registration
'url2' => ''
),
array(
'form_id' => 'chat',
'name' => 'Group Chat',
'url' => '',
'url2' => ''
),
array(
'form_id' => 'group',
'name' => 'Google Group',
'url' => '',
'url2' => ''
)
);
// CONTENTS/LINKS
// Please add or remove as you like
// ----------------------------------------------------------------------------
// LINKS
$links = array(
'tuts' => array(
array(
'name_de' => 'How not to suck at Ingress',
'name_en' => 'How not to suck at Ingress',
'url' => 'https://docs.google.com/document/d/18wdwC7VU_T_jBmodnUamWFl9LwRmdP38AOJ7Zp58TE0'
),
array(
'name_de' => 'Portals - how do they work?',
'name_en' => 'Portals - how do they work?',
'url' => 'https://docs.google.com/document/d/1ZKt6bvgcsS4Bzve8k36FZNmAYrwt8QrSn-wztNpOkhU'
),
array(
'name_de' => 'Offizielle Support-Seiten',
'name_en' => 'Official support pages',
'url' => 'http://support.google.com/ingress'
)
),
'info' => array(
array(
'name_de' => 'Ingress Intel Map',
'name_en' => 'Ingress Intel Map',
'url' => 'http://www.ingress.com/intel'
),
array(
'name_de' => 'Ingress Field Guide',
'name_en' => 'Ingress Field Guide',
'url' => 'http://www.ingressfieldguide.com'
),
array(
'name_de' => 'Ingress portals app',
'name_en' => 'Ingress portals app',
'url' => 'https://play.google.com/store/apps/details?id=com.ics.ingresscalculator'
),
array(
'name_de' => 'Ingress Statistik',
'name_en' => 'Ingress demographics',
'url' => 'http://simulacrum.cc/2013/01/23/the-demographics-of-ingress/'
),
array(
'name_de' => 'Ingress Global Control Diagramm',
'name_en' => 'Ingress global control chart',
'url' => 'http://guywyant.info/ingress/control/'
)
)
);
?>