![]() |
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 |
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:
|
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 |
All times are GMT. The time now is 04:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|