corrade-http-templates – Blame information for rev 73
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
24 | vero | 1 | -:[ About ]:- |
2 | |||
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] |
||
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 |
||
7 | this template as well as a relay for sending messages by sending an |
||
8 | instant message for every message sent by this template. |
||
9 | |||
10 | -:[ Requirements ]:- |
||
11 | |||
12 | * A modern browser: Chome, Opera, Firefox, Safari... |
||
13 | * A webserver. |
||
14 | * PHP version 5 and beyond. |
||
15 | * the curl extension. |
||
73 | office | 16 | * PHP composer. |
24 | vero | 17 | |
18 | -:[ Setup ]:- |
||
19 | |||
73 | office | 20 | 1.) Run the following command inside the directory: |
21 | |||
22 | composer require was/utilities:dev-trunk |
||
23 | |||
24 | in order to install all the requirements. |
||
24 | vero | 25 | 1.) Rename "config.php.dist" to "config.php" and edit "config.php" |
73 | office | 26 | to reflect your Corrade settings. |
24 | vero | 27 | 2.) Enable the Corrade permissions for your configured group: |
28 | * talk |
||
29 | * notifications |
||
30 | 3.) Enable the notifications for your configured group: |
||
31 | * message |
||
32 | 4.) Run the installMessage.php file from a console (you only need to |
||
33 | do this once): |
||
34 | php installMessage.php |
||
35 | 5.) Place the all the files in a directory on your webserver. |
||
36 | 6.) Navigate to instantMessage.html in your browser and enjoy. |
||
37 | |||
38 | -:[ References ]:- |
||
39 | |||
40 | [1] Corrade - http://grimore.org/secondlife/scripted_agents/corrade |