About

This template allows you to expose an in-world group chat on a website as well as send message from the website to the in-world group. When performing the latter operation, Corrade acts as a relay for the message.

Requirements

For this template, the group to log chat for must be configured in Corrade.ini to allow group notifications. This can be done by editing Corrade.ini, locating the group you want to enable notifications for and setting config→client→groups→group [configured group]→notifications→group to true.

Download

Communication Overview

Setup

Open the PHP file and change the settings appropriately in the configuration section. After that, run the installGroup.php script on the command-line:

php installGroup.php

and, if all the settings are correct, you should see the message Group chat notification installed!.

Finally, access the HTML file in a browser, and, given a successful set-up, you should see a text box to type a message.

Further Work

The template stores the group chat log to a file - since it is configured to only store the last 10 lines, which should be sufficient for a shout-box / chatterbox. However, it is possible to store larger amounts of chat lines by either increasing the $CHAT_LINES variable in storeGroupMessage.php or by modifying the scripts to use a database.

Index


secondlife/scripted_agents/corrade/projects/external_services/group_chat.txt · Last modified: 2022/11/24 07:45 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.