Three-bar menu toggle icon

MyConversations: changelog

The latest features include PHP 8 compatibility and various bug fixes

Version 1.2.7 (4 August 2023)

  • Resolves even more PHP 8 warnings and any minor bugs they indicated.
  • Bugfix: The collapse/expand functionality in the UserCP left sidebar menu was broken.
  • Bugfix: Messages hard-deleted by a member were showing up in his/her search results.
  • Bugfix: `{$cnv_ucp_options}` was not being removed from the `usercp_options` template on plugin deactivation.
  • Bugfix: The incorrect redirect function was called when clicking "No" at the uninstallation warning.
  • Bugfix: When participants were removed from a group, they were not removed from group conversations in which their rights had been customised.
  • Bugfix: The database table prefix was hard-coded to the default `mybb_` in some generated SQL.
  • Adds admin logging of the migration procedures.
  • Adds better redirection from "Send PM" links: now, they link to the conversation-starting form with the member in question as a pre-filled recipient.
  • Improves the presentation of member profile contact details: sometimes, they weren't shown when they ought to have been, and, even when MyConversations was active, the link to send a PM was shown.
  • Adds better handling of absolute paths when removing attachment files and directories.
  • Fixes some hook parameters.
  • Reduces the length of the key on the `attachname` column of the `attachments` table for broader MySQL/MariaDB compatibility.
  • Improves and hardens error-handling around folder IDs and names.
  • Makes various other minor improvements and resolves various other minor issues/bugs.

Version 1.2.5 (30 January 2023)

  • A bunch more warnings under PHP 8 have been resolved, along with the minor bugs that some of them revealed. This improves the plugin's compatibility with PHP 8.
  • Improves the responsiveness (mobile-friendliness) of the plugin's pages.
  • Provides better global access to unread counts and related status messages for use in templates, via $mybb->user.
  • Bugfix: A database error was occurring in the PMs->conversations migration due to the failure to supply an entry for the likedby column of the cnv_messages table, which requires a value.
  • Bugfix: Auto-linking of bare URLs in messages was partly broken due to MyConversations mistakenly setting the parser option to allow HTML (which breaks auto-linking in MyBB core).

Version 1.2.4 (13 January 2022)

  • Adds Big Board support to the Find Orphaned Attachments admin tool.
  • Adds admin permissions for running the migration tools.

Version 1.2.3 (12 December 2021)

  • A bunch of warnings under PHP 8 were resolved. I've tried to be thorough but might have missed some. To the extent that my thoroughness has succeeded, this plugin is now compatible with PHP 8.
  • Bugfixes: There were a couple of issues with exporting conversations, one being that the Date Limitation option wasn't effective (all messages were always exported) and the other being that MyBBEngine was listed as a participant/sender where it shouldn't have been.
  • Bugfix: The prefix "Re: " was always shown for messages in message folders, even for the first message when it ought not to have been.
  • Bugfix: Pagination was broken on group conversation listing pages.
  • Bugfix: An SQL query was selecting non-aggregate columns in a "group by" query, which caused a database error on certain database settings.
  • Bugfix: MyBB Engine messages were not being shown.
  • Bugfix: Sometimes, some messages were mistakenly showing as unread in search results.
  • Bugfix: Attachments weren't being uploaded when the Quick Start button was clicked.
  • Bugfix: There was an SQL error in a query in the function to delete a conversation.
  • The list of group participants in the conversation compose form now auto-updates when a group is selected.
  • Allow non-group-owners to add extra participants to new group conversations even when they do not have the group "add" right.
  • Improved spammer purging.
  • Miscellaneous minor fixes and improvements.

Version 1.2.2 (22 August 2021)

  • Adds support for the new attachment user interface of MyBB 1.8.27.
  • Bugfix: SQL error on searching solely by participant (from the quick-search field of the main conversation listing).
  • Bugfix: Two settings on registration were by default unchecked when they ought to have been checked: "Allow other members to add me to conversations and conversation groups, including by starting new ones with me." and "Notify me by email when somebody starts a conversation with me."
  • Bugfix: Zero was not being interpreted as unlimited for the per-usergroup setting "Maximum Participants Per Conversation/Group" for a member who belonged to other usergroups with a non-zero value for the same setting.

Version 1.2.1 (1 July 2021)

  • Security fix: The potential for an SQL injection attack was removed.
  • Bugfix: There was a further potential for error (on top of the fixes in the previous release) when `sql_mode` included STRICT_TRANS_TABLES.
  • Bugfix: Ensure that deleted messages stay deleted when converting from core PMs to conversations.
  • Bugfix: Ignore deleted messages when converting from conversations to core PMs.
  • Bugfix: The header notification message listed conversation author instead of last poster.
  • Bugfix: Non-search-result conversation listings were ordered incorrectly.
  • Various miscellaneous other fixes and minor code quality improvements.

