![]() |
Data Manager PM
When using the data manager to send pms, I run into something strange, no matter what I set the from username and id too, it will always send from the $vbulletin->userinfo details. (I have it hardcoded in the dm to set the id and username to the admin.) I want to make it always send it from the admin, no matter who triggers it. Does anyone have any information on this?
|
The only thing I can think of is, are you reusing the data manager instance from a PM being sent from the current user? If so, try creating a new instance. Otherwise, could you post the code you're using?
|
Thanks for the reply. I'm creating a new one and assigning it to a new variable.
Code:
$pmdm =& datamanager_init('PM', $vbulletin, ERRTYPE_ARRAY); |
All times are GMT. The time now is 01:09 AM. |
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:
|