Log in

View Full Version : adjust path of css selector ?


n1ckn4me
02-15-2005, 05:53 AM
Is there a way to adjust that path of an css selector ?

If this is a crapy question just slap me a few times :p

But, the problem is that I have an image set on the .alt1 background and it shows very well on my board pages but it doesn't show at pages that are outside my board...

any suggestions ?

thanks in advanced :)

sabret00the
02-15-2005, 06:55 AM
theirs a hack by zachery just check his profile and it'll point you int eh right direction :)

Michael Morris
02-15-2005, 08:53 AM
Is there a way to adjust that path of an css selector ?

If this is a crapy question just slap me a few times :p

But, the problem is that I have an image set on the .alt1 background and it shows very well on my board pages but it doesn't show at pages that are outside my board...

any suggestions ?

thanks in advanced :)

Use a str_replace call in the PHPINCLUDE_START template. By default it's set to look for the css at /clientscript/vbulletin_styles

str_replace("/clientscript", "http://www.yoursite.org/forums/clienscript", $style['css']);

That's easier than hacking IMO

n1ckn4me
02-15-2005, 09:50 AM
thanks to you both!

That's easier than hacking IMO

Micheal Morris: I don't fully understand. I've put the code you gave in my PHPINCLUDE_START-template and nothing happend differently...
Do I need to do something else also ?

thanks

n1ckn4me
03-07-2005, 10:59 AM
...could someone backup Michael Morris his advice ?
because I posted the code with my link in the phpincluse_start template but it didn't gave me any result.

OR how do I install Zachery's hack ?

greets nickname,
thanks in advanced

Zachery
03-07-2005, 01:31 PM
...could someone backup Michael Morris his advice ?
because I posted the code with my link in the phpincluse_start template but it didn't gave me any result.

OR how do I install Zachery's hack ?


greets nickname,
thanks in advanced
You can't run it in the phpinclude template AFAIK. (page is rendered far far after)

You can try my hack which is in my profile, instructions are included :)