PDA

View Full Version : VB seems to deliver the wrong style's CSS


TiKu
08-31-2013, 10:16 PM
Hi,

We've a phenomenon with the CSS definitions of our styles. We have the following style structure:

MASTER-Style

VB4 Default Style (with very few customizations, not selectable by users)

Our Main Style (many customizations, selectable by users)

Special Style for a specific forum (not selectable by users)




VB uses templates from the correct style. However, CSS definitions always come from "Our Main Style". If I open the forum that has its special style, I get the special templates, but the CSS from the style's parent style ("Our Main Style").

The generated HTML code is correct, it always calls css.php with the correct styleid parameter in the URL. It also doesn't seem to be a caching problem - neither on the server side nor on the client side.

What could make VB 4.1.11 deliver the wrong style's CSS?

Zachery
08-31-2013, 10:33 PM
Pretty sure users have to be allowed ot use the style, for the style override to work.

TiKu
08-31-2013, 10:56 PM
Well, I doubt it. Let me explain a bit. We recently upgraded our forum from VB 3.8 to 4.1. For testing this upgrade, we have cloned the forum before the upgrade and tested the upgrade with this clone.
And here comes the interesting part: The clone doesn't suffer from this problem and so far I could not find any difference in settings or templates that I would consider relevant. Even the style ids are the same in both installations. You cannot select the special style in the test installation either.

Lynne
09-01-2013, 02:27 AM
Try moving the CSS from the database to the file system (or vice versa) and see if you still have the same issue.

TiKu
09-09-2013, 06:29 AM
Thank you, that did the trick.