Questions tagged [privatemsg]

Privatemsg allows your site's visitors to send private messages to each other.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Private Message AJAX request is breaking theme by loading JavaScript code twice

I have a strange issue when using private message module together with the bootrap theme. I setup the block to select the conversation/thread on the left region. I noticed when I use this block ...
-1
votes
2answers
32 views

privatemsg count unread message by tag

I try to display the number of unread message for each individual tags for each user. I create a rule that mark somme new threat automaticaly with a tags from the module Privatemsg filter 7.x-2.0-...
0
votes
1answer
15 views

Replacing Private message module with nodes

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 ...
0
votes
2answers
443 views

Check access to entity for logged in user in Drupal 8

I have added private message module for one of my project which has it's own entity. I need to check whether the user is having access to that entity content or not. The module has it's menu item ...
0
votes
1answer
76 views

Link to send message is not displayed

I am trying to get Privatemsg and DrupalGap working together. I have installed both modules, configured the privileges and everything is working fine in the drupal site. But with phonegap I am ...
0
votes
2answers
65 views

Make an Inbox block for privatemsg

Question I would like to make a block for printing messages from the user. I already have a snippet of code which print me the last 5 messages, but I want to add more information like the author ...
0
votes
1answer
25 views

Howto override a function in privatemsg.module?

