Log in

View Full Version : make "manage attachments" button open a link to uploader instead


anonimouse
06-02-2005, 12:25 AM
i use a seperate file uploader from the one in vbulletin, just because it is way more practical for my site. i would like to make it so when you click the "Manage Attachments" button on the post page, it will open another browser window to my uploader instead of the default vb attachment window. i would also like to change the text of the button if possible.

i have tried messing around with the "newpost_attachment" template, but my skills with javascript are almost nonexistant, but it seems that this should not be too difficult to do. i have searched the forums here and have not found anything sofar to point me in the right direction. any ideas would be appreciated

amykhar
06-02-2005, 12:29 AM
This might be a job for http://www.vbulletintemplates.com/

Amy

anonimouse
06-02-2005, 02:33 AM
thanks for the link amy, im sure it will be useful in the future!

as for this i started to figure it out right after i posted this. what i did was edit the newpost_attachment template and basically eliminated everything but the <fieldset> tags. then added some <p>explaination</p> with

<input class="button" type="button" value="button text here" onclick="window.open('http://www.uploader.url.here')">

following it. that did the trick for me. im sure there is probably a better or cleaner way of doing this, but i was kinda in a hurry and it got the job done