View Full Version : Custom Styles on forums... for guests?
Crazy Squirrel
Wed 18th Jun '03, 7:18pm
Got a couple of forums with a Custom Style defined and override enabled. All fine and looking how they should if you are logged in.
However if you're not logged in they appear in the default style :(
We've looked everywhere and can't find any sort of setting that might effect this, and it definatly worked ok in vB2. Have we overlooked a secret setting or is this a bug?
Thxs go to Phil.
irc
Wed 18th Jun '03, 8:30pm
Same problem here. I didn't notice it until I saw this message. I have a special style for two of my forums and when I'm logged out I see the default style.
Zaphod
Thu 19th Jun '03, 4:37am
I also am running into this problem.
irc
Thu 19th Jun '03, 11:54am
Now I'm getting users reporting that they see the default board style for the special forums when they are logged in. As am I. Clearly the "Override Users' Style Choice" is broken :(.
Zaphod
Thu 19th Jun '03, 8:24pm
Yeah it all seems to piviot on if the viewer is logged in or not. If logged in they the forced child templates if not logged in they see the parent.
Real wierd that not a dev has commented to acknowlege it.
Zaphod
Mon 23rd Jun '03, 3:00am
Anybody have anything on this yet?
Scott MacVicar
Tue 24th Jun '03, 5:46am
I just done testing on my local forum. I dont believe custom styles specified are inherited could this be the problem?
Zaphod
Wed 25th Jun '03, 10:39pm
I think so. Pretty much what we did was make a child style and changed the header template specifyed that it is to be used in a spesific forum and not selectable by anybody.
Now the wierd thing is. You can go to that forum and it shows the child templates IF you are logged in. Logout and it shows the main style only.
Mike Sullivan
Wed 25th Jun '03, 11:10pm
I haven't been able to reproduce this issue, either when logged in or not. Are these upgrades or fresh installs? I'm thinking it might be something upgrade related, hence why it's not affecting my test install.
Zaphod
Wed 25th Jun '03, 11:11pm
It is an upgrade in my case.
Scott MacVicar
Thu 26th Jun '03, 4:33am
Can you pm me your phpMyAdmin details and the forumids in question that are acting up.
Crazy Squirrel
Sat 28th Jun '03, 12:40pm
Upgrade here too.
If you havn't solved it I can get any info you want from our forum/db, if you can tell me what you want to check.
But I can't give any db access, i'll talk to the forum owner when he returns on monday if still necesssary.
Scott MacVicar
Sat 28th Jun '03, 12:47pm
find the forum causing the problem and replace X with that id
SELECT * FROM forum WHERE forumid = X
SELECT * FROM style
SELECT * FROM settings WHERE varname = 'styleid'
pm me those details, that should be enough to debug this.
Zaphod
Sat 28th Jun '03, 2:43pm
find the forum causing the problem and replace X with that id
SELECT * FROM forum WHERE forumid = X
SELECT * FROM style
SELECT * FROM settings WHERE varname = styleid
pm me those details, that should be enough to debug this.
Your last sql was a bit off. It should be:
SELECT * FROM setting WHERE varname = 'styleid'
Here is the results I got.
http://www.fordforums.com/vb/
Scott MacVicar
Sat 28th Jun '03, 3:06pm
ok just do double check.
When guests go to fourmid 436 they get styleid 2 and not styleid 1 as they should?
Zaphod
Sat 28th Jun '03, 3:07pm
ok just do double check.
When guests go to fourmid 436 they get styleid 2 and not styleid 1 as they should?
yes, and if your logged in you get styleid 1.
Scott MacVicar
Sat 28th Jun '03, 3:13pm
One last confirm so I dont get too confused.
Forum
-----
Style = styleid 1
Style override is on
Registered user sees styleid 1 as intended
Guest sees styleid 2 the default style and not what the registered user sees?
---------------
Try this, tick the box next to the name for styleid 1 to enable userselect and see if the issue remains the same.
Zaphod
Sat 28th Jun '03, 3:22pm
One last confirm so I dont get too confused.
Forum
-----
Style = styleid 1
Style override is on
Registered user sees styleid 1 as intended
Guest sees styleid 2 the default style and not what the registered user sees?
---------------
Try this, tick the box next to the name for styleid 1 to enable userselect and see if the issue remains the same.
Nope you got it right.. Will go try the checkbox and reply.
Zaphod
Sat 28th Jun '03, 3:29pm
Nope you got it right.. Will go try the checkbox and reply.
Checkbox checked and its showing the correct style now. But the style will be selectable by normal users if thats enabled correct?
Scott MacVicar
Sat 28th Jun '03, 3:30pm
yeah, i get the way your trying to work it now. You want to have the design only for that forum but not selectable for all forums?
I'll sort that now that I know whats wrong.
Zaphod
Sat 28th Jun '03, 3:33pm
yeah, i get the way your trying to work it now. You want to have the design only for that forum but not selectable for all forums?
I'll sort that now that I know whats wrong.
Excelent!
Erwin
Wed 2nd Jul '03, 12:08am
I have the same bug.
My Admins and Supermods can see the override style for a forum, but registered members and Mods see the default style, even with override switched on.
Erwin
Wed 2nd Jul '03, 12:26am
I worked out the problem. I had to make the style "selectable by user" before the style override work for members. This is not the case in the past and is a bug.
Scott MacVicar
Wed 2nd Jul '03, 3:46am
and its a fixed bug hence why its in the Resolved Bugs forum :)
Chris M
Wed 2nd Jul '03, 4:30am
and its a fixed bug hence why its in the Resolved Bugs forum :)
I presume that means a beta 5 job;)
Satan
Erwin
Wed 2nd Jul '03, 6:18am
Any possibility of posting a fix in the meantime for those who want this working? :)
irc
Fri 4th Jul '03, 4:12am
nevermind. yeah... any chance of a fix?
Princeton
Sat 2nd Aug '03, 9:04pm
AHHHH.... I thought I was going crazy. I'm not the only one with this problem. Ha, ha, ha, ha, ahaahhaahah,...
I agree! A temporary fix would be great!
BettorsPub
Wed 10th Mar '04, 11:29am
What was the resolution? I check all styles to be user select and guests still get the default style when I put ?styleid=x
vBulletin® v3.8.0 Beta 3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.