The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
|||
|
|||
![]()
I think you could access all those things. I think you'd have to put "global $vbulletin" in your code, use "$this" in place of $pmdm, and call $this->fetch_field('title') to get the title (or use variable $plaintext_title for the title that's been run through unhtmlspecialchars). Also the user id is in $user[userid].
Look at file includes/class_dm_pm.php and search for private_insertpm_complete (it's around line 581 in my file). it's in function post_save_each() which is called near the end of save() Another thing you could do is make a plugin for private_insertpm_complete that saves the pmid's in a global variable, then use them in your existing plugin. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|