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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
|
---
layout: page
title: FixMyStreet training - administrators
author: dave
---
Training notes for new administrators
=============================
<p class="lead">
These notes may serve as a basis for training people new to the FixMyStreet
platform. They might be helpful if you’re setting up a new site or team.
</p>
<div class="attention-box helpful-hint">
<p>
Basic training notes like these are available for
<br>
<a href="{{ "/training/citizens" | relative_url }}">citizens</a>,
<a href="{{ "/training/staff" | relative_url }}">staff</a>, and
<a href="{{ "/training/admins" | relative_url }}">administrators</a>.
</p>
<p>
Refer to the <a href="{{ "/overview" | relative_url }}">full documentation</a>
for more detailed information!
</p>
</div>
Remember that every FixMyStreet installation is different, and can both
look and behave differently, depending on how it has been
[customised]({{ "/customising/" | relative_url }}).
<!-- magically present as slideshow, slides split on h2 or h3 -->
<a name class="play-as-slideshow"></a>
---
## Admin accounts
* **admin accounts are usually _completely separate_ from staff accounts**
* a _staff user_ logs into the front-end web site
* an _administrator_ normally logs into the back-end
We encourage you to run the admin over an encrypted connection (that is,
over `https`).
## How to log in
You can log into the FixMyStreet admin using the username and password provided.
### Using HTAuth
If your browser asks you to enter your username and password in a browser
dialogue box (that is, it's not part of the website), you're using HTAuth.
With HTAuth, how you logout will depend on your browser. Some browsers
automatically log you out when you quit the browser.
Don't access the admin on a public machine using this mechanism unless you
know how to log out.
## Understanding how the site works
A key thing is that citizen users do not need to know _who_ to send their
report to.
FixMyStreet works this out by using:
* **the precise _location_** (pin on the map) ...combined with...
* **the _category_ of the problem**
These two things determine:
* **which _body_ is responsible, and hence which _contact_ to send the**
**report to**
## Or to look at it the other way round
When a user clicks on the map to report a problem...
* the drop-down menu of _categories_ that the user sees
only contains categories with contacts belonging to bodies
operating in that area
<div class="attention-box info">
<p>
So users cannot send problem reports to a body...
</p>
<ul>
<li>
for a problem that's not within that body's admin boundary
</li>
<li>
with a category of problem that the body isn't responsbile for
</li>
</ul>
</div>
## There might be lots of categories!

## Getting help in the admin
* there are lots of hints in the admin
* click on <span class="admin-help">**?**</span> orange question marks to
see them
## Working with bodies
Click on **Bodies** in the admin (at the top of the admin section)
to list all the bodies in your system.
* **click on each body's name to see and edit the details**

## Configuring bodies and contacts
You can add new bodies in the admin. Click on **Bodies** -- the form for
adding a new body is underneath the list of existing bodies.
The key things you need to provide:
* **the name of the body**
<br>
as it will appear to the public
* **the administrative boundary**
<br>
that this body covers (usually just one, but sometimes many, for example, islands)
* **contact addresses** (usually emails)
<br>
for specific **categories** of problem
## Add a body

### You must specify an area
You must indicate the body's admin boundary because if a problem is
not within the body's area, it won't be reported to it.
<div class="attention-box warning">
<strong>a body with no area will not receive any problem reports</strong>
<br>
this is why you must specify an area
</div>
We can help with admin boundary data, or providing alternatives
(such as a the special area "everywhere").
### Where do "areas" come from?
FixMyStreet uses a separate service called MapIt to serve area data.
This is described in detail in the documentation, and must be configured when
your FixMyStreet site is first set up.
The actual geometric data (polygons describing the boundary of each area) may
come from the OpenStreetMap project, from your own government's official data,
or be custom. Ask us if you need help.
## Adding contacts and categories
You need to add contacts to each body.
<div class="attention-box warning">
<strong>a body with no contacts will not receive any problem reports</strong>
<br>
this is why you must add at least one contact
</div>
* usually contacts are email addresses
* each contact is for a _category_ of problem
* you can have lots of categories even if some or all use the _same_ email address
### Adding a contact

### Confirm your contacts!
When you enter a contact, if you can confirm it's valid, tick the __Confirmed__
checkbox:
* reports are only sent to confirmed contacts
<div class="attention-box warning">
<strong>a body with no confirmed contacts will not receive any problem reports</strong>
<br>
this is why you must confirm the contacts if you know they are correct
</div>
We used this mechanism when we started FixMyStreet in the UK -- we crowdsourced
the contacts from the public, so an admin needed to confirm they were valid
before we could use them.
### Simple example of a body and its area and contacts
If there's a single authority responsible for burst water
pipes and public standpipes in the whole country, and it has one email
address:
* _body:_ National Water Company
* _area:_ the country's border
* _categories & contacts_:
<br>burst water pipe → help@examplewater.com
<br>blocked standpipe → help@examplewater.com
## Alternatives to email
If the body has a back-end system that supports it, FixMyStreet _can_
deliver problem reports directly.
* Open311 -- an open standard for this kind of submission
* admin already supports Open311
* a single body can support more than one kind of "send method" -- some
categories using email addresses, and others direct submission
See the full documentation for details about "back-end integration".
## Deleting a body or a contact
Normally you don't need to do this often.
* to delete a body, edit it and tick the checkbox **Flag as deleted**
* to delete a contact (or category), edit it and tick the checkbox **Deleted**
In both cases, this treats it as deleted, but does not remove it from the database.
This is mainly because existing reports may well depend on the (old)
body or the (old) category.
## Deleting records from the database
* **you cannot delete bodies or categories from the database**
* you can mark them as _deleted_, which behaves in a similar way
If you really need to delete something (a training example body), you
can't do it through the admin. If you're not sure, or you don't have
access to your site's database, ask us for help!
## Administering reports
You can access all the report data from the admin.
For example, as an administrator, you can:
* search for reports on keyword or id
* find all reports submitted by a particular user
* change the report wording as displayed on the site
* see the history of a report
* hide reports
## Finding a report
Click on **Reports** -- there's a search box at the top.
* if you know the report's number (id), search for `id:1234`
<br>
a report's id is shown as the number in its URL:
<br>
`fixmystreet.com/report/1234`
* search by keyword
* find user or body, and scroll
### Searching reports

## What the different timestamps mean
There are four date stamps listed when you edit a report.
You can't change them because they are recorded by the system
but it can be helpful to understand them.
* **Created** -- when the problem report was entered on the website
* **Confirmed** -- when the creator clicked the email confirmation link
<br>
If a report was very late in being sent, check this timestamp: remember that
a report is _never sent until it has been confirmed_
<br>
Also, if a user is logged in when they create a report, it's automatically
confirmed
* **Sent** -- when the report was sent to the body
<br>
normally this is up to 5 minutes after the report was confirmed
* **Last update** -- when the record was last changed in the admin
## Editing reports
Remember, to edit a report, normally you click on **Reports** and then
find the report you want by searching, and then clicking on **Edit**
in list of results.
These are the things you can do when you edit a report:
* change the report's wording
* change the report's state
* hide the whole report
* hide the name of the person who submitted it
Remember to click the **Submit changes** button when you have finished
editing a report.
## Editing the wording of a report
* **edit the report**
* **text is free to edit in a text area**
* we recommend you **always mark text you've changed**
For example, if you remove someone's telephone number, replace it with
`[telephone number redacted]`
...or something similar. It's good to make it clear that:
1. something was removed
2. why you removed it
## Changing a report's state
* **edit the report**
* **select the new state from the drop-down list**
If you want to confirm a report (for example, a user has told you they deleted
their confirmation email before clicking on the link), you can mark an
_unconfirmed_ report as _open_. This simulates them clicking on the
confirmation link themselves.
## Hiding a report
<div class="attention-box info">
Note that staff users can hide reports belonging to the body they represent,
so typically you don't need to do this as an administrator.
</div>
* **edit the report**
* **change the state to _Hidden: hidden_**
(There are other kinds of _Hidden_ state, but you don't normally need them.)
Remember, hiding a report does not prevent it being sent. It just prevents
it being displayed on the website.
## Hiding the name of the report's creator
* **edit the report**
* **tick the checkbox labelled _Anonymous_**
## You can edit updates too
When you edit a report, any updates on that report are listed at the bottom
of the page. You can click **Edit** next to any of those to edit them.
* **you can change similar things in updates as you can reports:**
* change the wording in the update
* change the state the update sets the report to
* hide the name of the person who submitted the update
## When did a report get sent?
You can see this on the public site:

..but it's also shown as the "Sent" field if you look at the report in the admin.
* **the report has not been sent yet** if there's no "Sent to..." sentence
* **the "send reports" job normally runs every 5 minutes**
<br>
so it's normal for a report to not go immediately when it is submitted
## Resending a report
If a report fails to get delivered, you can schedule it to be sent again.
* **to resend a report, edit it and click _Resend report_**
<br>
again, this can take up to five minutes before it's handled
## Managing users
To access the users in the admin, click **Users**. The page only
list _staff users_ by default. To see other users, use the search box
to search across email or name.

## Editing a user

### Change a user's name or email address
* **edit a user by finding them in the list of users and clicking _Edit_**
* (if you click on their email address in the list of search results, you
get a list of all the reports and updates they've made)
* note that changing the user's name here doesn't change the name that
was recorded with each report that they made before
## Creating a new user
The **Add user** form is underneath the search box and the list of staff users
when you click **Users**.
<div class="attention-box info">
Note that it's unusual to make a normal user this way because, if they need
to, any user can make their own account by signing in on the website.
</div>
* make sure the user has access to the email address you enter
<br>
check that you've spelled the email address exactly!
* creating a new user in this way means they will _not_ be emailed
a notification email
* a normal (not staff) user has _"No body"_ as their body
## Make a staff user
* a staff user is simply a user account that's linked to a body
* they have some special powers over problem reports that were
submitted to the body they are linked to
* **edit (or create) the user and choose the right body**
* normal (not staff) users have _"No body"_ as their body
## Flagging reports or users
* **flagging just marks the user or the report for attention**
<br>
so other administrators know to keep an eye on their activity
* it has no other effect
* if you want to ban a user, add them to the abuse list
### Flagged reports and users

## Banning a user: the abuse list
In addition to flagging a user, you can also add them to the
"abuse list" (that's a list of users who have abused their right
to have access to your site).
* **a user who's on the "abuse list" cannot use the site**
* **ban a user by clicking on "BAN EMAIL ADDRESS"**
<br>
when you are **editing a _report_ or _update_** they submitted

## Getting statistics

## Example of statistics

## Other administration tasks
Remember to check the full documentation on
[fixmystreet.org](https://fixmystreet.org).
If you need help, email us or ask for advice on the (public) FixMyStreet
mailing list.
|