You may want to double-check your code for the upload path. I don't think you want to say:
$upload->path = './'.$options['sponsor_imgpath'];
I think you need to add something in there:
$upload->path = './'.$vbulletin->options['sponsor_imgpath'];
?? Maybe?
I had to play with upload code for the torrents on my site. I found it very frustrating because the way I did it, it would not spit out errors to me on the screen. I keep thinking I should rewrite it, but I haven't gotten around to it.
|