PDA

View Full Version : Variable for the new PM Id# in "private_insertpm_complete"?


jwocky
07-15-2011, 01:52 AM
Hi, im writing a quick little mod where I needed to get the ID of the newly inserted PM in the hook "private_insertpm_complete", but cant for the life of me figure out which variable the new ID is stored...

any ideas??

Thanks!

HMBeaty
07-15-2011, 01:58 AM
Possibly this (http://members.vbulletin.com/api/vBulletin/_includes---functions_newpost.php.html#functionfetch_privateme ssage_reply)?