Find out what the new version changed here
User avatar
Jason
ArrowChat Team
 
Posts: 2032
Joined: 13 Dec 2009, 00:06

by Jason 13 May 2015, 01:36

ArrowChat v1.8.3 Patch Notes
Finally, group permission support for your site!


New Features


  • Group Permissions
    ArrowChat now automatically integrates with the existing group system on your site. Disable ArrowChat, video chat, applications, chat rooms, file uploads, sending private messages, and sending chat room messages for any user group(s). We plan to extend this support in the future, so please let us know what else you'd like to control.
    Image


  • Performance Improvements
    We've reduced the size and number of MySQL reads substantially. In our tests, we saw a reduction in MySQL load by 99.8%. Sites running ArrowChat should be faster than ever.



General


  • Added version selections to the installation process. With this change, we'll be able to update ArrowChat faster and easier when new versions are released.
  • The mobile chat input fields now have placeholder text.
  • PHPfox 4 support added.
  • Elgg 1.10 and 1.11 support added.
  • IPS/IP.Board 4 support added.
  • Removed Facebook integration which has reduced the file size of JavaScript files significantly.



Bug Fixes


  • Fixed a rare issue with content encoding.
  • Fixed the auto close of desktop notifications.
  • Fixed user links in vBulletin 5.
  • Fixed a CSS issue that was causing the chat room lobby to hide more than 10 chat rooms.
  • Fixed an issue with XenForo IP bans and asterisks.
  • Fixed an issue with the mobile chat document title.
  • The SkaDate integration has been fixed.




Upgrade Instructions


Only perform these instructions if upgrading from v1.7.x or v1.8.x. Otherwise, you will need to completely re-install ArrowChat.


  • Step 1: Backup your existing files
    It's very important that you backup your files in case something goes wrong. You'll then have the old files that may help you fix any issues.

  • Step 2: Download and replace all files
    Download the v1.8.3 update from our site and replace all the files on your server. Again, make sure that you backup language and theme files before doing this to make the transition easier. Replacing all the files will not delete any settings or information.

  • Step 3: Run the upgrade folder
    Run the /arrowchat/upgrade/ folder in your browser (ex. http://www.yoursite.com/arrowchat/upgrade/) and follow the on-screen instructions.

  • Step 4: Update your theme
    Make sure to update your theme files as there have been some changes to the CSS.

  • Step 5: Update your integration file
    There have been required changes made to every integration file. It is HIGHLY recommended that you backup the includes/integration.php file before updating it.
    • Go to the includes/functions/integrations/ folder
    • Find the correct file for your site: functions_<your integration>_<your version>.php
    • Rename the file to "integration.php" and put it in your includes folder. Overwrite the old file.
    • Example: includes/functions/integrations/functions_xenforo_v1.php => includes/integration.php
    ArrowChat WILL NOT RUN if you do not follow this step. Custom websites need to customize the group permission functions in the includes/integration.php.

  • Step 6: Update your language (non-English)
    There have been a few additions to the language file and non-English languages will need updating.






Files Changed


Show/Hide Information

arrowchat/bootstrap.php
arrowchat/external.php
arrowchat/admin/system.php
arrowchat/admin/users.php
arrowchat/admin/images/img-no.png
arrowchat/admin/images/img-yes.png
arrowchat/admin/includes/functions/functions.php
arrowchat/admin/layout/pages_header.tpl
arrowchat/admin/layout/pages_users.php
arrowchat/includes/init.php
arrowchat/includes/functions/functions_common.php
arrowchat/includes/functions/functions_php.php
arrowchat/includes/functions/functions_receive.php
arrowchat/includes/functions/integrations/{entire folder}
arrowchat/includes/js/arrowchat_core.dev.js
arrowchat/includes/js/arrowchat_core.js
arrowchat/includes/js/arrowchat_libraries.js
arrowchat/includes/json/receive/receive_chatroom.php
arrowchat/includes/json/receive/receive_chatroom_list.php
arrowchat/includes/json/receive/receive_chatroom_room.php
arrowchat/includes/json/receive/receive_moderation.php
arrowchat/includes/json/receive/receive_report.php
arrowchat/includes/json/send/send_chatroom_create.php
arrowchat/includes/json/send/send_settings.php
arrowchat/install/index.php
arrowchat/install/includes/db_initial_values.php
arrowchat/install/includes/db_initial_values_mssql.php
arrowchat/install/includes/functions_install.php
arrowchat/install/includes/integrations_db_list.php
arrowchat/install/includes/integrations_list.php
arrowchat/install/includes/css/style.css
arrowchat/install/layout/pages_config.php
arrowchat/install/layout/pages_database.php
arrowchat/install/layout/pages_final.php
arrowchat/install/layout/pages_final_confirm.php
arrowchat/install/images/{entire folder}
arrowchat/language/en/en.php
arrowchat/public/mobile/index.php
arrowchat/public/mobile/includes/css/jquery-mobile.css
arrowchat/public/mobile/includes/js/mobile_core.dev.js
arrowchat/public/mobile/includes/js/mobile_core.js
arrowchat/upgrade/index.php


Theme Classes/IDs Changed


Show/Hide Information

.arrowchat_block_menu select
.arrowchat_flood_menu select
.arrowchat_chatroom_message_area textarea
.arrowchat_textarea


Theme Classes/IDs Added


Show/Hide Information

.arrowchat_chatroom_lobby{overflow-x:hidden;overflow-y:auto;height:285px}
User avatar
Jason
ArrowChat Team
 
Posts: 2032
Joined: 13 Dec 2009, 00:06

by Jason 17 May 2015, 02:36

Custom Websites Group Permissions

The new group permissions feature will require more code for custom integrations. There are two new functions called get_group_id and get_all_groups.

Please reference the includes/functions/integrations/functions_standalone_v1.php file for examples of how to setup the functions.


get_group_id
Returns an array of a user ID's groups that they belong to.

Example Array:
Code: Select all



get_all_groups
Returns a multi-dimensional array of all the groups and their names in your system.

Example Array:
Code: Select all


Please ask if you have any questions.