![]() |
Prefix url if storing CSS as a files
Update to my original by use of a plugin.
https://vborg.vbsupport.ru/showthread.php?t=63520 THE FILE IS A PLUGIN NOT A PRODUCT! |
Nice one ;)
|
Quote:
|
Quote:
|
What does this do exactly?
|
Quote:
If you apply Zachs plugin, it will prefix the output of $[css] with $vboptions[bburl]. :) |
Quote:
|
Quote:
|
nice work :)
|
Quote:
|
Quote:
Are you sure its not working? |
Quote:
|
Quote:
the path to the css file should be prefixed with your domain name. Give me a link to your site so I can take a look : |
mine is also not working.
http://www.sikhphilosophy.net/sikhphilosophy/blog/ |
Quote:
|
Simple & extremely useful! Thanks! :)
|
I think this is what I am looking for but I am not sure how to use it.
If you visit my site www.bangthebook.com the homepage header uses the css file for the background etc. How do I get this to happen in the forum as well. If I understand right this plugin does it yet I cant get it to work. What am I missing. Sorry if I am way off here Thanks Ryan |
it looks like you have at least 2 style sheets, one for your index.php page and one for your forum. if that's ok with with you then you don't need this plugin.
this plugin is useful if you have pages outside of your forum/ directory and you wantto apply your vb styles to them. this plugin allows any page outside of your forum/ directory to access the css file. for example, notice on expatbars.com that the index page has the same style as expatbars.com/forums/ and expatbars.com/gallery/ and if you view the source you can see that the css file is linked with the complete URL, not just "clientscript/vbulletin_css/123.css hope that helps eric |
yes it does. Thanks. Any ideas how I can get the reverse of this for my header? Its driving me nuts to have two different ones
|
Quote:
|
Quote:
Do you want to have only one css file? |
Thank you for this Zach. I didn't know you released untill I requested that Jelsoft put the option back in the admincp. :)
http://www.vbulletin.com/forum/showthread.php?t=181076 [high]* Logikos clicks install ;)[/high] |
Does anyone know what the heck is wrong with my site? I have it set to store as files, and I have this plugin installed. But when I lookedat my source, it isnt showing it as a file. I would really like some help, becasue I hate seeing the css in the code.
|
vbulletin can't write the css files to the directory, ensure that it has the proper permissions and disable/reneable the option.
|
Which directory? I thougth I did that...
|
I didnt know what permissions to give it, but I gave it to them, and now its working.
What number should I have set? |
777 ;) just like the instructions say
|
its really nice Thanks, reduces page size :)
|
Still working in 3.6
|
Awesome!.
thanks Zachery |
This appears to be exactly what I am looking for, but excuse my niavety: how do you actually call this URL in an integrated non-vb page?
|
Forgive my ignorance, but is this what you'd use to be able to have your normal non-forum web pages be the same CSS style as your forum's style? Or is this something else?
|
First off, this is an awesome plug in.. I installed the Groups Commune package and it pointed me here as this is a required plug in if you are using the "store css as files" option and you want the Groups Commune to work.
I love this plug in and now I am wondering if the same could be done for <img> tags. Some components that reside in subdirectories have issues with templates that don't link to their images correctly. I am having a problem where the author of a template did not put in a leading '/' in the src='' statements ( ie: src="TemplateName/whatever.png" ). So the result is all my images are dead when I am in a subdirectory. ( ie: http://www.example.com/groups/ ) This is just an idea I had, I figured I may try writing it but seeing as I don't have much experience with VB plug ins I though I would leave it to the pro's. Time for me to go fix templates :( Thanks again for helping out the community with this great plug in! |
how do you use this?
I don't get it. I installed it, what then? |
Then nothing, it works or you're not storing CSS as a file.
|
Anyone tested this with 3.8?
|
Works just fine.
|
i tested works fine 3.8.6.1
|
it is not work for 4.1.2
could you update it plz |
vB4 does this by default with the base url option.
|
All times are GMT. The time now is 06:11 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|