There is a function in the module private message that I want to override. What is the right way to do this? This is the function: /** * Format an array of user objects. * * @param $part_array * ...
3
votes
1answer
59 views

How to flip order of Privatemsg thread from ASC to DESC?

When an individual private message thread is viewed, it displays the thread messages from oldest to newest, followed by the "Reply" field. I'd like to show the "Reply" field first, and then the thread ...
1
vote
1answer
148 views

Drupal private messages database table design

I am trying to get the raw message data from a Drupal instance running the Privatemsg module. I have tracked the message data down to the pm_message and pm_index tables but I am struggling to ...
0
votes
1answer
148 views

How can i customize the display of private message module?

I am new to drupal, present i am using Private message module 7.x-1.4 version. After installing this module it look like this (screenshots attached) current look and feel is not pretty. how can I ...
0
votes
1answer
85 views

How to insert a link in a private message by code?

I am sending a message to some users when a specific function is created. However, the content of the message that I send is always in plain text, meaning that it does not render links. What can I do? ...
1
vote
1answer
71 views

Display additional fields in the Inbox?

I have added two new fields (a Viewfield and a simple text field), and I would like to display these fields in the Inbox (/messages) along with the existing Subject, Participants, and Last Updated ...
1
vote
1answer
240 views

How to send Private Message using privatemsg_services module?

I am using privatemsg services module to create REST API of privatemsg using Services Module in Drupal 7. I need to know how to send message and how to reply to a message ? Please tell me URL where i ...
1
vote
0answers
41 views

entity_privatemsg_message

Working on a Android APP to read/reply private message (Drupal 7). I am able to access all secure information for a user. Services/Resources> works file. shows the entities But I am facing some ...
1
vote
0answers
38 views

Disable message response when message was sent to all users of a role

Is it possible to disable the functionality to reply to a message, when this message was sent to all the users of a role? I know it is possible to disable the functionality to reply to messages, but I ...
1
vote
1answer
179 views

Services for Privatemsg module

I am using privatemsg services module to create REST API of privatemsg using Services Module in Drupal 7. If I send GET request to this url : http://example.com/rest/privatemsg/ I get all messages ...
1
vote
1answer
227 views

How to create a Privatemsg thread with multiple recipients in a Rules component?

I'd like to send private messages to a selected group of users. For this purpose I use a view with VBO and a Rules component action (utilizing the "Send message" action provided by Privatemsg) - as ...
2
votes
1answer
144 views

How to display a form filled by a VBO-submission?

I'd like to use Privatemsg module to send messages to group of users. For this purpose I plan to use a view with Views Bulk Operations (VBO) and plenty of exposed filters. I was able to create a ...
0
votes
1answer
43 views

How to implement some type of private messaging to arbitrary groups of users?

I'd like to send private messages (with email notification) to groups of users. These groups can be either pre-defined or ad-hoc selected. Is there any way to implement this feature in a Drupal site? ...
1
vote
1answer
81 views

Warning to user for including cursing words in private message

Drupal 7. Drupal 6 had a way to configure a rule to check for disallowed words inside the body or subject line of a private message. I am trying to adapt that rule to Drupal 7. The purpose of this ...
1
vote
1answer
95 views

Private message prefill message body

I'm using Drupal 7 Privatemsg module. To prefill the message body, I use the following hook but don't get anything displayed. function MyModule_privatemsg_message_view_alter(&$vars) { ...
1
vote
2answers
75 views

How can I send a Privatemsg using Rules and have the name of the site as the sender?

I am using the Privatemsg and Rules module and I am trying to set up an automatically generated welcome message to new members registering on the site. This message will go into the new member's inbox....
2
votes
1answer
433 views

How to use the Rules and Group modules to send a privatemsg to users of a role in a group?

I am using the module Rules with Group (not Organic groups) as well as the Privatemsg module. I want to send an email to all users of a role that are in a group. I am able to send an email to all ...
4
votes
3answers
481 views

How do I create a rule to prevent a user from sending a message via the Privatemsg module?

As a courtesy to registered users on my website, I require all users who send private messages to have a profile picture. I already have system messages throughout the site to encourage them to ...
0
votes
1answer
61 views

html entities privatemsg token

I am using the privatemsg module to send messages and mails with questions about plants. The subject is automatically filled in with the token of a node title, which is always a plantname. They always ...
0
votes
1answer
650 views

Sending private messages between users [closed]

EDITED The excellent Privatemsg module provides a wealth of functionality but some sites might not need/want this degree of complexity. Rather than starting with something complex and disabling/...
1
vote
1answer
87 views

Send prefill message PrivateMsg

I need a feature for my website, I want that users can send pre-filled messages to others users. Like in an user's profile page, they just have to click on a button and then, the pre-filled message ...
1
vote
1answer
160 views

What is the entity ID for private messages?

I want to access some private messages using entity_load() but I don't know what the entity ID is to call them by. I have the message ID (mid) but that doesn't appear to work. I'm attempting to load ...
0
votes
1answer
338 views

Private Message with node.js issues setting up

I have followed the suggested video tutorials https://www.youtube.com/watch?v=u1sxDaH3Z-U and https://www.youtube.com/watch?v=f8XAT1oB1eA Im using the node.js watchdog submodule for debugging. That's ...
2
votes
1answer
23 views

Add reverse IN clause to db API

I need to add IN clause while implementing hook_views_pre_execute But it's not the regular IN added like the next line {table1}.col1 IN (val1, val2) $query->condition('author', array($user-&...
1
vote
1answer
31 views

Php block messing with the page tittle

I've added the privatemsg module send message form in a php block, it's working fine but the page tittle and the metatag tittle now shows "write a new message to(user uid)" instead of the node tittle. ...
3
votes
2answers
532 views

Is there an alternative private messsage module that integrates with Views? [closed]

As far as I can tell it's the only real solution on the block. But it has major drawbacks that make it unusable for most sites. Mainly its not built with views, therefore easy customization is out of ...
2
votes
1answer
218 views

Email notification via private message module

I am using private message module to send an e-mail to all users. When I send mail, users can able to see the message in site only after logging in. There is an email notification settings in ...
1
vote
0answers
54 views

Cannot send private message to all authenticated users by rules

I am trying to broadcast a private message (privatemsg) to all authenticated users when adding a new node of specific content type. However, I cannot find Authenticated user option on the roles ...
2
votes
2answers
131 views

Privatemsg Module and custom timestamp

By default the Privatemsg Module has three timestamp displays for various lengths the message has been sent. After a certain point the listed 'time' changes. What I want to do is append the next ...
2
votes
0answers
184 views

How to change privatemsg message participants

I am using private message drupal module.In my project there are many roles and these role type user can send message to another user.In default If user A send message to user B ,and user B is logged ...
2
votes
0answers
139 views

How to set message body in Privatemsg

I'm using Drupal Privatemsg module and there's a requirement when a link is clicked, it should open up write new message form with recipient, subject and part of message body are already filled for ...
0
votes
1answer
82 views

Re-Theme Private Message Function

I would like to rewrite the original function code for the Private messages block module. The original code displays a text message for no messages or messages in the inbox. I would like to change it ...
2
votes
1answer
175 views

How can I use the Private Message module for anonymous users?

I am using the Private Message module as a way of contacting the author of a node. I have the problem that the button that says "Send author a message" only appears on the node when the user is ...
1
vote
1answer
63 views

How to implement a transaction process between users using the Privatemsg module?

I am trying to develop a transaction process between two users who can do transaction using a form with two fields: a text message to communicate back and forth a virtual point to trade the product ...
1
vote
1answer
74 views

How can I allow users to send private messages without revealing sender's address?

I have a community application which allows users to send private messages and it is built using 'Private Message' module. When a message is sent, the recipient sees the sender's original email ...
0
votes
1answer
30 views

sort by subject in privatemsg

Is there any possibility to sort all the messages by subjects? For example, there is a button on the main page "send a message to author". Subject from the sender is defined as "main page". If several ...
2
votes
1answer
77 views

Applying image style to Privatemsg

Drupal 7: Privatemsg. The following statement, when included in the privatemsg-view.tpl.php template prints the author's picture: print theme('user_picture', array('account' => $message->...
1
vote
2answers
134 views

privatemsg and services fully integration

Does there exist any module even sandbox or starting point module (not ublished on drupal.org) to help achieve privatemsg crud operations over services module.
1
vote
0answers
57 views

private message is not showing in messages page but with permission user/uid/messages show the messages list

I am using privatmsg module. private message is not showing in messages page but with permission of 'showing read all messages', user/uid/messages show the messages list. I have check the all ...
1
vote
1answer
21 views

how to overide prvatemsg url 'messages' to 'something'?

function _MY_MODULE_custom_submit($form, &$form_state) { $form_state['redirect'] = url('thank-you', array('absolute' => true)); }
1
vote
0answers
26 views

Remove bits of code from PrivateMSG Module

Does any one knows how you go by removing this "(1 New)" from the Messages bar, I want to have it say "Messages" and to the right will be the counter... I am new at this!...:) -Thank you
0
votes
1answer
124 views

Private message to be saved as a draft

I want a Functionality in Private message module drupal 7.x. That the message I am creating should be saved as a draft. how do I achieve this ?
0
votes
2answers
354 views

How to set default body message for Privatemsg embedded on page?

This is the code I used on the node template and block, I just tried it both module_load_include('pages.inc','privatemsg'); $recipients = array(user_load(arg(1))); $subject = 'This is just a ...
2
votes
0answers
150 views

How add additioanl field to message filter in private message module?

As you know private message module gives drupal users ability to send message to each other. each user can see his/her messages in message page. Also table of messages can be filtered by subject or ...