PDA

View Full Version : menu_open



lilfields
11-27-2006, 12:57 AM
I want to be able to change my menu_open.gif to a png fileI made, but I can't find the graphic in the templates to edit this. Where can I can I find the location to edit this particular graphic?

Hell³
11-27-2006, 09:00 AM
I don't think you'll be able to change the image type via some template edit or a style setting. You can substitute the image if you name it exactly the same, and put it in the images/misc folder that you established for the style, but you won't be able to change the name or file type without some hacking.

b2w
11-27-2006, 12:03 PM
I usually cheat. I upload the non-gif file to the correct directory via ftp and then rename the file, for example, from menu_open.png to menu_open.gif in my ftp program and it works for me. I never checked to see if it actually changes the graphic to a .gif. My colors never came out distorted. You can try that if you like to see if it works for you. I would make a copy of your original menu_open just in case this doesn't work.

lilfields
11-28-2006, 12:35 AM
Alright, I figured out how to do this. I wanted this over a .gif because .gif doesn't have a very sharp transparency...

Ok, so all you have to do is find vbulletin_menu.js on your server (should be in your clientscripts folder which is in your main forum directory), open up your editor (I used Dreamweaver) and find "menu_open.gif" in the code, and simply replace the extension with which ever file type you want to use for the image.