php forum
php mysql forum
php mysql smarty
 
Topic Options
#224359 - 09/10/02 09:45 AM Problem with Stylesheets (redux)
Kerouac Offline
Newbie

Registered: 08/26/02
Posts: 24
I've read the problem with stylesheets post below and still have a problem <img src="/forum/images/icons/wink.gif" alt="" /> <br /><br />I seem to have the same problem and the answer above doesn't really seem to fix it. I, as admin, want to define which stylesheet to use for a particular forum, design the look and feel of each forum. When I - for example - set "black & Blue" as the style sheet to use for forum xyz it remains set to the default. How do I set this up so that I control the look and feel of each individual forum - not the end user?<br /><br />Thanks<br /><br />K.<br /><br /> Glen Lachart

Top
#224360 - 09/10/02 10:22 AM Re: Problem with Stylesheets (redux) [Re: ezzotint]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
You can edit the place where they choose their stylesheet from the template file. <img src="/forum/images/icons/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#224361 - 09/10/02 10:47 AM Re: Problem with Stylesheets (redux) [Re: ezzotint]
Kerouac Offline
Newbie

Registered: 08/26/02
Posts: 24
Thanks Allen - but I guess I'm a bit thick - does this mean that the styles defined for the site and then the forums regardless of who I am, guest, user, moderator, adminitrator are ultimately user controlled? So that for example if I as Admin have in my Home Page settings the default style selected then I as administrator cannot alter the style settings for individual forums - unless I alter them for myself?

Top
#224362 - 09/10/02 11:32 AM Re: Problem with Stylesheets (redux) [Re: ezzotint]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Not without a modification... you can specify individual headers/footers for a forum, but the css files are global.
_________________________
- Allen wavey
- What Drives You?

Top
#224363 - 09/10/02 11:43 AM Re: Problem with Stylesheets (redux) [Re: SurfMinister]
Kerouac Offline
Newbie

Registered: 08/26/02
Posts: 24
I see, I read one of Josh's posts where he hacked something like this:<br />if ($Board == "Jokes") {<br /> include ("$thispath/templates/$tempstyle/showflatrating.tmpl");<br />}<br />else {<br /> include ("$thispath/templates/$tempstyle/showflat.tmpl"); <br />} <br /><br /><br /><br />Which file would I have to modify so that If I assigned each form it's own syle sheet it would use the one I assined - or the default.<br /><br />I gues this is sort of like UBB Classic where each forum could have it's own look and feel<br /><br />Thanks<br /><br />K

Top
#224364 - 09/10/02 11:58 AM Re: Problem with Stylesheets (redux) [Re: ezzotint]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
You can already assign specific stylesheets per forum but a users's stylesheet preference will override what you have set but this is only for them. Are you trying to take away the users's ability to choose a stylesheet to use? If so then go to your admin area and edit your theme settings. You should see this line:<br /><br />"The following stylesheets were found in your stylesheet directory. Place a checkmark by those you want to make available to your users."<br /><br />Just remove the checks from them so your users can't select them. <img src="/forum/images/icons/smile.gif" alt="" /><br /><br />Of course I'm not sure if this willl affect the ability to assign the different stylesheets to different boards but I wouldn't think it would...
_________________________
~Dave
ChattersOnline.com

Top
#224365 - 09/10/02 12:05 PM Re: Problem with Stylesheets (redux) [Re: sjsaunders]
Kerouac Offline
Newbie

Registered: 08/26/02
Posts: 24
Thanks dave - but again - back to the begining - there IS an option in the admin panal to assign a forum specific style sheet BUT when i choose it or a style sheet there it doesn't stick and reverts to the default sylesheet - why do they have an option to assign a stlysheet to a forum in the admin panal if as Allen says above UBBT uses one forum wide style sheet and allows users to swap this out - but it affects everything? <br /> <br />I understand that I can of course limit the stylesheets available by unchecking them - but I can't seem - as Admin to assign particular style sheets to particular forums as the admin panal seems to give me the option to do. <br /> <br />The admin panal says: what style sheet do you want to use for this forum? No matter which sheet I pick it stays set on "use default" <br /> <br />BTY IIP 5.0 rocks! <br /> <br />Thanks <br /> <br />K


Edited by Kerouac (09/10/02 12:09 PM)

Top
#224366 - 09/10/02 12:20 PM Re: Problem with Stylesheets (redux) [Re: ezzotint]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Ok I just tested different style sheets in different boards with 6.1br1 and it seems to be working as I thought it did.<br /><br />I assigned a forum a specific stylesheet (the blues) when I created it. (I can't edit a forum with 6.1br1 because of a bug)<br /><br />All of the rest of the site is using the "infopop" stylesheet.<br /><br />Provided my personal display preferences are set to "Always use default" then I see (the blues) when using the new forum but the rest of the site is still "infopop".<br /><br />If you remove the stylesheet choices from the users then the only thing left should be "Always use default" in their display prefs. Now they will only see what you want them to see. <img src="/forum/images/icons/smile.gif" alt="" /><br /><br />Or, am I still missing the boat on this... lol <img src="/forum/images/icons/smile.gif" alt="" /><br /><br /><br />Thanks about IIP too <img src="/forum/images/icons/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#224367 - 09/10/02 12:24 PM Re: Problem with Stylesheets (redux) [Re: sjsaunders]
Kerouac Offline
Newbie

Registered: 08/26/02
Posts: 24
AH, I too am using 6.1br - but I seem to be able to use the edit a forum option - could this be what's happening? I'm editing an existing forum, assigning a style sheet other than "default' and the "bug" has me? All I want to do is exactly what you've described above.

Top
#224368 - 09/10/02 12:29 PM Re: Problem with Stylesheets (redux) [Re: ezzotint]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
That's quite possible. You may not be seeing the MySQL errors being reported. In 6.1br1 you can't edit a forum as it just doesn't take because of the bug. <img src="/forum/images/icons/crazy.gif" alt="" /><br /><br />I'm not sure but I think br2 may be in the member's area. <img src="/forum/images/icons/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#224369 - 09/10/02 12:31 PM Re: Problem with Stylesheets (redux) [Re: ezzotint]
Kerouac Offline
Newbie

Registered: 08/26/02
Posts: 24
AH HA! I get it now - I'm an idjit! I created a stylesheet that I'd assigned as the default theme. In my Homepage settings - rather than use default - I had the style sheet I'd created (the default) selected - to me I assumed that I WAS using the default - but NO I was telling it to use the style sheet called "default' as the default not the default - confusing eh? Got it now

Top
#224370 - 09/10/02 12:34 PM Re: Problem with Stylesheets (redux) [Re: ezzotint]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
LoL ok well that's still good news.. <img src="/forum/images/icons/smile.gif" alt="" /><br /><br />btw, I didn't seen anything but br1 for betas in the members area.
_________________________
~Dave
ChattersOnline.com

Top
#224371 - 09/10/02 12:35 PM Re: Problem with Stylesheets (redux) [Re: sjsaunders]
Kerouac Offline
Newbie

Registered: 08/26/02
Posts: 24
I'm using 6.1b1 and seem to be able to edit forums just fine

Top
#224372 - 09/10/02 12:38 PM Re: Problem with Stylesheets (redux) [Re: ezzotint]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Shhhhhhh... don't jinx it. <img src="/forum/images/icons/wink.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks