Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Absolute path for vbulletin CSS file Details »»
Absolute path for vbulletin CSS file
Version: 1.0.1, by deathemperor deathemperor is offline
Developer Last Online: Jul 2011 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.6.4 Rating:
Released: 01-04-2007 Last Update: 01-12-2007 Installs: 24
Uses Plugins
 
No support by the author.

This hack was coded by me when I got problems when using "Store CSS Stylesheets as Files?" and use hacks that are placed outside of my vbulletin forum root (e.g: vbadvanced). Using "Store CSS Stylesheets as Files?" reduce my bandwidth and load speed so can't miss it (and I think you should not either).

This hack is created 15mins ago for my need, I thought some of you may need it too (many people use vbadvanced) so I decided to post here.

This hack is useless if you have "Store CSS Stylesheets as Files?" option set to No.

Although I think this hack does not need a demo, here is it anyway: http://download.holvn.org

Installations:

there is no queries run, no db changes, no template edit, just upload "Absolute path for vbulletin CSS file.xml" as a new plugin and everything is done. Simple !

CHANGES: 13 - Jan - 2007: fix the problem when using it with vbadvanced cmps. please reupload the plugin to fix.

Show Your Support

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

Comments
  #12  
Old 01-08-2007, 01:48 AM
alahnae alahnae is offline
 
Join Date: Nov 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

loaded,
all it did was strip the css from the page...it didnt work.

so i went in and unchecked them..theres seems to be two of them ..might have already added this once.? or maybe it added the two

Absolute path for $style[css]
Absolute path for $style[css]

entrys in the plugin list..

we run the vbadvanced and the photopost so..thought maybe it would help someplace..

there is a huge lag when people click on to the gallery though..thats been there for some time now..

I was hoping this would have an effect to fix that..

but nah..
just striped the css off the site..

btw, yes we have 'Store CSS Stylesheets as Files' checked.

thanks anyway.
Reply With Quote
  #13  
Old 01-08-2007, 06:49 PM
Qwest Qwest is offline
 
Join Date: Jun 2004
Location: United States
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall View Post
It will contend nicely with your threadsoup mod then. :P

This modification is highly useful for people who have integrated other applications that reside outside of the forum directory... when Zachery released it for 3.0.x, it was one of the most useful mods available.. and it continues to be so.
If all you say about it's usefulness is true then I now totally understand the blistering pace of it's install rate and rapid ascention to MOTM....
Reply With Quote
  #14  
Old 01-09-2007, 04:51 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Qwest View Post
If all you say about it's usefulness is true then I now totally understand the blistering pace of it's install rate and rapid ascention to MOTM....
Don't be a twit.

Taking a look at Zachery's profile
[3.5.5] Prefix url if storing CSS as a files // 41
[3.0.6] prefix url if store CSS as a file // 17

that's more than all of your installs added together.
Reply With Quote
  #15  
Old 01-13-2007, 12:56 PM
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Location: HOL
Posts: 1,270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've updated this hack so that it won't effect the vbadvanced CMPS. With the photopost gallery this hack has nothing to do with. I'm not sure how it is with vbadvanced gallery tho.

Thanks for those who like this hack and click installed. It is very likely that you don't use a hack on your board not to mention a hack that is outside vbulletin forum directory so of course it's useless to you. As I mentioned above this hack is useful for me, I released it because I thought one or any of the users here may find it useful too. If you think this hack should be removed you can contact a vbulletin.org moderator to remove it for you, I have no problem with that at all .
Reply With Quote
  #16  
Old 02-06-2007, 03:43 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This came in very handy for me since I use two domain names for the same forum, and my stylesheets weren't parsing on the second domain as long as they were stored as files.

Thanks to another hack I was using that wouldn't use vBulletin styles properly unless the CSS was stored in the filesystem, I was in a jam, and the forum was on two domains: one looked awesome, the other white and Times New Roman.

Thanks for this!
Reply With Quote
  #17  
Old 06-20-2007, 12:27 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod was quite useful for me as well. I have custom headers for some programs that run outside the forum folder and this saved me a lot of time.

-vissa
Reply With Quote
  #18  
Old 04-04-2011, 05:02 PM
Marvin Hlavac Marvin Hlavac is offline
 
Join Date: Sep 2007
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is exactly what I need, but I need it for vB 3.8.x. I've spent the past hour playing with it, but it seems to make no difference at all. My css, which is stored as a file, still treats URLs as relative, instead of absolute.

Would someone please be so kind and either point me to a link, or tell me how I could edit the plug in?

Any assistance with this would be greatly appreciated.
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 12:03 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.03939 seconds
  • Memory Usage 2,272KB
  • Queries Executed 22 (?)
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_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
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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