Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 59 guests, and 388 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Gizmo
Gizmo
Portland, OR; USA
Posts: 16,788
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 18
M4TT 12
FREAK 11
Ruben 8
isaac 4
mmkk 4
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
Seperate (forced) Styles for each forum #259726
03/05/17 03:49 PM
03/05/17 03:49 PM
Joined: Feb 2004
Posts: 10
San Diego, CA
N
Nightcrawler Offline OP
stranger
Nightcrawler  Offline OP
stranger
N
Joined: Feb 2004
Posts: 10
San Diego, CA
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.

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: Seperate (forced) Styles for each forum [Re: Nightcrawler] #259727
03/05/17 04:40 PM
03/05/17 04:40 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
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."

Re: Seperate (forced) Styles for each forum [Re: Nightcrawler] #259729
03/05/17 07:26 PM
03/05/17 07:26 PM
Joined: Feb 2004
Posts: 10
San Diego, CA
N
Nightcrawler Offline OP
stranger
Nightcrawler  Offline OP
stranger
N
Joined: Feb 2004
Posts: 10
San Diego, CA
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.

Re: Seperate (forced) Styles for each forum [Re: Nightcrawler] #259730
03/05/17 07:28 PM
03/05/17 07:28 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
Which version of UBB.threads did you upgrade from?

Re: Seperate (forced) Styles for each forum [Re: Nightcrawler] #259731
03/05/17 07:35 PM
03/05/17 07:35 PM
Joined: Feb 2004
Posts: 10
San Diego, CA
N
Nightcrawler Offline OP
stranger
Nightcrawler  Offline OP
stranger
N
Joined: Feb 2004
Posts: 10
San Diego, CA
7.5.8

Re: Seperate (forced) Styles for each forum [Re: Nightcrawler] #259732
03/05/17 07:38 PM
03/05/17 07:38 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
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/17 07:47 PM. Reason: updated to correct SQL command
Re: Seperate (forced) Styles for each forum [Re: Nightcrawler] #259734
03/05/17 07:45 PM
03/05/17 07:45 PM
Joined: Feb 2004
Posts: 10
San Diego, CA
N
Nightcrawler Offline OP
stranger
Nightcrawler  Offline OP
stranger
N
Joined: Feb 2004
Posts: 10
San Diego, CA
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'

Re: Seperate (forced) Styles for each forum [Re: Nightcrawler] #259735
03/05/17 07:48 PM
03/05/17 07:48 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
updated my post to reflect the sql error smile

Re: Seperate (forced) Styles for each forum [Re: Nightcrawler] #259736
03/05/17 07:53 PM
03/05/17 07:53 PM
Joined: Feb 2004
Posts: 10
San Diego, CA
N
Nightcrawler Offline OP
stranger
Nightcrawler  Offline OP
stranger
N
Joined: Feb 2004
Posts: 10
San Diego, CA
Perfect!

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

Re: Seperate (forced) Styles for each forum [Re: Nightcrawler] #259737
03/05/17 08:07 PM
03/05/17 08:07 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
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.


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Users Unable to Upload Avatar [Not a Bug]
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,544
Members12,045
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)