View Full Version : clientscript Path
ConqSoft
05-04-2005, 05:22 PM
I have a custom CMPS page set up to only allow certain usergroups to access it.
If you try to go there while not being logged in, you should get the standard vBulletin login, which you do.
http://www.fireblades.org/index.php?page=chat
But, it's not updating the clientscript path so that the CSS is loaded.
Brian
05-04-2005, 05:35 PM
IIRC, this was reported a week or two ago and the files here updated to correct the problem. Try downloading the package again, upload the vba_cmps_include_bottom.php file over your existing one and that should take care of the problem. Of course if it doesn't though let me know.
ConqSoft
05-04-2005, 06:09 PM
Yep, that seems to have done it.
Thanks.
ConqSoft
05-11-2005, 11:48 AM
Hmm. When I have my site closed, the CSS breaks again.
As a guest, view: http://www.fireblades.org/
ConqSoft
05-11-2005, 01:33 PM
(My site is open again now, so you won't be able to see it. But, it should be easy to re-create. :D )
Brian
05-11-2005, 02:24 PM
Double check your global.php file and make sure that the call to your 'vba_cmps_include_bottom.php' file is just below this line and not still near the bottom of the file.
// #############################################################################
// ######################### END TEMPLATES & STYLES ############################
// #############################################################################
That was a problem in versions prior to 1.0.1, but *should* have been corrected in 1.0.1 by moving that line.
ConqSoft
05-11-2005, 08:39 PM
Oops. Yep, it was still at the bottom. :o
Thanks
ConqSoft
07-14-2005, 04:43 PM
My site is closed currently, and when you try to go to the Gallery, the CSS is broken. Is it something related to this old CMPS bug that I had? Did I miss an edit somewhere? (Running CMPS 2 RC2 and Gallery 1.01)
http://www.fireblades.org/gallery/
Brian
07-14-2005, 06:03 PM
Hmmm... I don't think there's really going to be a good way to fix that without hacking the files, which I'm not sure it's worth having as a step in the install instructions since the only time it would be used is when the site is closed. If you'd like to fix the problem though you should be able to look in your global.php file for this code:
// #############################################################################
// ######################### END TEMPLATES & STYLES ############################
// #############################################################################
And add this right above it:
$headinclude = str_replace('"clientscript', '"' . $vboptions['bburl'] . '/clientscript', $headinclude);
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.