corrade-http-templates – Diff between revs 24 and 73
?pathlinks?
Rev 24 | Rev 73 | |||
---|---|---|---|---|
1 | -:[ About ]:- |
1 | -:[ About ]:- |
|
2 | |
2 | |
|
3 | The instant message template will allow any web client to send and receive |
3 | The instant message template will allow any web client to send and receive |
|
4 | messages to and from avatars on a Linden Lab grid to which Corrade [1] |
4 | messages to and from avatars on a Linden Lab grid to which Corrade [1] |
|
5 | connects to. In this case Corrade acts as a relay for both receiving |
5 | connects to. In this case Corrade acts as a relay for both receiving |
|
6 | instant messages on the grid and then displaying the messages online via |
6 | instant messages on the grid and then displaying the messages online via |
|
7 | this template as well as a relay for sending messages by sending an |
7 | this template as well as a relay for sending messages by sending an |
|
8 | instant message for every message sent by this template. |
8 | instant message for every message sent by this template. |
|
9 | |
9 | |
|
10 | -:[ Requirements ]:- |
10 | -:[ Requirements ]:- |
|
11 | |
11 | |
|
12 | * A modern browser: Chome, Opera, Firefox, Safari... |
12 | * A modern browser: Chome, Opera, Firefox, Safari... |
|
13 | * A webserver. |
13 | * A webserver. |
|
14 | * PHP version 5 and beyond. |
14 | * PHP version 5 and beyond. |
|
15 | * the curl extension. |
15 | * the curl extension. |
|
- | 16 | * PHP composer. |
||
16 | |
17 | |
|
17 | -:[ Setup ]:- |
18 | -:[ Setup ]:- |
|
- | 19 | |
||
- | 20 | 1.) Run the following command inside the directory: |
||
- | 21 | |
||
- | 22 | composer require was/utilities:dev-trunk |
||
- | 23 | |
||
18 | |
24 | in order to install all the requirements. |
|
19 | 1.) Rename "config.php.dist" to "config.php" and edit "config.php" |
25 | 1.) Rename "config.php.dist" to "config.php" and edit "config.php" |
|
20 | to reflect your settings in Corrade.ini |
26 | to reflect your Corrade settings. |
|
21 | 2.) Enable the Corrade permissions for your configured group: |
27 | 2.) Enable the Corrade permissions for your configured group: |
|
22 | * talk |
28 | * talk |
|
23 | * notifications |
29 | * notifications |
|
24 | 3.) Enable the notifications for your configured group: |
30 | 3.) Enable the notifications for your configured group: |
|
25 | * message |
31 | * message |
|
26 | 4.) Run the installMessage.php file from a console (you only need to |
32 | 4.) Run the installMessage.php file from a console (you only need to |
|
27 | do this once): |
33 | do this once): |
|
28 | php installMessage.php |
34 | php installMessage.php |
|
29 | 5.) Place the all the files in a directory on your webserver. |
35 | 5.) Place the all the files in a directory on your webserver. |
|
30 | 6.) Navigate to instantMessage.html in your browser and enjoy. |
36 | 6.) Navigate to instantMessage.html in your browser and enjoy. |
|
31 | |
37 | |
|
32 | -:[ References ]:- |
38 | -:[ References ]:- |
|
33 | |
39 | |
|
34 | [1] Corrade - http://grimore.org/secondlife/scripted_agents/corrade |
40 | [1] Corrade - http://grimore.org/secondlife/scripted_agents/corrade |
|
35 | |
41 | |