The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to let other scripts use the css files
Hi there, I have a question I hope someone could help me out with. I'm trying to find out how to let other scripts (non vb) to use the same css style as the forums. The scripts are also in a different directory.
I also would like the styles to change to when the user changes the style within the forums (cause I have more than 1 skin at my forums). Also, my css styles are saved as files within the clientscript folder and everytime I edit something in the css style manager, the url changes for that style. for example if it is style-8ed0802e-00049.css if i edit something such as a font color, the name becomes style-8654987-00049.css automatically. I also noticed that the stylesheet for each skin is called by the variable $style[css] within the headinclude template. Could anyone possibly help me out with this or at least give me some tips, thank you. |
#2
|
||||
|
||||
I would assume that if you include global.php in the non vb script then you would have access to the style[css] variable (and many others as well) - you may then have to convert it to a full path.
|
#3
|
||||
|
||||
thanks, I was actually thinking of doing that as well. My last question is that, would it affect anything if I convert the path's to full paths.
for example if it's ./includes/functions.php to /home/site/public_html/forums/includes/functions.php? would this have any effect on the load of each page or anything else? thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|