The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Link External Page to VB CSS Files
I have a page outside of VB that I would like to use VB CSS styles on. The easy answer is to just view the CSS styles of a VB page and create a new CSS style sheet and link my external page to that, buts that more work if I make a change.
How would I link a page outside of VB to the style sheets that VB dynamically builds? Is it even possible? |
#2
|
|||
|
|||
Postmortem bump. I'd like to know this too.
I have set VB to output CSS as a file, and have integrated VB: I just need to know the function/variable call that will echo the users' selected stylesheet. |
#3
|
|||
|
|||
I think first store the CSS as file in 'clientscripts/vbulletin_css' folder (chmod first 777)
You can find this option to store css as file in vbulletin option and then, you can link that css file to your external pages! Like- Quote:
|
#4
|
|||
|
|||
Quote:
The trick is that the script has to figure out which css file that the user has selected, as opposed to hard coding it like that. There is probably a global variable or function that will do this, but I don't know what it is. |
#5
|
|||
|
|||
Bump
Anybody? Not knowing how to do this is really holding me back on my project. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|