PDA

View Full Version : [FIXED] Selected style is overwritten with forumstyle when selected styleid=1


Pogo
Wed 8th Jan '03, 2:11pm
Situation:
I have 2 styles in my board. One is the default style with styleid=1 (STYLE1) the other is a custom one with styleid=2 (STYLE2).
Both styles are selectable.
The default style for a specific forum (FORUM) (not the whole board) is STYLE2.

When I have selected STYLE1 in my UserCP it is not displayed when I watch FORUM. STYLE2 is shown to me.

The problem is this line in global.php:if ($getforum['styleoverride']==1 or $bbuserinfo['styleid']<2) {It is used 3 times between lines 230 to 243.

The <2 should be changed into <1 to prevent this and show the style chosen by the user.

Oh I forgot: the styleoverride option is set to no.


PS: Dieses kleine Fehlerchen wurde präsentiert vom vBulletin Germany Team!

Pogo
Fri 28th Mar '03, 7:39am
This is still bugging us. ;)

Scott MacVicar
Fri 28th Mar '03, 12:04pm
ok changed global.php member.php /admin/user.php

We added a Use forum default to the style options since the code above then wont use the forum style selected unless styleoveride is set to yes.