PHP121: PHP Instant Messenger ============================= CHANGE LOG ========== January 31 2009 version 3.1.4 ============================= - Fixed a bug with Drupal integration (admin function was not working) January 23 2009 version 3.1.3 ============================= - Drupal integration - manual updated February 12 2008 version 3.1.2 ============================== Bug Fixes: - Added missing Slashes before Quotes in php121chattext.php code used for css classes. - Removed unneccesary css script close, and php script close snippets in default themes in the files named chattextcss.css . February 5 2008 Version 3.1.1 ============================= - Rare Php121dir exploited code removed. - Chatrooms viewing area, now fully themeable. - Visitor Center vs Supporter release. All new releases will be the same version to allow easier maintainence and keep security fixes up to date. December 24 2007 Version 3.1 ============================ Feature Additions - Tabbed Chatrooms allows only 1 window for all opened chatrooms. - - Switch back and forth from chatroom to chatroom and close rooms instantly. - - An icon is displayed whenever a room has had a new message. - Framed Chatrooms allows resizing of the chatrooms and scales inner elements appropriately. - View Chat logs, All Chatroom Logs saved to Database - - Viewable by Date - - Searchable by Usernames, Content or Room ID - View Room List, Admins can see the Room ID, Usernames in the room, and number of total users in the room. - View User List, Admins can view a complete list of users (50 per page) - Invite Group allows you to Invite all users in any of your Buddy Groups to join the chatroom. - Request Staff Support, in all Staff Groups there is now a link that users can click to simultaniously send an invite to all members in that staff group until atleast 1 Staff Member joins (maximum 20seconds), also the user automatically joins the chatroom with a message asking them to wait up to 60 seconds. - Buddy List Settings option added to disable/enable users from editting their options. - Buddy List Settings option added to disable/enable Chat Logs Saving to the Database. - Buddy List Settings option added to disable/enable Staff Support System. - Buddy List Settings option to Force All Users to Auto-Accept Chatroom Request Invitations. - - (this overrides the users individual settings) Interface Improvements - Tabbed IM Windows are fully themeable. - Default theme no longer shows usernames in Bold on the contact list. - - (This should help mobile devices see the font clearer, and allows longer names in less space.) - Search Box Form Element in the Contact List now properly scales as the window increases in size. - Profiles have an easier, fully standardized CSS layout. - - (Changed Buddy Groups to all use the same CSS Code) - CSS files are now used in themes to make it easier for them to be edited as well as php code also for additional scripting. Efficiency Improvements - Contact List checks for Room Timeouts by one person every 10 seconds, instead of by everyone every 2 seconds. - Tabbed Chat system keeps the user's rooms alive all at once, instead of several connections to the database at different times. Fixed Bugs - "Disconnect then Reconnect to chat" Bug caused by duplicate "Root" names in the XML-Ajax code. Other Changes - Profile Buddies are now Paginated and display 50 per page, except, on profiles only 30 are randomly shown. - Profile Comments are now Paginated and display 50 per page. - My Chatrooms has been removed from the contact list, since the list is viewable inside of the Tabs List. - Added Reconnect To Chatroom button to contact list menu. - Added Timestamp button to chatrooms to enable easier switching. - Added Invite Group feature from inside chatrooms. February 28 2007 Version 3.0 ============================ - Integration of IM Buddy List into PHP121. Changes follow: - Buddy List: - Buddies can be organized in customizable groups you create. - Easy Search system allows users to find their buddies quickly. - Themes can be chosen by the User or Admin. - Away Messages and Appearing Offline Allows users to show their status. - A Powerful Editor allows users to customize their buddy list and profiles easily. - Staff Groups allow you to organize your Staff members and display them to ALL users. - Profiles: - Allow users to personalize their online identity with customizable profiles with editable html. - Themes can be chosen as well as customized with css. - CSS codes allow the user to customize or even create a theme of their own. Javascript is securely blocked. - Profiles can display their Buddy List in the custom groups the user has created. - Avatar Images allow users to personalize their profile with their photo, Avatar is displayed in the Buddy List and Comments. - Comments allow buddies to leave messages to each other at the bottom of each profile. - Buddy Comments is a new 2-way comment system, comments will show up on both profiles inside the buddy list. - Site Administrators have the ability to disable all new modules to create the most professional safe environment for their community. (This Includes disabling the Buddy List, Profiles, User Searching, Avatar Images and more.) July ?? 2006 Version 2.2 ======================== - Instant update when sending messages. No more noticeable delay. A lot of you were requesting this ;) - Now allowing spaces in usernames (phpBB allows this) - Invited users can now rejoin chats. Before they were got the "You are not allowed" message - Chats with more than 2 users will now show all usernames in chat in the contact list - PHPNuke fix - the included block code would only show a green icon beside users if they were in the top 10 in the who's online list. Fixed to show green icons for all users that are online with PHP121. If this affects you, you need to edit the blocks/block-User_Info.php code and replace it with the code in the manual. - phpBB Fix - admins are now coloured red in the user list - phpBB Fix - phpBB session now kept alive by PHP121 so it never times out as long as PHP121 is open - phpBB Fix - PHP121 now uses phpBB language settings. If a PHP121 language doesnt exist when a phpBB language does, English will be used. - phpBB Fix - PHP121 now uses phpBB timezone settings. - Language fix - "Off" in French language file fixed. - All user's contacts lists are updated when admin changes PHP121 System Config - Turned all error reporting off to avoid warnings breaking the PHP121 session headers. - Removed "Current" and "Recent" chat headings. Replaced with "Your Chats". Current chats are shown in normal styled text, while recent chats (there was activity within 2 minutes, but nobody is there now) are shown in italics. - Sometimes the chat would spam the last 20 messages over and over. Modified how php121 gets messages from the database. - HTML and Javascript were stripped out of chats and replaced by NULL. This caused the chat to crash when it tried to show it in the chat window after it was sent. - Minor style problem in User Edit Options and on the new user registration page. Language and Time zone dropdowns were not styled and were browser defaults. - Users now have the option to email the chat transcript to themselves. Can be made automatic in options. - Admins can override the auto email transcript setting to force all users to receive the transcript. This is useful when PHP121 is being used as a support tool by Technical Support departments. - Admins can enable / disable the user's ability to delete their own account - Admins can now create user accounts within the Admin control panel - Admins can now enable / disable user registration ability within Admin control panel. - Increased height of chat window as some browsers were not showing the send message box - Chat window: User's name is red, while other usernames are blue. Easier to differentiate between user's texts. - Chat window: Removed timestamps for text that was sent by user. As that text is displayed using Javascript (local machine), timestamps would never be in sync with the server and cause confusion. - Admin Edit User bug - if your database had plaintext passwords, user's passwords would have been corrupted. Fixed. - Admin menus - Improved usability and efficiency when dealing with multiple users. - new look to the chat window (users listed down right hand side) - now includes a "chat status button" as can be seen on www.php121.com. It shows how many users are currently chatting and provides a link to open the instant messenger. It also includes a link to the PHP121 homepage. Please, if you are thinking about removing that link, don't bother downloading PHP121. It's a free application, just keep the link please. Thanks. - improved handling of chat request code. There should no longer be any "missed" requests, where even if you accepted a chat, it may pop up again asking to accept or deny. This led to creation of many empty chats. It should be pretty much bulletproof, but if you do have problems with requests, please report them at http://forums.php121.com thanks. - The "Updated" time on the contact list now correctly shows the last time it last performed a check for new data (using AJAX) - Who's online list now sorted alphabetically - Fixed a small issue with the invite user list showing some users that are already in the chat (due to a case sensitive match) - Improved timeout detection code - Chat window: Clear Chat button - Chat window: Now uses textarea for text input. Input limit is 1000 characters to prevent server stress. Counter shows remaining characters. June 25 2006 Version 2.1 ======================== - phpBB integration now available - read the manual for more instructions. - Contact list is automatically updated when account options have changed. (before, if you changed your language, the contact list didn't automatically update) May 28 2006 Version 2.0.2 ========================= - Fixed bug in new PHPNuke installations where PHP121 would constantly check for new updates. There was a line missing from the SQL file needed for new PHPNuke PHP121 installations. May 13 2006 Version 2.0.1 ========================= - Fixed bug where the messages table would be filled with incorrect "has left room" messages. May 8 2006 Version 2.0 Final ============================ - Fixed security vulnerbility in session code. Critical update! - PHPNuke: PHP121 now updates the nuke session variable to ensure you still appear online within nuke if you are solely using the messenger. - Timeout check code had a bug that was reporting lots of errors in the PHP error log. Fixed. - French language file fixed - some translations were missing or broken. - Added more languages March 31 2006 Version 2.0 BETA =============================== - AJAX technology to improve performance and efficiency. This means: The contact list only updates on the following conditions (instead of every 5 seconds): - When a user logs in or out - When a chat room is created or removed due to a timeout - When a block is created / removed - During an incoming request / invite The chatroom only updates on the following conditions (instead of every 5 seconds) - When someone joins or leaves the chat room - When a message is posted - Ability to invite other users into an existing chat to have a multi-user chat. - Improved SQL security - When a user (re)joins a existing room, only the last 20 messages will be shown. - Other general efficiency improvements March 1 2006 Version 1.5c ========================= - Fixed German Sie translation file so it now works when selected instead of giving a file not found error. - The instant message window was always focusing on a new message, even if the user had turned it off in user options. This has been fixed. December 29 2005 Version 1.5b ============================= - Admins were unable to edit user levels of users in the edit user screen. This has been fixed. - No longer warns about having to logout after changing password when account management is off. December 28 2005 Version 1.5a ============================= - Headers already sent problem in php121options.php fixed. December 20 2005 Version 1.5 ============================ - Major work done to merge the STANDALONE and PHPNuke releases into one release. Users can now select their integration (none = standalone, or phpnuke) in the php121config.php file. This will enable me to release only one version in future, and saves SO much time! - PHP121's account management services can now be turned off by changing the acctman option in php121config.php. When on, users can register, edit their accounts (including changing password, etc), and delete their accounts. When off, these functions don't appear. This is useful when integrating into other systems, such as PHPNuke. - Code cleaned up a bit. - Renamed a lot of files and directories to have the php121 prefix. - Renamed an admin file to avoid clashes with phpnuke's admin security system. - Made a few screens a bit prettier (ie. to use the PHP121 colours), namely the send IM request screen, cancel request screen, blocked screen, etc. - PHPNuke release 1.4 skipped. PHP121 1.4 standalone users don't need to upgrade to 1.5 as this is mainly for Nuke users to include the features of 1.4. - Manual now available in PDF and HTML versions. November 29 2005 Version 1.4 ============================ - Message window only updates when there is a reason to (ie. new message). Your browser window may still appear to refresh, but it is just checking for new messages. - Message window now beeps when there is a new message. This can be turned off in Options -> Edit Account. - Message window now comes to the front of all other windows when there is a new message. This can be turned off in Options -> Edit Account. - Easier to integrate into existing communities. php121config.php now contains lots of database options, so it can use your existing user database. You need to run alter_existing_usertable.sql before you can change these options! - Added a block user feature. You can now ignore chat requests from people you have blocked previously. - Admins can now ban users from using PHP121. - Made the Chat Request system a lot more stable. Fixed an issue that would appear after a request window was closed rather than cancelled properly. In this case, if the user didn't respond on the first request, and the requesting user tried again later, they would instantly get a "User Did Not Respond" message. - Updated $HTTP_GET_VARS and $HTTP_POST_VARS to $_GET and $_POST respectively as there were compatibility problems with PHP5 for some users. - Users can now select their timezone so to properly display the time on the contact list - Users can now select to display a timestamp on each line of the chat - By popular demand, PHP121 now supports language files. In the language directory, you can place translations of PHP121. - Users can now select the language they want to use, as long as the language file is present in the language directory. - Admins can set the default language for new users. - Admins can set the server timezone. This is important to ensure users see the correct times based on their timezone selection. - User is now removed instantly from the online users list when they logout. October 31 2005 Version 1.3 =========================== - Option added to allow users to require (or not require) the approval of an incoming request. If turned off, a new chat window will just appear when a chat is requested by another user. - Changed the startup positions of some windows so they do not fully cover other PHP121 windows that are already open (e.g. when opening the emoticon window). - Enabled scrollbars on the option and chat windows. October 2 2005 Version 1.2 ========================== - Userlevels - User (blue); Admin (green); Owner (red). Owner can give users admin or owner priviledges, but admins can only edit or delete user accounts (except admin accounts). - Admin menu - edit/delete users; add/delete emoticon paks - Emoticon support. PHPBB smilie PAKs can be added via the admin menu. - The title can now be changed on every screen by editing the php121config.php file - Chat History scrollbars fixed. - Disconnect timeout from IM changed from 20 secs to 60 secs. This should remove some incorrect "**** has left ... **** has rejoined" messages in chats. - GPL September 11 2005 Version 1.1c ============================== - 1.1b still had the header bug in 2 files. This should be finally resolved. - Internet Explorer users were seeing Javascript errors stating "Not Implemented". This has been fixed. September 10 2005 Version 1.1b ============================== - 1.1a had the incorrect sql file. Correct one now included. September 9 2005 Version 1.1a ============================= - Bug fix - "Cannot modify header information - headers already sent" fixed. - Bug fix - has joined / has left spam after user leaves room fixed. September 7 2005 Version 1.1 ============================ First Release (1.1 to keep version alongside the original phpnuke release)