![]() |
Attachment Datamanager: Possible to set the userid?
I have a custom script which successfully uploads an attachment to a thread using vbulletin's datamanagers. However, I want the script to assign that attachment to a predefined userid and can't figure it out. Does anyone know if its possible to do this at the time of creating the attachment, or after the fact somehow even?
|
I haven't tried it, but after you've created the attacment object, try $obj->set('userid', id).
|
All times are GMT. The time now is 01:39 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:
|