The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PM Question
I'm curious...
What is the code that I will need to be able to send people a PM? If you'll be giving info, please be sure to explain in full detail, like how can I modify the text that the PM needs to be sent? And so on... Thanks, HoC |
#2
|
||||
|
||||
I've take the necessary code out of private.php, put it into functions and saved it as includes/functions_pm.php.
It does look like that: [php] function send_pm($pm, $sender, $errors) { // Code from private.php with some modifications to meet new environment goes here } Now if you want to send a PM just do the following PHP Code:
You can also set more options (savecopy, title, disablesmilies, signature, receipt, pmid) in array $sender. Unfortunately the vB license does not allow me to publish the whole file, otherwise I would attach it here. The necessary code from private.php starts after PHP Code:
|
#3
|
|||
|
|||
Okay, good
I was staring at that file earlier today and I was like ^_^ Jeezus, too much... At least I have a place to start studying Thank you HoC |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|