vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   prefix url if store CSS as a file (https://vborg.vbsupport.ru/showthread.php?t=63520)

Zachery 04-05-2004 10:00 PM

prefix url if store CSS as a file
 
open global.php

find

PHP Code:

define('STYLEID'$style['styleid']); 

add under

PHP Code:

 
if ($vboptions['storecssasfile']) 

    
$style['css'] = str_replace('clientscript'"$vboptions[bburl]/clientscript"$style['css']); 


save and close global.php


Yes, im stil using it on my RC4 with no problems, i made a change,

Arsenik 04-06-2004 03:14 AM

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?

Zachery 04-06-2004 03:46 AM

YEs im still using it on my RC4, i changed it abit, see if it works now

Kentaurus 04-06-2004 04:07 AM

Quote:

Originally Posted by Zachery
open global.php

find

PHP Code:

define('STYLEID'$style['styleid']); 

add under

PHP Code:

 
if ($vboptions['storecssasfile']) 

    
$style['css'] = str_replace('clientscript'"$vboptions[abspath]/clientscript"$style['css']); 


save and close global.php


Yes, im stil using it on my RC4 with no problems, i made a change,

Sorry... what is this useful for?

Zachery 04-06-2004 04:20 AM

Ive had a few users request it for varius reasons at vBulletin.com :) <shurgs> developing self made appications that use the template system?

burnz 04-06-2004 01:29 PM

$vboptions[bburl] is better that $vboptions[abspath]

Zachery 04-06-2004 03:41 PM

Quote:

Originally Posted by burnz
$vboptions[bburl] is better that $vboptions[abspath]

Really? thats what Kier gave me :P

burnz 04-06-2004 04:06 PM

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

buro9 04-06-2004 07:31 PM

Quote:

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

I was trying to figure out why this hadn't been an issue for me... and then I stumbled upon this in the HTML:

<base href="http://www.bowlie.com/forum/" />

:)

Arsenik 04-06-2004 10:03 PM

Perfect! It now works :nervous: Thanks Zachery.


All times are GMT. The time now is 03:10 PM.

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.01127 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete