PDA

View Full Version : vB 3 suggestion -> easier custom style & images support.


Faruk
Tue 5th Mar '02, 6:43am
Example now:

You have 6 styles, and all have different graphics for the headers/footers/etc. but still share a bunch of the same images (like attach images, etc.). So if you were to make a subdirectory images/stylename/ and have all your style-images in there, you'd need to copy a bunch of default images along as well.

To counter that, a good idea is to put all your images in the images/ folder itself, and just have good naming of your files.

On my board, I have files like ffo_on, ffo_off, ffo_newpm etc. (.gif) but also for my other styles (games, anime, acc, spi)

Now, wouldn't it be easier if we could have one variable that adds a stylename-prefix to all images we want?

It'd look like this, in the templates:

<img src="{imagesfolder}/{styleprefix}_top1.jpg">


Would something like that be an idea?

I for one would like it. I've been adding ffo_ and acc_ and all that to a lot of image locations in my styles (the go-button or the on/off indicators for newposts in forums, etc. etc. etc.).

Anyway, your comments pls. :)

klisis
Tue 5th Mar '02, 9:06am
shouldn't this on under... vBulletin 2 Suggestions and Feedback forum?

Faruk
Tue 5th Mar '02, 9:16am
Perhaps, but with all the vB3-suggestion threads in here already.... I figured I might as well just add mine. :D