PDA

View Full Version : Send PM's Programatically??


liamwli
09-27-2012, 04:50 PM
How, in vBulletin 4, would one send a PM programatically?

kh99
09-28-2012, 04:34 PM
If you look at file private.php, starting around line 1166:

if ($_POST['do'] == 'insertpm')
{


that's the code that sends a pm. Basically it creates a pm data manager and sets the fields, then calls "save". You could also find a mod that sends a pm and look at how that works.