Version 1.2.0 (27 April 2021)

  • Adds a conversation search feature.
    • Facilitates searching all conversation subjects and/or message bodies in conversations in which the member is involved.
    • Provides for results as conversations, messages, or both.
    • Includes various additional criteria such as conversation group, message folder, author, and participants.
    • Includes "quick search" boxes at the top of the various conversation/message listing pages.
  • Adds a "Mark all read" feature.
  • Adds a new "Number of Conversations With Unread Messages" column to the group listing.
  • Conversations with unread messages in conversation group listings are now bolded with a preceding green go-to-first-unread arrow.
  • Adds two missing setting toggles to the ACP User module (allowing admins to toggle a user's default settings to receive copies of conversation messages by others and him/herself).
  • Fixes bugs reported by HLFadmin here.
    • A database error was generated when `sql_mode` included ONLY_FULL_GROUP_BY.
    • A database error was being generated when `sql_mode` included STRICT_TRANS_TABLES.
  • Bugfix: The per-usergroup permission allowing members to start conversations could not be reenabled after disabling it in a usergroup.
  • Bugfix: The CSV mime type for conversation exports was not ideal.
  • Fixes various style issues:
    • Sidebar elements were not always fully to the right on the page.
    • Conversation group listing headings were not bolded.
  • Various miscellaneous other fixes and minor code quality improvements.

Version 1.1.2 (1 March 2021)

  • Bugfix: "MyBB Engine" and "Guest" were sometimes being shown in place of the correct participant names.
  • Bugfix: A couple of reversions of edits to core templates were sometimes failing on plugin deactivation (those template edits support the display of MyConversations "likes" in the `postbit` and `postbit_classic` templates).
  • Improved template caching (minor).
  • Minor improvements to the code supporting the ACP migration tools (nothing user-visible).

Version 1.1.1 (18 January 2021)

  • Bugfix: Email notifications of new replies weren't being sent.

Version 1.1.0 (10 January 2021)

  • Major new user-facing features:
    • A tool to export conversation messages. Attachments can optionally be exported along with conversation messages. Otherwise mimics the core export-of-private-messages feature.
  • Major new administrative features:
    • A new per-usergroup setting for maximum permissible number of participants in any conversation started by members of the usergroup.
    • A flood interval setting to prevent any given member from sending conversation messages too rapidly.
    • The default PM settings have been replaced with the corresponding MyConversations settings in the "Messaging and Notification" box of the "Account Settings" tab of the ACP's "Edit User" page, i.e., at admin/index.php?module=user-users&action=edit&uid=[uid]#tab_settings
  • Major new features applicable to both end-users and administrators:
    • MyConversations now intercepts and replaces the core PM sending functionality, in particular the core PMDataHandler class and (simply because it relies on that class) the core send_pm() function. Core code and other plugins that rely on that core functionality now don't need to be changed for compatibility with MyConversations: rather than core PMs being sent by those core tools, MyConversations messages are now sent instead. Some points to note are:
      • This relies on a small, two-line change to the core file `inc/datahandlers.pm.php`; a change which MyConversations automates and automatically reverts when appropriate.
      • System-generated PMs are supported, and their sender shows up as "MyBB Engine", as for the core PM system.
      • System-generated PMs notifying members of new replies in forum threads to which they are subscribed are supported. New notifications for the same thread are sent as replies to any existing notification conversation for that thread rather than generating a new conversation.
      • The previous MyConversations override of the buddy-request-notification-by-PM feature with an email notification has been reverted, since that default core notification-by-PM feature is now intercepted and translated into a notification-by-MyConversations-message.
  • Minor new user-facing improvements:
    • When a conversation/group edit form is viewed by a participant without the "add" right, the "Add Participant:" prompt is now shown as usual, except that a message next to it indicates that the member lacks the right to add participants.
    • The unread-conversation-messages header is now shown on every page: prior to this, it wasn't shown for the converse.php script.
    • The "Start conversation" button at the bottom of a post is now only shown if the viewing member can actually start a conversation with the poster. This is the case when all of the following hold:
      • The viewing member is logged in, i.e., is not a guest, i.e., has a positive user ID.
      • The viewing member has the `cnv_canstart` per-usergroup right (i.e., "Can start conversations and conversation groups?" is checked).
      • The poster has not disabled receipt of conversation messages.
  • Minor new administrative features:
    • usercp.css is now associated with converse.php on plugin activation rather than on installation.
  • Bug fixes:
    • The pop-up display of IP addresses for conversation messages, which treated message IDs as post IDs, has been fixed.
    • The mistakenly hard-coded database table prefix in `inc/plugins/converse/converse-functions.php` has been replaced by the `TABLE_PREFIX` define.
    • The define for the administrative root directory is used where appropriate, rather than a hard-coded string, as this location can be customised.
    • The `PREG_BACKTRACK_LIMIT_ERROR` that sometimes occurred when detecting a `[quote]` tag with an `mid` parameter has been fixed.

Version 1.0.1 (22 July 2020)

  • Bugfix: binary IP addresses weren't being escaped before being stored to the database.

Version 1.0.0 (17 June 2020)

  • Initial public commercial release.