Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-13-2004, 02:33 AM
bozzy bozzy is offline
 
Join Date: Oct 2003
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default control panel css not working

view my thread on the other support site:
http://www.vbulletin.com/forum/showt...487#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?
Reply With Quote
  #2  
Old 10-13-2004, 04:10 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bozzy
view my thread on the other support site:
http://www.vbulletin.com/forum/showt...487#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?
Reply With Quote
  #3  
Old 10-13-2004, 04:20 PM
bozzy bozzy is offline
 
Join Date: Oct 2003
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, the rest of the forum has CSS.

if you add "controlpanel" to any url of the forum, it tries to load cPanel
Reply With Quote
  #4  
Old 10-13-2004, 04:22 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bozzy
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
Reply With Quote
  #5  
Old 10-13-2004, 04:25 PM
bozzy bozzy is offline
 
Join Date: Oct 2003
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #6  
Old 10-13-2004, 04:28 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bozzy
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...
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?
Reply With Quote
  #7  
Old 10-13-2004, 04:29 PM
bozzy bozzy is offline
 
Join Date: Oct 2003
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.unrulypolitics.com/cpstyles/controlpanel.css" target="_blank">http://www.unrulypolitics.com/cpstyles/controlpanel.css</a>
Reply With Quote
  #8  
Old 10-13-2004, 04:32 PM
bozzy bozzy is offline
 
Join Date: Oct 2003
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #9  
Old 10-13-2004, 04:33 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bozzy
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
Code:
	<link rel=\"stylesheet\" href=\"../cpstyles/{$vboptions[cpstylefolder]}/controlpanel.css\" />" . iif($headinsert != '', "
change too
Code:
	<link rel=\"stylesheet\" href=\"../cpstyles/{$vboptions[cpstylefolder]}/newcssname.css\" />" . iif($headinsert != '', "
Reply With Quote
  #10  
Old 10-13-2004, 04:38 PM
bozzy bozzy is offline
 
Join Date: Oct 2003
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, im gonna try it now
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04024 seconds
  • Memory Usage 2,248KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete