PDA

View Full Version : Replacement Variable reverts CSS?


NinjaKane
02-03-2010, 02:41 PM
This is more annoying than really a problem, want to know if anyone else has ran into this. I am going through and switching out all the stock gif icons to new png icons. Each time I make a replacement variable, it reverts the CSS file (using external ones) back to a previous state. Why is it doing this and how do I stop it from doing this?
Thanks

Hell Bomb
02-03-2010, 04:16 PM
Hmmm idk why it would do this but you can export the style to an xml, and then use a program like dreamweaver to change all the extensions using find and replace feature.

NinjaKane
02-03-2010, 05:27 PM
Yeah its weird. I go in and fix the icons one by one, no changes to css. then when I use the replacement variable manager, it renames the css with the renamed on being reverted to a previous state..weird. with the xml, i will be exporting that when the theme is complete and uploading to our live forum, do I need to upload anything else besides the xml and images? will the xml create a style sheet?
thx

Hell Bomb
02-03-2010, 11:52 PM
once you have modded the xml just reupload the xml and it should be fixed, as for the variable issues IDK never heard of anything like that

Marco van Herwaarden
02-04-2010, 08:50 AM
A much easier solution is to simply rename your .png files to .gif. No need to make any changes to filenames in templates, also saving you loads!!!! of work on each vBulletin upgrade.

NinjaKane
02-04-2010, 12:12 PM
Thanks all, for now im just copying the name of the new css, renaming the old one that has the styles I want and overwriting whats on the server. convoluted and it makes me feel dirty but it works.