Previous Thread
Next Thread
Print Thread
Rate Thread
how do I force everyone to use new default style?
#276094 07/06/2004 4:29 PM
Joined: Feb 2002
Posts: 1,759
msula Offline OP
Addict
OP Offline
Addict
Joined: Feb 2002
Posts: 1,759
This is odd. I just updated the default style for my site, and it is the only style, so everyone should be forced to use it. Most people do, although a few are still saying they see the old style.

Ok, so to see if they were lying or not, I checked their profile. It did say "always use default". So it should work. I logged in as that user to double check, and sure enough it is still showing the old stylesheet. So I mean, why is this happening, and how can I fix it? It doesn't add up

Sponsored Links
Re: how do I force everyone to use new default style?
palmen #276095 07/06/2004 4:33 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Offline
Moderator
Joined: Aug 2000
Posts: 3,590
Their profile probably holds the value for the old stylesheet, but since it's not in the list, it defaults to the default. ask them to update their profile and see what happens

Re: how do I force everyone to use new default style?
javiersbabygirl #276096 07/06/2004 4:36 PM
Joined: Feb 2002
Posts: 1,759
msula Offline OP
Addict
OP Offline
Addict
Joined: Feb 2002
Posts: 1,759
If they pick the stylesheet name, rather than default, it then works. But they have to manually select the stylesheet that way, which defeats the purpose of "use default"

Re: how do I force everyone to use new default style?
palmen #276097 07/06/2004 6:54 PM
Joined: May 2003
Posts: 1,068
Junior Member
Offline
Junior Member
Joined: May 2003
Posts: 1,068
I had the same promlem, Jeremy. Here's the query to force an update.

UPDATE w3t_Users SET U_StyleSheet='usedefault'

Re: how do I force everyone to use new default style?
BlarC #276098 07/06/2004 8:50 PM
Joined: Feb 2002
Posts: 1,759
msula Offline OP
Addict
OP Offline
Addict
Joined: Feb 2002
Posts: 1,759
Thanks eric. I still wonder why people who had their setting as default were still being shown the old one though. I've updated everyone, and hopefully that takes care of it

Sponsored Links
Re: how do I force everyone to use new default style?
palmen #276099 07/06/2004 9:05 PM
Joined: May 2003
Posts: 1,068
Junior Member
Offline
Junior Member
Joined: May 2003
Posts: 1,068
Scream came up with that for me a little while back. I wonder if it has something to do with caching, after I changed mine and took out the old one, so the new one was the only default, some users still saw the old one until I forced it.

Re: how do I force everyone to use new default style?
BlarC #276100 07/06/2004 9:18 PM
Joined: Feb 2002
Posts: 1,759
msula Offline OP
Addict
OP Offline
Addict
Joined: Feb 2002
Posts: 1,759
must be one of those bugs that aren't supposed to exist

Re: how do I force everyone to use new default style?
palmen #276101 07/07/2004 8:50 AM
Joined: Sep 2003
Posts: 803
Coder
Offline
Coder
Joined: Sep 2003
Posts: 803
"Cookies are the root of all evil" (next to .php)


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,533
Posts293,731
Members13,834
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 255
Topics Created 0
Posts Made 1
Users Online 3
Birthdays 22
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,796
Greg Hard 4,625
Top Posters(30 Days)
isaac 7
driv 3
Gizmo 1
Top Likes Received
isaac 34
Gizmo 8
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 1
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Snapshot build 20200315.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.047s Queries: 31 (0.017s) Memory: 3.2943 MB (Peak: 3.4719 MB) Data Comp: Zlib Server Time: 2020-03-28 17:33:53 UTC
Valid HTML 5 and Valid CSS