Members cannot be found or written to
Who a member can find and write to is decided by a handful of settings. Administrators are exempt from most of them, so always test as a regular member: the User Switching plugin from WordPress.org makes that quick.
A member is missing from the search#
- Rebuild the index of members. Better Messages keeps its own index of members so the search stays fast. A member added in a way that skips the usual WordPress registration, such as an import or a sync from another system, can be missing from it until it is rebuilt. Open Settings → Tools, and press Synchronize Now next to User Index. It also rebuilds by itself once a week, when WP-Cron runs. See The Tools tab.
- Search by name. The search matches names, not email addresses.
- Look at the search settings, under Settings → Messaging → Searching Users:
- User Search lets members search for recipients at all. Administrators can always search.
- Search All Users lets members search among all users of the site, not just their friends. With it off, on a site with friendships, a member finds only friends.
- User Suggestions shows a list of suggested users on the new conversation screen.
- Look at the role rules. Under Settings → Restrictions, Role-to-Role Restrictions decides which roles may write to which. Role restrictions do not apply to an administrator who searches for members.
Members only see people who wrote to them#
That is how the messenger works: a member sees the conversations they take part in. To write to someone new, they use the New Conversation screen, which suggests members and has the search, or a message button on a profile. On a community plugin such as BuddyPress, PeepSo or Ultimate Member, turn on the message button of its integration under Settings → Integrations.
The New Conversation button is missing#
- The member may not start conversations. Settings → Restrictions → Restrict New Conversations keeps roles from starting them, and Hide New Conversation Button removes the button for those roles.
- Fast Start is on. With Settings → Messaging → Fast Start, a click on a Private Message button opens the conversation at once, without the new conversation screen.
- The page shows one conversation or one room. A page with the shortcode of a single conversation or chat room has no conversation list and no button. The full messenger is the page set as the messages location, see User inbox.
A second person cannot be added#
Conversations with several people need Settings → Messaging → Group Conversations. With it off, a new conversation takes one recipient.
To add people to a conversation that exists, Invite Participants under Group Conversation Settings has to be on, and Maximum Participants not reached. Administrators can always add participants.
"You cannot send messages" or a restriction message#
The member, or the pair of members, is kept from writing by one of these, all under Settings → Restrictions unless said otherwise:
- Role-to-Role Restrictions: the role of the sender may not write to the role of the recipient.
- Restrict New Conversations and Restrict Replies: the role may read and not start or answer. Each has its own Restriction Message, which is the text the member reads.
- User Blocking: one of the two blocked the other.
- Message requests, under Settings → Moderation: the recipient chose who may write to them, see Message requests.
- A points system: sending costs points the member does not have, see Pay-to-message.
- A membership or friends rule of an integration, such as friends only on BuddyPress or PeepSo.
- Pre-moderation: the message was sent and waits for a moderator, see Pre-moderation.
To let one role read and never reply, tick it under Restrict Replies: the message field is replaced with the restriction message.
Members cannot delete a conversation#
Settings → Restrictions → Delete Conversations lets members delete conversations from their list. It is on by default. Administrators can always delete. What happens when the two write to each other again is set under Settings → Messaging → Deleted Conversation Behavior.
Members cannot mute a group conversation#
Since Better Messages 3.1, group conversations have notification levels in place of a single mute switch: the item Notifications in the menu of the conversation offers all messages, only mentions and replies, or nothing. See Notification levels.
A member became moderator of a group conversation#
When a group conversation has no moderator, the member who sent its first message becomes its moderator when the conversation is opened. Nothing a member did caused it.