The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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?
|
#2
|
|||
|
|||
I haven't tried it, but after you've created the attacment object, try $obj->set('userid', id).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|