The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
This doesn't seem to work on my forum. If I set it to yes, I still see the CSS being output in the source.
Any ideas why that's the case? |
#2
|
|||
|
|||
![]()
Generally this issue is caused when vBulletin can't write to the css folder; try chmoding it to 0777 and then toggle the setting off (view a page) then back on.
|
#3
|
|||
|
|||
![]()
Genius! That worked perfectly. Now how can I include this CSS on a page outside of vB? I assume the naming standard for it is somewhat dynamic etc.
|
#4
|
|||
|
|||
![]()
The permissions depend on what sapi you're using with PHP also. If you're using CGI or FastCGI, you can tighten permissions down a bit more to 755. If you're using PHP as a dso (mod_php) you'll need to use 777 (and should look into another sapi for the security).
As for including the styles on another page if you include global.php and use vBulletin to power your other pages (home page for the forums, custom portal, whatever) it would be taken care of for you. If you just want to link to the CSS, I'm honestly not sure how you would accomplish that, as yes, the stylesheets are dynamic and the names change from what I've noticed on my forums. |
#5
|
|||
|
|||
![]()
So you can't call a template or function etc to find out the name of the CSS? I include global.php on all pages.
|
#6
|
|||
|
|||
![]() Quote:
https://vborg.vbsupport.ru/showthread.php?t=62164 You should be able to grab the stylesheet locations from $headinclude |
#7
|
|||
|
|||
![]()
Dang, never thought of that! That's a great idea. So close to getting this working now. Only problem is that some of my pages aren't in the root directory so the CSS link doesn't work.
So close! |
#8
|
|||
|
|||
![]() Quote:
A quick search gave me this thread which led to this. Then, I saw a plugin at the bottom of the thread. Hope that helps some. |
#9
|
|||
|
|||
![]()
Bingo! That works a charm.
Cheers for that mate, phew! Have fixed about 6 things today which have been bugging me for days. |
#10
|
|||
|
|||
![]()
No problem, glad to help.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|