Quote:
First you need this BEFORE the message is called to be sent: $message = $vbphrase[your_phrase]; Then change the line you have posted above to read: $pmdm->set('message', $message); |
Does this work with 3.7.3?
And if so, wkhat file do I need to include in the php file? |
Quote:
no file to include. |
Since my code deals with PM's I need to exclude myself from receiving a PM as I am the one making the new comment.
PHP Code:
PHP Code:
Thanks |
You should be able to exclude yourself using the following query given that userid is a column in the threadcomment table.
PHP Code:
|
Thank you very much, thats what I needed.
Had to change it: PHP Code:
|
Glad to help!
|
Is it possible to transfer it for the vb 4.0. x ?
|
I am sending to a lot of recipients at once. Its in a loop sending to 20 recipients at a time (user1;user2;etc)
Occasionally Ill get the following error when checking $pmdm->errors: Quote:
I am using $botpermissions['adminpermissions'] = 2; to override if their mailbox is full, but don't want to send a PM to people who aren't allowed by way of permissions to receive them. Can this be checked in the query I am using to select names from the user table? Or is there code that can be used to check to see if the user is able to receive PM's? I appreciate any insight. Thanks, Steve |
hello, I want send a content to two people, but different title, how to?
|
All times are GMT. The time now is 07:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|