Previous Thread
Next Thread
Print Thread
Hop To
Joined: Feb 2004
Posts: 20
Likes: 1
N
Stranger
Stranger
N Online: Content
Joined: Feb 2004
Posts: 20
Likes: 1
My board didn't allow users to switch styles before upgrading to 7.6.0. We have separate, unique for each of the forums instead.

I don't remember how I set that up again. Anybody have a clue as to how I can do it? I removed the bit in the footer for changing styles, but now only the default style shows everywhere.

Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
It seems as though youve imported the new styles and now given your users more options to choose from. upgrading to 7.6.0 does not automatically import any new styles for you. but there are instructions on how to do it manually. this sounds like what had happened.

If you dont want to use any of the styles you previously imported, you can disable them from the style editor, or delete them.

if you want certain forums to use a certain style, go in to each forum editor (in control panel > forums > forum detail > selected stylesheet) and choose the style you want it to use just for that single forum.

note, if you only have one style enabled within the style editor, all the style selection options on the user side will automatically be hidden. ie; "nothing to select from. nothing to show."


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Feb 2004
Posts: 20
Likes: 1
N
Stranger
Stranger
N Online: Content
Joined: Feb 2004
Posts: 20
Likes: 1
Sorry, maybe I didn't explain it right. I didn't import any of the new styles. I had 15 styles before. One for each of the 14 forums and one for the cfrm.

Before the upgrade, I removed the ability for anyone to switch styles, but each forum had a selected stylesheet with it's own logo and some minor differences like removing the side panels, etc. And it all worked out.

Now, only the default style (in this case the cfrm default one) shows for each forum even though I have selected a different style in the cp for each forum.

Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
Which version of UBB.threads did you upgrade from?


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Feb 2004
Posts: 20
Likes: 1
N
Stranger
Stranger
N Online: Content
Joined: Feb 2004
Posts: 20
Likes: 1
7.5.8

Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
If a user chooses their own style, it will carry over with them for all the forums.

But if they choose "Default Style" it will use the one you've set up for them to use as default. Including the ones you've setup for them as the "Default Stylesheet" forum setting.

Basically, "Default Style" means, "The style to use when none is specifically chosen."

To update all your users to use the default forum style, run this command from Control Panel » Database Tools | SQL Command

Code
UPDATE ubbt_USER_PROFILE
SET USER_STYLE = '0'

NOTE: If you are using a custom table prefix, you'll need to use that prefix, instead of "ubbt"

Last edited by id242; 03/05/2017 8:47 PM. Reason: updated to correct SQL command

Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Feb 2004
Posts: 20
Likes: 1
N
Stranger
Stranger
N Online: Content
Joined: Feb 2004
Posts: 20
Likes: 1
Thanks, but I get the following error -

Code
Script: [my paths]/admin/dodbcommand.php
Line#: 75
SQL Error: Unknown column 'USER_STYLESHEET' in 'field list'
SQL Error #: 1054
Query: UPDATE ubbt_USER_PROFILE SET USER_STYLESHEET = 'use_default'

Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
updated my post to reflect the sql error smile


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Feb 2004
Posts: 20
Likes: 1
N
Stranger
Stranger
N Online: Content
Joined: Feb 2004
Posts: 20
Likes: 1
Perfect!

That worked. I appreciate your help and all the work you did in this update. Thank you!

Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
You're very welcome. I enjoy working with this software smile

If you havent done so already, save the query so you can easily run it again if needed.
Give it a name such as, "Set all users to use forum Default Style" works. But it can be named anything thats descriptive for you.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (ahmed047, Nightcrawler), 615 guests, and 132 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)