PDA

View Full Version : How do I change the size of the attachment upload popup window?


Dervish-Dancer
12-15-2008, 10:09 PM
I am using the blacksmart theme, and for some reason, the attachment window popup pops up too small (I have to manually resize it to see everything in it).

Where do I change the size of this popup?:confused:

Lynne
12-16-2008, 12:05 AM
If you have questions regarding a style or modification, you need to ask for help in the style or modification thread.

kpmedia
08-25-2009, 01:53 AM
I have this same problem.
Where in the code can pop-ups be changed?

(NOTE: My style is not on this site, I'd be threadjacking if I posted this over in Mods/Styles.)

Lynne
08-25-2009, 02:16 AM
For a newpost, it's in the newpost_attachment template:
document.write('<input type="button" id="manage_attachments_button" class="button" tabindex="1" style="font-weight:normal" value="$vbphrase[manage_attachments]" title="$vbphrase[add_edit_files_attached]" onclick="vB_Attachments.open_window(\'newattachment.php?$se ssion[sessionurl]$attachurl&amp;poststarttime=$poststarttime&amp;posthash=$ posthash\', 480, 480, \'$postid\')" />');

For other pages, find the template and find the similar line in them. To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.