Resource icon

Unmaintained Conversation Improvements by Xon 1.3.15

No permission to download
  • Preventing the following error during the install process for members viewing conversations:
    • An exception occurred: Argument 4 passed to XenForo_Template_Helper_Core::helperLikesHtml() must be of the type array, null given
  • Remove Conversation deadlock workaround (see this add-on for a replacement)
  • Conversation Message Edit History.
  • Conversation Title Edit History.

Installing for large forums

For large forums, please try manually adding all the columns in a single step.
This took upto 5 minutes for 1.3 million conversation messages (compressed).

For Like support & edit support:
Code:
ALTER TABLE `xf_conversation_message` 
    ADD COLUMN `likes` INT UNSIGNED NOT NULL DEFAULT 0,
    ADD COLUMN `like_users` BLOB,
    ADD COLUMN `edit_count` int not null default 0,
    ADD COLUMN `last_edit_date` int not null default 0,
    ADD COLUMN `last_edit_user_id` int not null default 0;
ALTER TABLE `xf_conversation_master` 
    ADD COLUMN `conversation_edit_count` int not null default 0,
    ADD COLUMN `conversation_last_edit_date` int not null default 0,
    ADD COLUMN `conversation_last_edit_user_id` int not null default 0;
Or just edit support:
Code:
ALTER TABLE `xf_conversation_message` 
    ADD COLUMN `edit_count` int not null default 0,
    ADD COLUMN `last_edit_date` int not null default 0,
    ADD COLUMN `last_edit_user_id` int not null default 0;
ALTER TABLE `xf_conversation_master` 
    ADD COLUMN `conversation_edit_count` int not null default 0,
    ADD COLUMN `conversation_last_edit_date` int not null default 0,
    ADD COLUMN `conversation_last_edit_user_id` int not null default 0;

New Permissions
  • Manage Conversations by anyone. - Default - If a group can edit any conversation posts, this permission is set for them.
  • Like
Reactions: rdn
  • Round-trip list of recipients to include in search when searching again
  • Prevent guests from using the conversation search form, they couldn't see any results anyway.
  • Minor cleanup of installer code.
Fixes for the list of conversation likes per conversation message to correctly display a list of users who have liked the message.
  • Fix error on indexing conversations
  • Setup Conversation Reply Limit to default to off.
  • Conversation Like Alerts can now be opted out.
  • Like
Reactions: yavuz
  • Prevent SQL errors if the add-on is disabled or uninstalled.
  • Setup default permissions for the 'Can Reply to Conversation' permission.
  • Like
Reactions: yavuz
Bugfix for error on new conversations.
  • Reduce how often all messages in a conversation are reindexed. Re-indexing must occur when:
    • Adding a new recipient.
  • Support to handle very long conversations when the entire conversation is re-indexed.
  • Improve avoiding the deadlock which can happen when unread conversation counters are updated.
    • This only affects highly active boards.
  • Change ordering of the 'IP' link in conversations to occur before the 'Report' link to match posts.
Top Bottom