![]() |
prefix url if store CSS as a file
open global.php
find PHP Code:
PHP Code:
Yes, im stil using it on my RC4 with no problems, i made a change, |
Exactly what i was looking for!
Saddly it didnt work :ermm: It does not seem to be making the change. Are you using this your self? |
YEs im still using it on my RC4, i changed it abit, see if it works now
|
Quote:
|
Ive had a few users request it for varius reasons at vBulletin.com :) <shurgs> developing self made appications that use the template system?
|
$vboptions[bburl] is better that $vboptions[abspath]
|
Quote:
|
if you have install any hack that installed in a different directory it might not work bcoz of the file location...
if you use the full url, it will work on any hack that u installed.. :D |
Quote:
<base href="http://www.bowlie.com/forum/" /> :) |
Perfect! It now works :nervous: Thanks Zachery.
|
cool, can I change the whole .css file name as well to a normal one? for ecample zachery2.css
|
Eh, that would require further modifcation, the system saves it as
style-(time*var)-id.css |
beautiful. Was having some difficulties with my Photopost install and this cleared up my problems.
|
Excellent work, Zach. I was looking for this exact thing. ;)
|
Quote:
|
didn't even know this existed, great work zach :D
has anyone tested this with the community bulletin? |
Quote:
|
now you got me wondering what other goodies i've missed :p
|
I still dont understand exactly what this does, could anyone give a clearer description of where, how and why you would use this?
|
Quote:
This ensure that no matter what directory your hack may be in, the CSS will be correct. |
Quote:
|
Installed this mod,
but lot of members started facing problems after installation and i had to remove those codes. Check attachments -> my background etc. (default vbulletin skin all disappeared ) i am using vb 3.0.3 |
Quote:
|
you should change the ref of abspath to bburl :)
|
Installed for the sheer hell of it.. ;)
|
This is very good.
Not sure exactly why I would need it though. Are you suggesting we can the vb headers for plug-ins like 4images? If so, is there a tutorial/hack for doing that as well? Because I can't figure out how I would use this or if I need it. My board is only one part of my site, and the entire thing is meant to be fully integrated with vb, so I will likely need this. Just help explain to me how I use it or why it is necessary. Thanks! |
Quote:
This allows you simply get a full url for your css file which is helpfull when your writing your own code for more files that are intergrated outside of vBulletin directory |
Quote:
|
I installed the hack and am using it for my 4images gallery and some custom pages.
The problem I have is that each time I make a change to the style, the URL also changes. So I have to go into each page that links to the style, and edit them one-by-one! Is there any way to... well, to do a dynamic check for a style id? That way you could also have the pages that use this show the page in the style your users have selected. |
It's line 284 in vB 3.0.4's global.php :)
|
[high]* HuangA clicks install
[/high] Thanks :) |
This works fine in 3.5.0b3 as well. ;)
(Well, I took the if out and just use it.) |
Would be nice to make a plugin of this?
|
Too bad vbulletin 3.0 doesn't support plugins ;)
|
Yea what about a 3.5 plugin for it ;)
|
sigh, try searching or my profile in the future https://vborg.vbsupport.ru/showthread.php?t=97298
|
All times are GMT. The time now is 02:54 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:
|