Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
on my 6.4 boards, i had, like, 60 different skin styles for people to choose from. for obvious reasons, i've since gotten rid of that notion, because it was impossible to do upkeep on any of them (like, say, if i added a style class, or something).

so, when i moved to 6.5, my intention was to provide only 5 or 10 or so options.

however, just because i've nixed the "really really red" skin in favor of promoting the "default", doesn't mean someone who has "really really red" selected in their preferences moves over.

rather, they're trapped in a simple, skin-less world, with white backgrounds and black text.

sooo....

is there a way to make it so that if you have a skin selected that is no longer an option, you're automatically moved to the default? (that way, i wouldn't have to manually change the profiles of 750 users.)

Sponsored Links
Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
You could either update EVERYONE to the default skin, or change only those whose skins you removed. The simplest way would be to blow everyone's preference away, and let them reset with the new choices.

UPDATE w3t_Users SET U_StyleSheet='usedefault'

Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
thanks medar!

odds are, ill prolly go that route.

however, if i chose the other path, tho, and changed only those whose skins i removed (to avoid all the sure-to-follow grumbling), what would that be?

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
UPDATE w3t_Users SET U_StyleSheet='usedefault' WHERE U_StyleSheet='deletedsheet'

You would repeat that for each sheet you deleted, and you would use the stylesheet actual name (or keyword).

Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
thanks medar!

Sponsored Links

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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)