MembersMessaging Module

0 ratings

This is a module for Processwire CMS to enable you to easily setup a messaging system for your users. Allow your website users to message other users on the site given a user name or similar information.

Module uses the notions of threads, messages and users to describe the message relationship. A thread is a page storing n messages including: time, created by user and message text, the users in the thread, which users have unread messages in this thread, whether messages are encrypted (and it's salt). User pages have a list of all threads they are apart.

In your templates you can add: a compose message form, threads and their messages, thread reply forms, message and threads counts, as well as delete and delete all messages. You can view messages in the admin (unless encrypted set to True) and view message stats and module usage in admin page Members.

More information see the PW forum post or contact me hello@benbyford.com.

Example usage - new thread form, thread and messages with reply form

Public functions:

// get module
$mm = $modules->getModule("MembersMessaging");

// get count of total messages for this user
$msgThreadCount = $mm->msgThreadCount();

// count of unread message threads - must be called before getUserMessages
$unreadMsgsCount = $mm->countUnreadThreads();

// show message form
$composeMessage = $mm->composeMessage();

// get all messsages with reply forms
$userMessages = $mm->getUserMessages();

//render most of the above
$exe = $mm->execute();

// if you want to delete all message pages and message id's saved to users, then call flushMessages()
$mm->flushMessages();

Basic usage:

// basic usage doing most of the above
$mm = $modules->getModule("MembersMessaging");
echo $mm->execute();

// include example js and css implementation to help you get up and running with sending messages
echo $mm->js();
echo $mm->css();

Roadmap:

  • user flagging system
  • add better encryption
  • mark specific messages as read / unread - not just threads
  • delete or edit specific message in thread
  • groups messaging
  • admin internal messaging page / billboard
  • testing multi-lang strings support
  • message back via email
  • allow threads titles and descriptions
  • api to post and retrive message data without markup
  • include hanna code example

Video description:

Summary of license:

  • Unlimited use of software on own projects
  • No modifications or derivative works
  • No commercial use other than applications and services produced by Licensee
  • No attribution is required
  • Free software updates up to next major update e.g. where major release is v1.0.0 to v2.0.0 not v1.0.1
Buy this

7 day money back guarantee

Where module does not satisfy your intended requirement, please contact me for possible module improvements or refund.

Last updated Mar 1, 2024

Copy product URL
£60

MembersMessaging Module

0 ratings
Buy this