-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.sample.php
More file actions
46 lines (36 loc) · 1.37 KB
/
config.sample.php
File metadata and controls
46 lines (36 loc) · 1.37 KB
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
<?php
return [
// Typeform Configuration
'typeform' => [
// Your Typeform API key is found at: https://admin.typeform.com/account
'apiKey' => '',
// This is the ID used in the form's URL:
// https://{{username}}.typeform.com/to/{{form}}
'form' => '',
// The ID of the form's "profile URL" field. Should contain URL's to IP.Board profiles.
'profileUrlField' => '',
// This is the ID number of the last entry we imported. ID's are assigned
// sequentially by Typeform, so they're a reliable way to skip ahead to
// the new stuff. Use 0 to process all entries!
//
// NOTE: This is only used the first time the script is run! After that,
// the ID of the last entry imported is stored in the "ids_processed"
// file created in the script's root.
'latestId' => 0
],
// IP.Board Configuration
// These settings are used to connect to the IP.Board API:
'ipb' => [
// URL of the IP.Board installation (no trailing slash)
'url' => '',
// API key for an XML-RPC user. It needs access to the the postTopic and
// fetchMember methods in the "ipb" module.
'apiKey' => '',
// You can set an API module here in case you wish to use a custom one.
'module' => 'ipb',
// The ID of the forum that the thread should be posted in.
'forumId' => 0,
// The ID of the account that should post the thread.
'userId' => 0
]
];