View Full Version : control panel css not working
bozzy
10-13-2004, 02:33 AM
view my thread on the other support site:
http://www.vbulletin.com/forum/showthread.php?p=748487#post748487
I changed the filename from controlpanel.css to cpstyles.css. I just need to reflect that change in the admincp/index.php file.
Can anybody help me?
Zachery
10-13-2004, 04:10 PM
view my thread on the other support site:
http://www.vbulletin.com/forum/showthread.php?p=748487#post748487
I changed the filename from controlpanel.css to cpstyles.css. I just need to reflect that change in the admincp/index.php file.
Can anybody help me?
Are you sure CSS is even working on the server?
bozzy
10-13-2004, 04:20 PM
Yes, the rest of the forum has CSS.
if you add "controlpanel" to any url of the forum, it tries to load cPanel
Zachery
10-13-2004, 04:22 PM
Yes, the rest of the forum has CSS.
if you add "controlpanel" to any url of the forum, it tries to load cPanel
Are you sure you are trying to link .css files or are you using inline css? there is a huge difference, i would contact your host and ask them to change controlpanel to somthing else, because if you try to call controlpanel.css there is no reason to get redirected to cpanel's login
bozzy
10-13-2004, 04:25 PM
Why would my host fix a glitch with someone else's software?
linking .css files works for the rest of the forum, just not in the admin panel because controlpanel.css calls cPanel for some reason.
I renamed all the controlpanel.css files in the cpstyles directory. I just need to reflect that change in the admincp/index.php file...but where in the file controls this? do you know?
I pretty much have this solved, if I only knew what to change in the admincp/index.php file...
Zachery
10-13-2004, 04:28 PM
Why would my host fix a glitch with someone else's software?
linking .css files works for the rest of the forum, just not in the admin panel because controlpanel.css calls cPanel for some reason.
I renamed all the controlpanel.css files in the cpstyles directory. I just need to reflect that change in the admincp/index.php file...but where in the file controls this? do you know?
I pretty much have this solved, if I only knew what to change in the admincp/index.php file...
:rolleyes: its NOT a glitch with vBulletin, rather how your host has setup their server software.
Your best bet is to get your host to fix this, can you link ,me to your site so i can see for myself?
bozzy
10-13-2004, 04:29 PM
<a href="http://www.unrulypolitics.com/cpstyles/controlpanel.css" target="_blank">http://www.unrulypolitics.com/cpstyles/controlpanel.css</a>
bozzy
10-13-2004, 04:32 PM
Ok I emailed my host.
Could you still tell me what to change in the index file...so i can reflect the filename change of controlpanel.css?
Zachery
10-13-2004, 04:33 PM
Ok I emailed my host.
Could you still tell me what to change in the index file...so i can reflect the filename change of controlpanel.css?
/includes/adminfunctions.php
find
<link rel=\"stylesheet\" href=\"../cpstyles/{$vboptions[cpstylefolder]}/controlpanel.css\" />" . iif($headinsert != '', "
change too
<link rel=\"stylesheet\" href=\"../cpstyles/{$vboptions[cpstylefolder]}/newcssname.css\" />" . iif($headinsert != '', "
bozzy
10-13-2004, 04:38 PM
thanks, im gonna try it now :)
bozzy
10-13-2004, 04:40 PM
It Worked! Yay!!!!!
Thank You So Much!!! :-)
Zachery
10-13-2004, 04:43 PM
Now just get your host to stop being weird and things will be good in the world ;)
bozzy
10-13-2004, 04:47 PM
Yeah i'm still going to get them to see what's going on with the phrase 'controlpanel' calling up the server cp...thats a big security hole
Zachery
10-13-2004, 04:52 PM
Not so much of a security issue, unless they know your login, but stupidity none the less :)
bozzy
10-13-2004, 05:21 PM
Not so much of a security issue, unless they know your login, but stupidity none the less :)
true lol
bozzy
10-13-2004, 07:17 PM
my host removed the 'controlpanel' alias they have. so its fixed again. lol
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.