vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   adjust path of css selector ? (https://vborg.vbsupport.ru/showthread.php?t=76353)

n1ckn4me 02-15-2005 05:53 AM

adjust path of css selector ?
 
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

Quote:

Originally Posted by n1ckn4me
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

PHP Code:

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!

Quote:

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

Quote:

Originally Posted by n1ckn4me
...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 :)


All times are GMT. The time now is 03:59 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
  • Page Generation 0.01046 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete