PDA

View Full Version : Help with attachment manager in forum posts


st@rsky
04-04-2011, 02:30 PM
Hi everyone,

I?m trying to create a new thread using a custom script with vbulletin. I already wrote the code using this article and it works :

http://www.onling.com/forum/showthread.php?p=2865

what I can not seem to do is manage the attachments using the attachment manager of vB. For me it would be well handled manually, but I can't find the appropriate class in VB.
To be clear I need the method to manage the attachments in vb. Any help?

thank you in advance

st@rsky
04-19-2011, 09:38 AM
No one has created a new post with attachment manually?

Tasking Mickey
04-21-2011, 11:25 PM
No one has created a new post with attachment manually?
To be honest with you, I've been using 3.8.x, series, but they should all work with any vB3 series as well,

Now to my correction, the attachment manager by it'self, but it'll do the job manually.

What I can suggest is going to vBulletin Options - Message Attachment Options, and config a option there if it isnt already, or go into the template postbit_attachment or any one of it's sub-templates with attatchment, and view it's original, and replace what you have already.

kh99
04-22-2011, 01:48 PM
To be clear I need the method to manage the attachments in vb.

I'm not familiar with it, but I think you want to look in attachment.php.