vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   CSS as a link, not in source (https://vborg.vbsupport.ru/showthread.php?t=81994)

edbri871 05-25-2005 01:21 AM

CSS as a link, not in source
 
Not that this is really needed for any reason, but i'd like to find out if it's possible as it will make viewing the page source easier.

In vbulletin if you view the source you can see all of the css for the page right in the header, which is really annoying to have to scroll through to get to the actual html code.

It would be nice if it was just a link to the css instead of it all being right there i the source (usually in the form of <link rel="stylesheet" src="whatever.css" />).

So does anyone know if this is possible? I hope you know what i'm talking about. :squareeyed:

edit: oops why did i post in vb2 hacks. :rolleyes:
can a mod please move this?

Zachery 05-25-2005 01:59 AM

Why hack in what is a standard feature ;)

Store CSS as a File, its in the AdminCP > vBulletin Options

nexialys 05-25-2005 02:47 AM

you just need to set the options to save the CSS in files... in the Styles and Language tab... and chmod the directory "clientscripts" to 0777...

edbri871 05-25-2005 11:32 AM

Quote:

Originally Posted by nexialys
you just need to set the options to save the CSS in files... in the Styles and Language tab... and chmod the directory "clientscripts" to 0777...

I tried that.
it already was set to save css as files, but it's still showing it in the page source. is there something else i have to do?

Zachery 05-25-2005 01:13 PM

Quote:

Originally Posted by edbri871
I tried that.
it already was set to save css as files, but it's still showing it in the page source. is there something else i have to do?

If you enabled the option, THEN chmod'ed the folder, it couldn't write to the folder when you saved the option.

Disalbe it, ensure that clientscript/vbulletin_css is chmoded to 777 and then renable the option.

edbri871 05-25-2005 10:28 PM

alright, the problem was that the ftp wasn't doing the chmod.
the site owner had the server guys chmod it for us, and the option works now.

thanks for the help! :)


All times are GMT. The time now is 07:25 AM.

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.01105 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete