Beta 1.0

Discussion in 'Announcements' started by DHood, Oct 5, 2011.

  1. DHood Administrator

    Hello everyone,
    We have completely re-written the core for the chat to make it easier to customize. We have started to write the API, and the beta 1.0 release is almost ready. We have simplified the inside of the chat a lot (user list is much different, no commands yet). However, the admin cp will be included in this release. We think you will be happy once you see it, and creating commands will be pretty easy for you developers.

    Here's an example of how to send a message to a specified user id.
    PHP:

    $new_message 
    = new OSPHPChat_Message;
    $new_message->addTo('user'1); // you can send to multiple users by changing 1 to array(1, 2)
    $new_message->Send('Message sent through custom script.');

    See how this change is a lot better?
  2. DHood Administrator

Share This Page