View Full Version : Style not kept when boards are closed
Ogden2k
07-02-2004, 04:48 PM
When I close the boards, the style is not kept on the portal.
I have my style saved as a CSS file.
Here's my layout:
public_html/portalindex.php
public_html/forums/index.php
When the boards are open, the style obviously works.
Zachery
07-02-2004, 04:51 PM
Ive known this for a while, its a problem when you have CSS as a file. It will require an edit to a template. let me see if i can dig it up
MegaHertz
07-03-2004, 04:12 AM
Same problem here. Guess I'll revert back to not storing CSS as files until it is sorted out. :)
Zachery
07-03-2004, 02:19 PM
IMO dont, how often do you close the boards?
MegaHertz
07-03-2004, 02:35 PM
I didn't turn that off yet so I'll leave be for now and hope it is fixed in a future release. :)
Brian
07-03-2004, 09:04 PM
Hadn't noticed this before. I'll move this to the bugs forum though to make sure it's looked into to see what can be done.
Ogden2k
07-03-2004, 09:12 PM
IMO dont, how often do you close the boards?
Once in awhile I shut the boards down for maintenance and it looks unprofessional to have the CSS broke when it's done. :|
Zachery
07-03-2004, 11:03 PM
Just switch it off then :p
Merjawy
07-04-2004, 12:48 AM
I know this is not vB forum but whats the advantage of having CSS as a file? I saw it first when I installed vB but didn't bother to change the default (its off) :)
Zachery
07-04-2004, 01:35 AM
Your users can cache the large ammount of CSS that vBulletin uses on every page in a single file. It should help reduce your bandwith and abit of server load :)
MegaHertz
07-04-2004, 04:40 PM
Thanks for looking into this Brian.
I also just realized that if you have disabled any pages for certain user groups the CSS will be broken if they attempt to access those pages.
Brian
07-04-2004, 05:26 PM
In your forum/includes/functions.php file look for:
$title = $vboptions['bbtitle'];
$pagetitle = &$title;
$errormessage = $error;
Right above that, add:
$headinclude = str_replace('"clientscript', '"' . $vboptions['bburl'] . '/clientscript', $headinclude);
Let me know how that works out. :)
MegaHertz
07-04-2004, 05:58 PM
No go on my forum.
Brian
07-05-2004, 01:25 AM
Odd, it worked just fine on my localhost... If you'd like to submit a support ticket I'll be glad to take a look and see what the problem is.
MegaHertz
07-05-2004, 03:32 AM
Support request submitted. :)
Ogden2k
07-05-2004, 01:06 PM
It worked for me Brian, thank you!
Merjawy
07-05-2004, 04:56 PM
Your users can cache the large ammount of CSS that vBulletin uses on every page in a single file. It should help reduce your bandwith and abit of server load :)
aha, thanx Zac :)
Richard
07-05-2004, 05:37 PM
In your forum/includes/functions.php file look for:
$title = $vboptions['bbtitle'];
$pagetitle = &$title;
$errormessage = $error;
Right above that, add:
$headinclude = str_replace('"clientscript', '"' . $vboptions['bburl'] . '/clientscript', $headinclude);
Let me know how that works out. :) That fixed it for me. I had just added:
<base href="my_forum_url">
to the STANDARD_ERROR template as a work around.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.