Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
prefix url if store CSS as a file Details »»
prefix url if store CSS as a file
Version: 1.00, by Zachery Zachery is offline
Developer Last Online: May 2017 Show Printable Version Email this Page

Version: 3.0.6 Rating:
Released: 04-05-2004 Last Update: Never Installs: 17
 
No support by the author.

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,

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 07-31-2004, 02:35 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EnriqueHavoc
I still dont understand exactly what this does, could anyone give a clearer description of where, how and why you would use this?
to explain, basically it's like this, when certain spiders index your site, they only do so many lines of your pages source code, saving your css as files cuts down on the space thus allowing for more of your site to get indexed and deemed as relevant. but if you got the comm bull mod installed this will allow you to have html enabled.
Reply With Quote
  #23  
Old 07-31-2004, 07:29 AM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #24  
Old 07-31-2004, 09:04 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SaN-DeeP
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
Do you have the correct board url sandy?
Reply With Quote
  #25  
Old 08-02-2004, 12:49 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you should change the ref of abspath to bburl
Reply With Quote
  #26  
Old 08-02-2004, 01:16 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed for the sheer hell of it..
Reply With Quote
  #27  
Old 09-18-2004, 06:02 AM
SnitchSeeker's Avatar
SnitchSeeker SnitchSeeker is offline
 
Join Date: Sep 2004
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #28  
Old 09-18-2004, 12:36 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SnitchSeeker
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!
We can what?

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
Reply With Quote
  #29  
Old 09-20-2004, 12:06 PM
SnitchSeeker's Avatar
SnitchSeeker SnitchSeeker is offline
 
Join Date: Sep 2004
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
We can what?
Oops! I typed that a bit fast. It should have read "Are you suggesting we can use the vb header to integrate 4images, etc"
Reply With Quote
  #30  
Old 10-14-2004, 10:43 AM
SnitchSeeker's Avatar
SnitchSeeker SnitchSeeker is offline
 
Join Date: Sep 2004
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #31  
Old 01-02-2005, 01:52 PM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's line 284 in vB 3.0.4's global.php
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04390 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete