vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - Absolute path for vbulletin CSS file (https://vborg.vbsupport.ru/showthread.php?t=135623)

deathemperor 01-04-2007 10:00 PM

Absolute path for vbulletin CSS file
 
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.

dj_melayu 01-05-2007 03:20 PM

Installed! What is the purpose for this hacks anyway..I just install and take a test drive..My 'Store CSS Stylesheets as Files' is set to yes..What doest it do? I'm newbie here

bashy 01-05-2007 07:07 PM

You installed this not knowing what it is and the purpose?

ZacUSNYR 01-05-2007 07:22 PM

Quote:

Originally Posted by dj_melayu (Post 1151382)
Installed! What is the purpose for this hacks anyway..I just install and take a test drive..My 'Store CSS Stylesheets as Files' is set to yes..What doest it do? I'm newbie here

Such a simple idea that is needed when running stuff like Photopost or vbadvanced gallery while using external style sheets. Instead of using a relative path to forum root for the .CSS it uses an absolutely (http://www.mydomainname.com/forum/style.css) so it'll display.

ConqSoft 01-05-2007 07:30 PM

vBAdvanced Gallery and CMPS does this automatically....

deathemperor 01-05-2007 11:09 PM

Quote:

Originally Posted by ConqSoft (Post 1151510)
vBAdvanced Gallery and CMPS does this automatically....

you're right, I didn't realize that :P but the other hacks do need this when moving outsite of the forum.

Qwest 01-06-2007 03:46 PM

I nominate this as one of the contenders for most useless hacks of 2007.

Happy New Year.

kall 01-07-2007 06:45 PM

Quote:

Originally Posted by Qwest (Post 1151976)
I nominate this as one of the contenders for most useless hacks of 2007.

Happy New Year.

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.

ConqSoft 01-07-2007 06:48 PM

You should update this to work for the .js references as well.

Smoothie 01-08-2007 12:02 AM

Quote:

Originally Posted by Qwest (Post 1151976)
I nominate this as one of the contenders for most useless hacks of 2007.

Happy New Year.

LOL.


All times are GMT. The time now is 02:06 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.01081 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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