Conversation Improvements by Xon

Conversation Improvements by Xon 2.2.0

No permission to download
Compatible XF 2.x versions
  1. 2.1
  2. 2.2
Additional requirements
php 7.0+
Standard Library by Xon
License
MIT Licence
A collection of improvements to the XenForo Conversation system.

For large forums, please see the "Installing for large forums" section

Uninstalling removes all data!
Search Index however will require a full rebuild to delete the old data!

Features
  • Adds conversation search, with options to search by recipient.
  • New Conversation Permissions
  • Conversation Message Edit history
  • Conversation Title Edit history
  • Allow conversations with no-one (default off)
Adds conversation search, with options to search by recipient

Users must be a member of the conversation to see the conversation in search results.

Does not permit moderators/administrators to see another person's conversations in search results.

Adds each conversation, and conversation message to the XenForo Search store (MySQL or Elastic Search), which may result in a larger search index.

New Conversation Permissions

Just takes away a user's "reply" button, no banners.

The reply limit is for the entire conversation, but the limit is per user group. Consider when User A & User B are members of a conversation.

User A can have a reply limit of 5. User B can have a reply limit of 10.

Once the conversation has >5 replies, User A can no longer post. Once the conversation has >10 replies, User A and User B can no longer post

Conversation Message Edit History

Adds edit history for conversation messages.

Conversation Title Edit History

Adds edit history for conversation's title, and implements a new moderator permission "Manage Conversations by anyone" to allow non-conversation starters to edit a conversation.

Allow conversations with no-one

A global option to allow users to send conversations to just themselves.

Known Issues
  • Edit History does not respect/implement any silent editing window.
  • This add-on likely will require a higher memory limit (ie <256mb isn't going to cut it) due to extra search results.
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).

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 `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;

Permissions
  • Can Reply to Conversation. - Default - If a group can start a conversation, they can reply.
  • Reply Limit for Conversation. - Default - If a group can start a conversation, the reply limit is disabled (ie infinite).
  • Manage Conversations by anyone. - Default - If a group can edit any conversation posts, this permission is set for them.
Manual post-installation steps - Rebuild Search Index

The add-on will report (via server errors) if conversation related content types require re-indexing.

Performance impact
  • 1 extra query per conversation message posted due to indexing, and indexing itself.

Contributing features or bug fixes
Please create a Github Pull request via the "More Information" link.

Contributions

If you appreciate this addon, please consider a contribution via PayPal. Details will be provide via private conversation.

Please contact me if you wish for different licencing arrangements.
Related resources
Author
Xon
Downloads
351
Views
7,424
First release
Last update
Rating
5.00 star(s) 6 ratings

More resources from Xon

Latest updates

  1. 2.2.0 - XF2 Compatibility update

    Requires php 7.0+ Now depends on Standard Library by Xon Supports XF2.2
  2. 2.1.2 - Bugfix update

    Fix that deleting a conversation did not remove history items On install, Cleanup...
  3. 2.1.1 - Maintenance update

    When "Allow conversations with no one" is enabled, also allow users to explicitly start a...

Latest reviews

I've used this for over a year on a large forum with over 20 million posts. It's been working with no problems. I use it for the ability to search conversations, which is pretty important.
The search feature is just something I can't live without as I have tons! It would be awesome if in the future there was a way to "star" a conversation so that it stays on top until you can respond ;) Thanks for another great addon!
Very handy for preventing replies to Conversations instead of just only being able to prevent users from starting new ones. Search is great, too!
Worth it alone for the ability to search conversations.

Incredibly handy on forums that see a large amount of private conversation chatter, or have allowed users sales.

For admins/moderators it's a godsend to be able to search conversations, given you get so many in over time.

NOTE: This does NOT allow you to search conversations unless you are a part of that conversation.
Simply superb. I really appreciate your plugin and all it's components. Conversations is lacking this kind of functionality, for sure. Again, thanks for all your hard work putting this together and sharing it with us non-coders.
Been using this plugin by XON on both my XF1 and XF2 installations since the beginning, simple to use and simply works! Nice work
Top