0

I was looking for a quick answer to the problem of allowing members to write each other messages. The Private message module looked like the most complete solution.

However, it has some significant downsides.

  1. I can't find an API for it anymore. All the links are dead.
  2. It uses awful HTML output which is not responsive so refer to problem 1.
  3. It's not integrated with views!

So I wonder if a poor man's messaging system that simply uses nodes and views would be a more versatile, future proof and potentially more performant replacement. Is private messages dramatically more performant(such that it's downsides are worth it) than using nodes and views for private conversations, of which there would be potentially many?

  • Which one are you using? There are many private message modules in Drupal – Ismail Cherri Mar 9 at 20:44
  • drupal.org/project/privatemsg is the one I am using. – otherpoint Mar 9 at 20:46
  • Internal communications can be distilled down to one node, with access grants written for specific users. Access grants on a node coupled with the comments module... easy conversations – Prestosaurus Mar 9 at 21:44
0

If by API you mean documentation, there is a documentation for the module in the following link: https://www.drupal.org/documentation/modules/privatemsg
For actual API file: https://cgit.drupalcode.org/privatemsg/tree/privatemsg.api.php?h=7.x-1.x
In the same code repository, the module contains views folder with views integration, so I don't understand what you mean by no views integration?
And here is an example on how to theme the new messages block, you should check this file for more theming functions.
Hope that helps.

  • 1
    Thanks, yes I meant documentation of the API. – otherpoint Mar 9 at 21:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.