News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

bug in theme settings

Started by gijs, January 06, 2005, 01:26:35 PM

Previous topic - Next topic

gijs

This is the case:

- I have SMF configured that that members cannot change their theme.
- the whole forum got 'theme A'
- except 'category X' , where all boards have 'theme B'

Now a member that has 'theme B' assigned to him and only is permitted in this 'category X' should always see 'theme B'.
But he DOES SEE the index-page (main/frontpage) in 'theme A' (thus when not browsing the boards)....

When I change the setting that members CAN change their theme, everything is ok. So that's where it comes from...
(but I really don't want to give them this option)

How to solve this stupid bug...?

gijs

This is the case:

- I have SMF configured that that members cannot change their theme.
- the whole forum got 'theme A'
- except 'category X' , where all boards have 'theme B'

Now a member that has 'theme B' assigned to him and only is permitted in this 'category X' should always see 'theme B'.
But he DOES SEE the index-page (main/frontpage) in 'theme A' (thus when not browsing the boards)....

When I change the setting that members CAN change their theme, everything is ok. So that's where it comes from...
(but I really don't want to give them this option)

How to solve this stupid bug...?

davon

hm, when i get this right, then your member should have "theme B" everywhere, not only in this "cat X". but as soon as he leaves "cat X" he's thrown back to the standard "theme A" like everyone else?

in the first moment i wouldn't call this a bug, more strictly following a rule. question seems to be, if there's an option, that users can leave that rule...

hm.. *is doing some local tests*

davon

sorry, no problems here so far with that.

i have set a standard board theme for all and picked another theme for one category. switched in and out and always got the correct theme like expected (standard board theme everywhere and the picked theme inside this special category).

have you set a "forum standard theme"?

andrea

You must not set your members to "theme A" but to  "forum or board default theme". Then the right theme will be used.

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



gijs

to davon:
- the problem only occurs when members don't have the option to change their theme

to andrea:
- when not assigning a theme to a member, how can I then prevent the 'theme B'-member to see 'theme A' when not browsing a category/board (but being in the main page with default forum 'theme A')

andrea

You can disable theme selection by members.

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



gijs

#7
Quote from: andrea on January 06, 2005, 03:00:01 PM
You can disable theme selection by members.

And that's when the problem occurs like I said:  (the problem only occurs when members don't have the option to change their theme)

example:
- member 'andrea' is assigned 'theme B' (comic theme)
- the 'graphics and templates'-category is assigned 'theme B' (comic theme)
- 'andrea' is not alllowed to change her theme in her profile

when browsing the 'graphics and templates'-category andrea sees this:
http://www.simplemachines.org/community/index.php?board=34.0;theme=5

but when browsing the main page, she sees the default theme (what is wrong, since her theme is theme B (comic theme):
http://www.simplemachines.org/community/index.php?theme=1

davon

Quotethe problem only occurs when members don't have the option to change their theme

ya, my members even don't have the choice to pick a theme. they all get the forum standard. strange you have such probs there..

davon

hm, have you tried

Admin -> Theme and Layout Settings -> Reset everyone to "Forum Default" 

to make sure everyone really have your standard theme?

gijs

theme A = standard theme
theme B = comic theme

category 'graphics en templates' = theme B
'andrea' = theme B

but on the main / index page 'andrea' sees things the default 'theme A' (although she = theme B!)

A.M.A

Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

[Unknown]

Board themes are board themes...

If you select the option to not allow people to change their themes, the index is always going to be in the forum default theme.

-[Unknown]

gijs

so, there is no way to give a member 1 theme for the whole? (other than giving them freedom to change themes)

[Unknown]

Without some code editing, no.... not currently.  The editing would be the top of loadTheme in Load.php.

-[Unknown]

Advertisement: