Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Privatemsg allows your site's visitors to send private messages to each other.
4
votes
Accepted
Is it possible to notify users by e-mail when receiving a private message except when a spec...
$WELCOME_USER_ID = 1; // PM author from your rule
$WELCOME_SUBJECT = 'Welcome to the site'; // PM subject from your rule
// 'pm_email_notify_notice' is an ID for message notifications
// from Privatemsg … Email Notification module
if($message['id'] == 'pm_email_notify_notice') {
$privatemsg = $message['params']['message'];
if ($privatemsg->author->uid == $WELCOME_USER_ID && $privatemsg->subject …
8
votes
Accepted
How can I add a flag for reporting abuse on private messages using hook_privatemsg_message_v...
I really don't know why you don't like the answer by Rene.
Let me show a more detailed example.
You have to replace YOURMODULE with name of your module or theme.
/**
* Implements hook_privatemsg_me …